Created attachment 138441 [details] Krita Usage Log SUMMARY In addition to having the default ctrl + shift + a, I have a custom shortcut to deselect set to the ESC key. It's worked fine for a while, but lately, it only works if I first click outside of the canvas (for example, on the layers window) and then press ESC. The default command works fine without clicking outside the canvas, though. STEPS TO REPRODUCE 1. Make a custom shortcut for deselect 2. Make a selection (ctrl + a on Windows suffices for me) 3. Press key for custom shortcut OBSERVED RESULT Nothing is deselected. EXPECTED RESULT Deselection. SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Hm... I am seeing a safe assert here, which might be the cause of this: 14 May 2021 22:38:25 -0500: SAFE ASSERT (krita): "m_deselectedMask->active()" in file C:\Packaging\workspace\Krita_Release_Windows64_Build\krita\libs\image\commands\KisDeselectActiveSelectionCommand.cpp, line 47
I didn't see a safe assert with 5.0.0beta5 0e4b844 on Win10 Custom deselect shortcut: Esc - behaviour reproduced However, I think the canvas input setting for Tool Invocation Cancel is conflicting with the custom Esc shortcut. If I clear that setting in Canvas Input Settings, the custom deselect works with Esc. If a Custom deselect shortcut without conflicts like ctrl-alt-shift-d is used, deselect works as expected.
*** Bug 489742 has been marked as a duplicate of this bug. ***
Since this is caused by conflicts between the Keyboard Shortcuts and Canvas Input settings, marking as a duplicate of bug 329663. *** This bug has been marked as a duplicate of bug 329663 ***