Bug 479719

Summary: xwayland/xwayland applications do not handle monitor hotplug/resolution adjusting
Product: [Plasma] kwin Reporter: kde
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: john.kizer, kde, miranda, nate, xaver.hugl
Priority: NOR Keywords: multiscreen, wayland-only
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=406800
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde 2024-01-13 05:13:32 UTC
SUMMARY
***
applications using X11 in a Wayland session report incorrect cursor position in moves, if multiple X11 windows are open mouse targeting/keystrokes are often directed to the wrong window. problem is magnified if multiple screens are active.
***

this _may_ be a reappearance of https://bugs.kde.org/show_bug.cgi?id=406800

STEPS TO REPRODUCE
1. system starts with initial 720x1280 (native, I have KDE run with rotation) display
2. I dock the machine to a dock with 3440x1440, 2560x1440 displays
3. launch a complex application using Xwayland (chrome, firefox are good for this)
4. either launch another complex app or open a new window

OBSERVED RESULT
Input goes to the wrong windows, if trying to move windows using the titlebar, cursor jumps to the top and left. This is also especially notable if trying to scroll in windows, since they don't need to be active to receive scroll events.

EXPECTED RESULT
Inputs land on the focused window or window over the cursor.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 39/KDE Plasma 5.27.10
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-06-18 06:11:00 UTC
Hi - since a lot of code has changed with the release of Plasma 6 and its subsequent updates, could I please ask you to check if this still occurs on an updated Plasma installation?

Thanks!
Comment 2 Bug Janitor Service 2025-07-03 03:47:23 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-07-18 03:47:15 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.