https://bugs.kde.org/show_bug.cgi?id=428080
Bug ID: 428080 Summary: Krita does not handle focus gain properly when switching to its workspace using a keyboard shortcut Product: krita Version: 4.4.0 Platform: unspecified OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: bennycaguil...@gmail.com Target Milestone: --- If I switch to a workspace with Krita open using a keyboard shortcut in i3, some functionality breaks until I refocus Krita using a mouse action, restarting i3 in place, or some similar refocus action. Some things that stop working are: 4 and 6 keys to rotate the canvas, shift-drag to resize the brush, and ctrl-click to pick colors. The Krita windows is definitely focused, and other actions such as Ctrl-Z and drawing still work properly. I am guessing the issue is related to the canvas widget itself not receiving a focus event when Krita is focused using a keyboard-shortcut workspace-switch (alt-tab doesn't cause the issue for me on XFCE, so it has to be a workspace switch), and therefore not receiving keyboard events. The issue also occurs for me on XFCE, and another user confirms it occurs similarly on their MATE desktop. Previous discussion on krita-artists.org here: https://krita-artists.org/t/cetrain-key-combinations-dont-work-after-switching-workspace-to-krita-linux/13001 STEPS TO REPRODUCE 1. Open Krita on workspace A 2. Switch to workspace B 3. Switch back to workspace A using a keyboard shortcut OBSERVED RESULT Shift-drag does not change brush size, ctrl-click does not pick color, and 4 and 6 keys do not rotate the canvas. EXPECTED RESULT All actions work as if Krita had been focused using a mouse SOFTWARE/OS VERSIONS Arch Linux KDE Frameworks Version: n/a Qt Version: 5.15 Krita: 4.4.0 -- You are receiving this mail because: You are watching all bug changes.