SUMMARY We went into the Canvas Input Settings > Rotate Canvas and created a shortcut (Alt+MiddleClick or Ctrl+Shift+MiddleClick) that would reset the canvas orientation. Surprisingly, if we hold this shortcut, it rotates the canvas. If we press on the shortcut once, it will inverse the previous rotation (so if we rotate 90º, pressing the shortcut rotates -90º). Pressing it a second time will correctly reset the orientation to 0º. STEPS TO REPRODUCE 1. Go into Canvas Input Settings > Rotate Canvas 2. Create shortcut to reset canvas orientation with Alt+MiddleClick 3. Attempt using the shortcut after a rotation, also try pressing and holding it as you drag. SOFTWARE/OS VERSIONS Windows 10 64-bit 19044.1889
Created attachment 152290 [details] Usage Log
Created attachment 152291 [details] System Info
Can confirm the exact the same happening on Linux X11.
*** Bug 465906 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1762
Git commit daf98f4f8fd35e557993d8adebff178f688dfaca by Merge Service, on behalf of Sharaf Zaman. Committed on 28/02/2023 at 14:51. Pushed by merge-service into branch 'master'. Bugfix: Reset canvas rotation shortcut behaving erratic. Part-of: <https://invent.kde.org/graphics/krita/-/merge_requests/1762> M +6 -1 libs/ui/input/kis_rotate_canvas_action.cpp https://invent.kde.org/graphics/krita/commit/daf98f4f8fd35e557993d8adebff178f688dfaca