[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 Nate Graham changed: What|Removed |Added Status|RESOLVED|REPORTED Resolution|DUPLICATE |--- --- Comment #7 from Nate Graham --- Ok, maybe it's not that, then. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 --- Comment #6 from Andrei Amuraritei --- Forgot to mention that Plasma was updated to 5.27.5 in the mean time. Nate, could you detail why you think this is a duplicate of 466149? I am not following that. Or, in my case, for the Wayland session, the primary screen remains primary (DELL) and is always XWAYLAND0 and it is currently set at pos 0x0. Then the other screen is SAMSUNG, at pos +2560 and remains there. The primary thing does not change as far as I can see, xrandr always says primary is XWAYLAND0 (maybe because it should be fixed with 5.27.5). However as noted, the SAMSUNG screen gets a new XWAYLAND ID every time I power it on. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 Nate Graham changed: What|Removed |Added Resolution|--- |DUPLICATE Status|REPORTED|RESOLVED --- Comment #5 from Nate Graham --- Ahh then this is Bug 466149. *** This bug has been marked as a duplicate of bug 466149 *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 --- Comment #4 from Andrei Amuraritei --- Hi Nate, thanks for your input. The most annoying issue was having the xwayland client getting frozen or dissapearing (in this case a game window). Then focus/input being stolen from the active window. Since opening this report, I have also done more testing and I do not have the issue of the xwayland window dissapearing. My main guess is that I have cleared my ~/.local/share/kscreen folder and this fixed the issue. While testing support of amdgpu for the 7900XTX GPU, I guess there was some kscreen configs present that broke xwayland (I have several issues opened on the amdgpu gitlab and currently for Debian 12, support is pretty bad for 7900XTX GPU with current 6.1 LTS kernel). So, good news, xwayland client does not die anymore, however, when a xwayland client window is active and I power on my SAMSUNG HDMI screen, the input or focus goes away from the active window. I think this is still relevant for this bug report. I also observe that each time I turn off and on the SAMSUNG screen, xrandr shows me a different XWAYLAND ID, example from XWAYLAND1 to XWAYLAND2 etc. Why does this happen (assuming the screens remain the same, so the active kscreen config does not change)? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 Nate Graham changed: What|Removed |Added Keywords||multiscreen, wayland CC||n...@kde.org Platform|Debian testing |Other --- Comment #3 from Nate Graham --- > no Window moving from active screen to the other and back. > No changing focus from screen to screen. Generally this is caused by X11 or XWayland-using apps that inappropriately try to track the active screen. When a new screen is plugged in, the active screen can change, which can trigger faulty logic in these apps. It's especially common in games, unfortunately. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 Andrei Amuraritei changed: What|Removed |Added Platform|Other |Debian testing -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 --- Comment #2 from Andrei Amuraritei --- Also tested with Gnome Wayland, shell version 43.4 and the same game (ex, FFXIV with Wine via Lutris), closes like on the KDE Wayland session. I have also tested running a native Linux version of a game, and it does not close however when the other screen is powered on, desktop flickers and the game window switches from borderless/fullscreen to where taskbar is visible (position top) and game loses focus (input). -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 470329] Monitor power on / off results in stolen input and broken xwayland clients
https://bugs.kde.org/show_bug.cgi?id=470329 --- Comment #1 from Andrei Amuraritei --- I have tested this further with: Sway wayland, the same game (ex, FFXIV with Wine via Lutris) does not die in that session when turning on the HDMI screen. Plasma X11, the same game (ex, FFXIV with Wine via Lutris), does not die but the window gets switched (moved?) from fullscreen , where the taskbar is visible at the top and focus on the game stays. Also tested with an older kernel from Debian, 6.1.0-3-amd64, so maybe not drm/amd related. -- You are receiving this mail because: You are watching all bug changes.