Skip to content

Conversation

@AdamMusa
Copy link
Contributor

@AdamMusa AdamMusa commented Oct 27, 2025

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 (nofocus and noinitialfocus) 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:

windowrulev2 = unset,nofocus,class:^(.*jetbrains.*)$,title:^$
windowrulev2 = unset,noinitialfocus,class:^(.*jetbrains.*)$,title:^$

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

bug_3
bug
bug_1

After

fix_4
fix_5

fix_2
fix_3

fix_6
fix
fix_1

AdamMusa and others added 2 commits October 27, 2025 07:48
… unsetting nofocus rules for empty-title windows
Updated window rules for JetBrains applications to allow focus and interaction with dialogs.
@dhh dhh changed the base branch from master to dev October 28, 2025 07:37
@dhh dhh merged commit 62cdece into basecamp:dev Oct 28, 2025
@AdamMusa AdamMusa deleted the fix_jetbrains_conf branch October 28, 2025 08:04
SamrudhNelli pushed a commit to SamrudhNelli/omarchy that referenced this pull request Oct 28, 2025
…stics") by adjusting JetBrains window rules (basecamp#2899)

* fix(jetbrains.conf): allow focus for Android Studio’s first dialog by unsetting nofocus rules for empty-title windows

* Refactor window rules for JetBrains apps

Updated window rules for JetBrains applications to allow focus and interaction with dialogs.

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
marxin pushed a commit to marxin/omarchy that referenced this pull request Oct 28, 2025
…stics") by adjusting JetBrains window rules (basecamp#2899)

* fix(jetbrains.conf): allow focus for Android Studio’s first dialog by unsetting nofocus rules for empty-title windows

* Refactor window rules for JetBrains apps

Updated window rules for JetBrains applications to allow focus and interaction with dialogs.

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
guirossibrum pushed a commit to guirossibrum/ArchGui that referenced this pull request Oct 30, 2025
…stics") by adjusting JetBrains window rules (basecamp#2899)

* fix(jetbrains.conf): allow focus for Android Studio’s first dialog by unsetting nofocus rules for empty-title windows

* Refactor window rules for JetBrains apps

Updated window rules for JetBrains applications to allow focus and interaction with dialogs.

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
moWerk pushed a commit to moWerk/omarchy that referenced this pull request Oct 31, 2025
…stics") by adjusting JetBrains window rules (basecamp#2899)

* fix(jetbrains.conf): allow focus for Android Studio’s first dialog by unsetting nofocus rules for empty-title windows

* Refactor window rules for JetBrains apps

Updated window rules for JetBrains applications to allow focus and interaction with dialogs.

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
malik-na pushed a commit to malik-na/omarchy-mac that referenced this pull request Nov 1, 2025
…stics") by adjusting JetBrains window rules (basecamp#2899)

* fix(jetbrains.conf): allow focus for Android Studio’s first dialog by unsetting nofocus rules for empty-title windows

* Refactor window rules for JetBrains apps

Updated window rules for JetBrains applications to allow focus and interaction with dialogs.

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants