Allow interaction with first Android Studio dialog ("Send usage statistics") by adjusting JetBrains window rules #2899
+7
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes a usability issue where the first Android Studio dialog (“Send usage statistics” / “Don’t send”) cannot be interacted with under Omarchy.
Problem
Omarchy’s JetBrains window rules (
nofocusandnoinitialfocus) currently apply to all windows with empty or space-only titles.Android Studio’s first dialog has an empty title, so focus and click events are blocked, making the buttons unresponsive.
Solution
Add exceptions for dialogs with empty titles, allowing them to receive focus and input:
Existing rules for title:^\s$ (single space) remain, preserving tab-dragging behavior in JetBrains IDEs.
Testing
Verified that the “Send usage statistics” dialog is now clickable.
Tab-dragging behavior in JetBrains IDEs remains unaffected.
Tested across Android Studio and IntelliJ IDEA on Omarchy 3.0.1 with Hyprland.
Related Issue
#2898
Before
After