Infeasible
Status Update
Comments
uc...@google.com <uc...@google.com>
es...@google.com <es...@google.com>
sa...@google.com <sa...@google.com>
aa...@google.com <aa...@google.com> #2
Hey, sorry for coming back to this so late. We've never seen this. Without any repro steps it's going to be hard to do anything about it.
We've some cases where the Gradle daemon gets started but Studio cannot connect to it and the Studio side Gradle code handling connection to the daemon will keep spawning new ones if the connection does not get established. In this instance though the fact that the build window shows all these daemon running means that this is a different problem.
Description
AI-191.8026.42.35.5791312, JRE 1.8.0_202-release-1483-b49-5587405x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.6, screens 1440x2560, 2560x1440; Retina
AS: 3.5; Android Gradle Plugin: 3.5.0; Gradle: 5.4.1; NDK: from local.properties: UNKNOWN, latest from SDK: (not found); LLDB: LLDB 3.1 (revision: 3.1.4508709); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: (not found)
Description:
Executing a system-level custom keyboard shortcut in Mac OS, tied to a particular drop down menu item in Android Studio, won't work unless the drop down menu window is visible.
The following link describes what this system setting is and how to set it up:
Steps to reproduce:
- Go to System Preferences > Keyboard, then go to the Shortcuts tab and select "App Shortcuts"
- Add a new app shortcut with the "+" icon and fill in the details:
- Application: Android Studio
- Menu Title: "Attach Debugger to Android Process"
- Keyboard shortcut: Cmd + Shift + D
- (Note: this can be achieved with any menu item in Android Studio that doesn't have a keymap record)
- Go into Android Studio preferences > Keymap, then delete all existing keyboard shortcuts for Cmd + Shift + D
- Execute the keyboard shortcut
Expected behavior:
- The global shortcut should execute the drop down menu item within Run > Attach Debugger to Android Process and the "Choose process" window should appear
Actual behavior:
- The "Run" menu item is highlighted blue, as if it was clicked, but the "Choose Process" never shows.
- If you manually click the "Run" menu item to reveal the drop down menu, and then execute the keyboard shortcut, it works as expected.
Android Studio Notes:
- This does not hang the UI or run out of IDE memory
Note: This is not specific to the "Run > Attach Debugger..." menu item. The same behavior applies for any given shortcut and any given menu item (as long as the keyboard shortcut doesn't previously exist in the keymap preferences).