Skip to content

fix(launcher): allow Qt Quick active focus and remove stale user quickshell shadowing - #143

Merged
berlin-566 merged 1 commit into
mainfrom
fix/launcher-focus-hotkey
Oct 15, 2026
Merged

berlin-566 merged 1 commit into
mainfrom
fix/launcher-focus-hotkey

Conversation

@berlin-566

Copy link
Copy Markdown
Member

Description

Fixes two issues where opening the application launcher via hotkey (Mod+Space / agl toggle launcher) required a mouse click before typing or arrow key navigation worked:

  1. Qt Quick Active Focus Blocked by focusable: false:
    Setting focusable: false on Quickshell's PanelWindow disabled Qt Quick's internal window focus manager. As a result, even when Wayland granted exclusive layer-shell keyboard interactivity, activeFocus was withheld from all child elements (ThemedSearchBar, searchInput). Removing focusable: false allows Wayland keyboard focus to drive Qt Quick item focus directly to ThemedSearchBar.
  2. Installation Shadowing:
    scripts/install.sh now automatically removes obsolete ~/.config/agility-shell/quickshell so running install.sh or updates properly use system-wide /usr/share/agility-shell/quickshell without being shadowed by stale user config directories.

Testing & Verification

  • Verified opening launcher via agl toggle launcher immediately grants activeFocus: true to ThemedSearchBar.searchInput.
  • Verified typing with synthetic input (wtype) immediately updates search query without mouse clicks.
  • Verified Up and Down arrow keys navigate items circularly.
  • Verified Escape dismisses the launcher.

@berlin-566
berlin-566 merged commit 9088972 into main Oct 15, 2026
1 check passed
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.

1 participant