https://bugs.kde.org/show_bug.cgi?id=495325
Bug ID: 495325 Summary: Blender intermittently stops receiving mouse/keyboard input on focus once keyboard shortcut for Lockscreen/Sleep is used. Classification: Plasma Product: kwin Version: 6.2.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: sauce...@protonmail.com Target Milestone: --- Created attachment 175206 --> https://bugs.kde.org/attachment.cgi?id=175206&action=edit Video of Blender not focusing SUMMARY In KDE Wayland post Plasma 6.2.0, if I use the Lockscreen or Sleep keyboard shortcuts to lock the screen, Blender will more often than not stop responding to keyboard or mouse inputs if it loses and regains focus, see video attached. The window still gains focus, but Blender itself doesn't register the keys. When this happens, this is repeatedly printed in the journal > blender[41890]: WARN (ghost.wl.keyboard.depressed): > intern/ghost/intern/GHOST_SystemWayland.cc:7501 getModifierKeys: modifier > (OS) state is inconsistent (GHOST released keys do not match XKB) It only happens if I use the keyboard shortcuts. If I manually go to the application launcher and sleep/lockscreen, it doesn't happen. Other keyboard shortcuts, like ALT+TAB also don't cause any issues. To fix it, i have to log out and log in, or do a kwin_wayland --replace. Restarting Blender doesn't fix it. Relocking the screen again reintroduces the issue. This bug started happening in Plasma 6.2.0. STEPS TO REPRODUCE 1. Open Blender (Bug happens even if Blender is closed while locking/sleep) 2. Lock Screen/Sleep through keyboard shortcut 3. Unlock screen, and try to click on the Blender viewport, or try to zoom in/out using scrollwheel. 4. Try unfocusing Blender window, then refocusing and try to click or scroll in the blender window. OBSERVED RESULT Blender will sometimes not respond to mouse clicks/scrolls and keyboard input EXPECTED RESULT Blender should respond to mouse clicks/scrolls and keyboard input when focused SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION Tested with Blender 4.2.3 Binary from the blender website, as well as Blender 4.2.2 LTS from the flatpak repos. Does not happen in KDE X11. A possibly related bug with Sway on the Blender bugtracker https://projects.blender.org/blender/blender/issues/117225 -- You are receiving this mail because: You are watching all bug changes.