Status Update
Comments
mu...@gmail.com <mu...@gmail.com> #2
rm...@google.com <rm...@google.com> #3
From the log:
2024-08-23 08:24:16,009 [70180461] INFO - sun.awt.AWTThreading - InvocationEvent has timed out (awaiting 2000 ms). Originated at java.desktop/sun.lwawt.macosx.CAccessibility.getAccessibleRole(Unknown Source)
2024-08-23 08:24:16,423 [70180875] WARN - #c.i.d.PerformanceWatcherImpl - UI was frozen for 7314ms, details saved to /Users/bhergert/Library/Logs/Google/AndroidStudio2024.1/threadDumps-freeze-20240823-082414-AI-241.18034.62.2412.12169539-ComponentManagerImpl$getComponentAdapter$1.invoke-7sec
2024-08-23 08:24:21,005 [70185457] INFO - sun.awt.AWTThreading - InvocationEvent has timed out (awaiting 1023 ms). Originated at java.desktop/sun.lwawt.macosx.CAccessibility.accessibilityHitTest(Unknown Source)
2024-08-23 08:24:23,000 [70187452] INFO - sun.awt.AWTThreading - InvocationEvent has timed out (awaiting 1995 ms). Originated at java.desktop/sun.lwawt.macosx.CAccessibility.getAccessibleRole(Unknown Source)
2024-08-23 08:24:25,005 [70189457] INFO - sun.awt.AWTThreading - InvocationEvent has timed out (awaiting 2002 ms). Originated at java.desktop/sun.lwawt.macosx.CAccessibility.accessibilityHitTest(Unknown Source)
2024-08-23 08:24:25,256 [70189708] WARN - #c.i.d.PerformanceWatcherImpl - UI was frozen for 8741ms, details saved to /Users/bhergert/Library/Logs/Google/AndroidStudio2024.1/threadDumps-freeze-20240823-082421-AI-241.18034.62.2412.12169539-AndroidPsiTreeChangeListener.computeModulesToInvalidateAttributeDefinitions-8sec
2024-08-23 08:24:28,006 [70192458] INFO - sun.awt.AWTThreading - InvocationEvent has timed out (awaiting 1245 ms). Originated at java.desktop/sun.lwawt.macosx.CAccessibility.accessibilityHitTest(Unknown Source)
2024-08-23 08:24:30,003 [70194455] INFO - sun.awt.AWTThreading - InvocationEvent has timed out (awaiting 1997 ms). Originated at java.desktop/sun.lwawt.macosx.CAccessibility.getAccessibleRole(Unknown Source)
2024-08-23 08:24:32,004 [70196456] INFO - sun.awt.AWTThreading - InvocationEvent has timed out (awaiting 1999 ms). Originated at java.desktop/sun.lwawt.macosx.CAccessibility.accessibilityHitTest(Unknown Source)
2024-08-23 08:24:33,614 [70198066] WARN - #c.i.d.PerformanceWatcherImpl - UI was frozen for 8220ms, details saved to /Users/bhergert/Library/Logs/Google/AndroidStudio2024.1/threadDumps-freeze-20240823-082430-AI-241.18034.62.2412.12169539-HashMap.putVal-8sec
Do you still have the thread dumps in ~/Library/Logs/Google/AndroidStudio2024.1/
? If yes, can you please attach them?
Also, do you have any accessibility features enabled? Because I see various calls to java.desktop/sun.lwawt.macosx.CAccessibility
flagged for timeouts.
rp...@google.com <rp...@google.com> #4
tr...@gmail.com <tr...@gmail.com> #5
I checked under Settings > Appearance > Accessibility and nothing is enabled. Is there anywhere else I should check?
ry...@gmail.com <ry...@gmail.com> #6
I'm not sure, I just can't get to reach the CAccessibility.accessibilityHitTest
method (running under a debugger). But in any case, it doesn't seem like it is causing the freeze, quite the opposite: it's giving up posting the AWT event because the UI is frozen.
All three freeze reports point to similar stacks in the AWT thread:
at java.base@17.0.11/java.util.HashSet.add(Unknown Source)
at com.intellij.util.graph.impl.GraphAlgorithmsImpl.collectOutsRecursively(GraphAlgorithmsImpl.java:141)
at org.jetbrains.android.util.AndroidUtils.getSetWithBackwardDependencies(AndroidUtils.java:603)
at com.android.tools.idea.res.AndroidPsiTreeChangeListener.computeModulesToInvalidateAttributeDefinitions(AndroidPsiTreeChangeListener.kt:228)
at com.android.tools.idea.res.AndroidPsiTreeChangeListener.childrenChanged(AndroidPsiTreeChangeListener.kt:151)
at com.intellij.psi.impl.PsiManagerImpl.notifyPsiTreeChangeListener(PsiManagerImpl.java:414)
at com.intellij.psi.impl.PsiManagerImpl.fireEvent(PsiManagerImpl.java:357)
at com.intellij.psi.impl.PsiManagerImpl.childrenChanged(PsiManagerImpl.java:306)
at com.intellij.pom.tree.events.impl.ChangeInfoImpl.childrenChanged(ChangeInfoImpl.java:122)
at com.intellij.pom.tree.events.impl.ChangeInfoImpl.fireEvent(ChangeInfoImpl.java:72)
at com.intellij.pom.tree.events.impl.TreeChangeImpl.fireEvents(TreeChangeImpl.java:143)
at com.intellij.pom.tree.events.impl.TreeChangeEventImpl.fireEvents(TreeChangeEventImpl.java:130)
at com.intellij.pom.wrappers.PsiEventWrapperAspect.update(PsiEventWrapperAspect.java:32)
at com.intellij.pom.core.impl.PomModelImpl.updateDependentAspects(PomModelImpl.java:167)
[...]
(corresponding internal
There were two more freeze reports in the attached archive (thanks!) which point to
al...@gmail.com <al...@gmail.com> #8
vi...@gmail.com <vi...@gmail.com> #9
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 3
- Android Gradle Plugin 8.8.0-alpha03
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
hr...@gmail.com <hr...@gmail.com> #10
Android Studio Koala | 2024.1.1 Patch 1
Fedora Linux 39 - Gnome 45.8.1 - Wayland
1 - Sometimes when I copy code from Android Studio and try to paste on another code (another Android Studio tab) or even in the same tab, the content doesn't paste.
2 - Other times Android Studio stays with old content and don't use the new content that is on OS clipboard.
ra...@google.com <ra...@google.com>
ra...@google.com <ra...@google.com> #11
I can easily get into a broken state w.r.t. copy-paste behavior on my Linux machine, after running the app on an [embedded] emulator.
sp...@google.com <sp...@google.com> #12
What are the steps to reproduce it?
ra...@google.com <ra...@google.com> #13
For me the scenario seems to be:
- copy some text from a Chrome tab, paste into Studio => it works
- run the app on the emulator, click to select some text in there, copy and paste it somewhere else in the app
- (same as 1) copy some text from a Chrome tab, paste into Studio => get text copied in step 2.
- switch to IntelliJ and paste => get the text from step 3. Studio keeps getting the text in step 2.
sp...@google.com <sp...@google.com> #14
Is the Running Devices window still open at step 3? Does anything change if you close it?
ra...@google.com <ra...@google.com> #15
Nothing changes if I close it. Just did, and now I can't paste anything into Studio until I restart the IDE.
sp...@google.com <sp...@google.com>
sp...@google.com <sp...@google.com>
sp...@google.com <sp...@google.com>
an...@google.com <an...@google.com> #16
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 1
- Android Gradle Plugin 8.8.0-alpha01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
an...@google.com <an...@google.com> #17
The fixes for this issue are now also available in:
- Android Studio Meerkat | 2024.3.1 Canary 5
- Android Gradle Plugin 8.9.0-alpha05
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Description
Scenarios:
1) Copy some text from anywhere outside the Android Studio (like browser/android Apps/other Linux apps...), try to paste anywhere in Android Studio (Dialogue box/Editor/terminal...) : NOT WORKING.
2) Copy some text from Android Studio, try to paste in android studio : NOT WORKING.
But the copied text is present in Clipboard. Checked by pressing Ctrl+Shift+V in Android Studio to show clipboard history.
3) Copy some text from Android Studio, try to paste outside Android Studio (like browser/android Apps/other Linux apps...) : WORKING FINE.
Android Studio Version : 3.4.1.
Device : Google Pixelbook (i5 7th Gen, 8Gb, 128Gb)
OS : ChromeOS
NOTE:
1) Not sure if it is an Android Studio Bug. Before updating to Android Studio 3.4.1, copy & paste is working very well without any bug in the same device.
2) Copy & Paste is working in Other Linux Apps. (Like Visual Studio Code, Terminal : by using Ctrl+Shift+V )
TRIED TROUBLE SHOOTS:
1) Uninstalled Android Studio.
2) Performed a Powerwash in Pixelbook.
3) Installed Android Studio again.
Still no use.
Build: 3.4.1, AI-183.6156.11.34.5522156, 201905012035, AI-183.6156.11.34.5522156, JRE 1.8.0_152-release-1343-b16-5323222x64 JetBrains s.r.o, OS Linux(amd64) v4.19.44-04905-gdcd4527c595a, screens 2400x1600Android Gradle Plugin: 3.4.1Gradle: 5.1.1NDK: from local.properties: (not specified); latest from SDK: (not found); LLDB: pinned revision 3.1 not found; latest from SDK: (package not found); CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: (not found); Source: user_sentiment_feedback IMPORTANT: Please read