Skip to content

fix(kwin): match the real capsule window class in the switcher rule - #72

Merged
ElbertePlinio merged 1 commit into
mainfrom
fix/49-kwin-wmclass-case
Jul 24, 2026
Merged

fix(kwin): match the real capsule window class in the switcher rule#72
ElbertePlinio merged 1 commit into
mainfrom
fix/49-kwin-wmclass-case

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Root cause: KWin matches wmclass case-sensitively, but the managed rule wrote lowercase pickgauge; stale installed rules also skipped rewrites once marked current.

Evidence: A live KWin Wayland audit on the target machine reported the float window class exactly as Pickgauge.

Validation: cargo test --manifest-path src-tauri/Cargo.toml kwin passed (8 tests); node tests/install-script-smoke.mjs passed (4 tests); dash -n and git diff --check passed.

Refs #49

🤖 Generated with Claude Code

KWin matches wmclass values case-sensitively, so the lowercase rule never matched the runtime GTK class. Use the hardware-verified KDE Wayland class and rewrite stale managed rules on upgrade.

Refs #49
@ElbertePlinio
ElbertePlinio merged commit 9913980 into main Jul 24, 2026
6 of 8 checks passed
@ElbertePlinio
ElbertePlinio deleted the fix/49-kwin-wmclass-case branch July 24, 2026 00:23
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