Created attachment 184100 [details] 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.
I'm not able to reproduce this in git-master, with Obsidian Notes, Tidal or Discord Laptop 3840 x 2400 @ 150% 60Hz External monitor 3440 x 1440 @ 100% 144Hz - connected via USB-C dock One via Displayport one via HDMI I'll leave this open so others can try to reproduce