https://bugs.kde.org/show_bug.cgi?id=508284
Bug ID: 508284
Summary: Wayland: Mouse click events are offset on 60Hz monitor
with mixed-refresh-rate setup (144Hz+60Hz), but
temporarily fixable by mode switching
Classification: Plasma
Product: kwin
Version First 6.4.4
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 184100
--> https://bugs.kde.org/attachment.cgi?id=184100&action=edit
Display configuration from kscreen-doctor -o
Hello, I am experiencing an issue with mouse click registration in some
applications (like Obsidian, which is Electron-based) under a Wayland session
with a multi-monitor, mixed-refresh-rate setup. Clicks are ignored or offset,
making certain UI elements unusable.
**System Information:**
- Operating System: CachyOS Linux
- KDE Plasma Version: 6.4.4
- Graphics Platform: Wayland
- Graphics Processor: AMD Radeon RX 580
- Monitors:
- Primary: AOC 27G2G4 (27", 1920x1080 @ 144Hz)
- Secondary: HP 24yh (24", 1920x1080 @ 60Hz)
**Steps to Reproduce the Bug:**
1. Start a Plasma Wayland session with one monitor at 144Hz and the other at
60Hz.
2. Open an application like Obsidian on the 60Hz monitor.
3. Attempt to click on UI elements, for example, the settings and help buttons
in the bottom-left corner.
4. Observe that the clicks are not registered. The issue does not occur when
the window is on the 144Hz monitor.
**Key Finding - Temporary Workaround and State Management Issue:**
The bug can be temporarily resolved, which points to a state management issue
in KWin:
1. Go to System Settings -> Display and Monitor.
2. Change the 144Hz monitor's refresh rate to 60Hz. Apply.
3. Clicks in Obsidian on the 60Hz monitor now work correctly.
4. Immediately change the monitor's refresh rate back to 144Hz. Apply.
5. For a short period after this, clicks in Obsidian on the 60Hz monitor
continue to work correctly.
6. After some time, or after closing and reopening the application, the bug
returns and clicks are ignored again.
This behavior strongly suggests an issue in how KWin handles the state
transition after a display mode change (modeset) in a mixed-refresh-rate
environment.
The problem is fully resolved by setting both monitors to 60Hz and
rebooting/relogging, but this prevents me from using the 144Hz capability of my
main monitor.
--
You are receiving this mail because:
You are watching all bug changes.