SUMMARY It is observable in both 4.4.2 and git master that attempting to delete any canvas input shortcut of a lone action throws a popup without any deletion occuring. Can be worked around by unsetting the shortcut instead of deleting it. STEPS TO REPRODUCE 1. Settings -> Configure Krita -> Canvas Input Settings 2. For example, select Zoom Canvas 3. Create a shortcut for a Fit to Height action 4. Attempt to delete it OBSERVED RESULT A popup shows with "Deleting last shortcut for this action! It is not allowed to erase some default shortcuts. Modify it instead." without any actual deletion occuring. EXPECTED RESULT The shortcut should be deleted. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian sid (available in About System) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.12.9 (Appimage)
afair this was intended as some canvas input shortcuts are important for krita usage and users might delete them accidentally. The idea to my understanding is tha they need to set an alternate shortcut before removing the default one.
The problem is that this issue affects even custom shortcuts that the user themselves create. Regardless, this has already been fixed by Dmitry as part of my tool invocations merge request at https://invent.kde.org/graphics/krita/-/merge_requests/693 , but I just need to figure out what's causing this crash...
Resolved with https://invent.kde.org/graphics/krita/-/commit/1ae842ad6f8df561096343a950b5edfd7d776c1b