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

            Bug ID: 528820
           Summary: KWin Wayland: clicks and hover go to the desktop
                    instead of windows and panel (cursor moves, evtest
                    sees clicks); kwin_wayland --replace fixes it
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 198445
  --> https://bugs.kde.org/attachment.cgi?id=198445&action=edit
KWin supportInformation

In a Plasma 6.8.2 Wayland session, the pointer moves but windows and the panel
stop reacting to hover and clicks. A click on an app window acts like a click
on the empty desktop (the desktop context menu appears over an open Dolphin
window). Desktop icons respond normally. The keyboard works. The kernel
receives every click (evtest shows BTN_LEFT press and release). Restarting
plasmashell does not help; restarting KWin with kwin_wayland --replace does.

Steps to reproduce (not fully deterministic)

1.Reboot or cold boot. At the Plasma Login Manager screen, don’t touch the
mouse. Log in using only the keyboard.
2. In the session, hover and click on the panel and on windows.
      - Broken 3 out of 3 attempts.
      - If I first click anywhere on the login screen, then log in: works 3 out
of 3.

It also happens intermittently after gaming (CS2 and WoW via Wine/Heroic) on
the main monitor. The mouse still works inside the game, but nowhere else.

Expected: the pointer focuses and clicks windows and the panel normally.

What I ruled out

- A fresh test user: same bug.
- SDDM instead of Plasma Login Manager: same bug.
- Only one monitor connected: same bug.
- Kernel 7.3.4-1 and linux-cachyos-lts 6.18.60: same bug.
- KWin 6.8.2-2.1 and the older 6.8.2-1.1: same bug.
- A stuck mouse button: pressing every button didn’t help.
- Hardware: evtest shows correct events, and KWin’s DBus InputDevice for the
mouse reports enabled = true.
- plasmashell restart: doesn’t help. kwin_wayland --replace: fixes it.

Logs: nothing obviously wrong. The user journal only has “Input method is
trying to show itself but without a context. Aborting.” and “This plugin does
not support setting window masks”. The plasmalogin journal shows a clean
handoff to the session.

System

CachyOS x86_64, Plasma 6.8.2, KWin 6.8.2-2.1, Wayland
Frameworks 6.31.0, Qt 6.12.0
Kernel 7.3.4-1-cachyos
Ryzen 7 7800X3D, Radeon RX 7700 XT (plus the Radeon 610M iGPU), two monitors:
24G2W1G4 at 144 Hz on DP-3 and SA220Q at 60 Hz on HDMI-A-1
Mouse: Redragon Pegasus M705

Possibly related: bug 497647 and bug 506546, both closed without a fix.

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

Reply via email to