https://bugs.kde.org/show_bug.cgi?id=500529
Bug ID: 500529 Summary: On switching virtual desktop and back, xwayland windows lose focus/change stacking order Classification: Plasma Product: kwin Version: git master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: xwayland Assignee: kwin-bugs-n...@kde.org Reporter: fanzhuyi...@gmail.com Target Milestone: --- Created attachment 178692 --> https://bugs.kde.org/attachment.cgi?id=178692&action=edit kwin Focus settings SUMMARY On switching virtual desktop and back, xwayland windows lose focus/lose stacking order STEPS TO REPRODUCE 1. set up multiple virtual desktops on wayland 2. launch a wayland window (e.g., konsole) 3. launch a xwayland window (e.g., QT_QPA_PLATFORM=xcb okular) 4. make sure xwayland window is in front and has focus 5. use shortcut or swipe, switch to another virtual desktop 6. use shortcut or swipe, switch back OBSERVED RESULT The xwayland window loses its focus/stacking order. This could be verified in two ways 1. typing, and check that what is typed shows up in konsole (wayland window) 2. or pressing alt+tab and checking order of windows there EXPECTED RESULT The xwayland window does not lose focus/stacking order. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.12.0 Qt Version: 6.9.0 Kernel Version: 6.12.15-1-lts (64-bit) Graphics Platform: Wayland Processors: 20 × 13th Gen Intel® Core™ i9-13900H Memory: 15.2 GiB of RAM Graphics Processor 1: Mesa Intel® Graphics Graphics Processor 2: llvmpipe Manufacturer: ASUSTeK COMPUTER INC. Product Name: ROG Zephyrus G16 GU603VV_GU603VV System Version: 1.0 ADDITIONAL INFORMATION Focus settings attached. I only notice this with xwayland windows, and not with wayland windows. This causes minor annoyances when constantly switching between different virtual desktops for different tasks. -- You are receiving this mail because: You are watching all bug changes.