https://bugs.kde.org/show_bug.cgi?id=522681

            Bug ID: 522681
           Summary: Titlebar buttons unresponsive after quick tiling —
                    clicks start window drag instead; hover works; only
                    focus change via Alt+Tab restores (Wayland)
    Classification: Plasma
           Product: kwin
      Version First 6.6.5
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
After quick-tiling a window (Meta+Arrow), clicks on the titlebar button zone
stop working on ALL windows — native KDE apps (Dolphin, Konsole) with
server-side decorations, as well as Electron/CSD apps. Clicking
minimize/maximize/close (or in-app buttons located at titlebar height in CSD
apps) starts an interactive window MOVE instead: the window turns translucent
as if dragged by the titlebar. 

Key observations:
- Hover still works during the bug (menus unfold on mouse-over, buttons
highlight) — only button-press events are misrouted.
- Clicks inside the window content work normally; windows can still be moved
and re-tiled. Keyboard fully unaffected.
- Clicking inside the window (activating it by pointer) does NOT fix it.
- Alt+Tab away and back fixes it instantly, every time.
- Sometimes it also resolves alone after some delay.

STEPS TO REPRODUCE
1. Quick-tile any window with Meta+Left/Right/Up/Down (may need several
repetitions to trigger)
2. Click its close/minimize/maximize button

OBSERVED RESULT
Click falls through to the titlebar drag action; window starts an interactive
move (becomes translucent). Button never activates.

EXPECTED RESULT
Button activates.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 26.04
KDE Plasma Version: 6.6.4 and 6.6.5 (reproduced on both)
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Graphics Platform: Wayland
GPU: NVIDIA RTX 5060, driver 595.71.05 (open kernel modules)
Setup: 3 monitors

ADDITIONAL INFORMATION — already ruled out
- Reproduced on factory-default configuration: full Plasma config purge
(~/.config/plasma*, kwin*, kdeglobals, kglobalshortcutsrc) AND cleared caches
(~/.cache/plasma*, kwin*, shader caches) — bug persists.
- kwin packages reinstalled — persists. Upgraded 6.6.4 → 6.6.5 — persists.
- No third-party KWin scripts or effects (ShapeCorners and Krohnkite fully
removed, verified via loadedEffects and journal).
- "Separate screen focus" disabled — no change.
- No overlapping/ghost window: hover events reach the app under the cursor.
- Survives kwin_wayland restart and full session relogin.
- No package updates coincide with the regression onset; the same system worked
fine for weeks before.
- Possibly related to commit 032b4242 ("Prevent activating window after
pressing close button in titlebar", 2026-06-05, not in 6.6.5): symptom matches
decoration button events being consumed by window actions — however,
pointer-activation not fixing it (while Alt+Tab does) may indicate a distinct
focus-state issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to