https://bugs.kde.org/show_bug.cgi?id=462095
Bug ID: 462095 Summary: Transform Tool breaks if another Tool is invoked at the same time as using a shortcut operation, causing data loss Classification: Applications Product: krita Version: 5.1.1 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Tools/Transform Assignee: krita-bugs-n...@kde.org Reporter: jul...@blender.org Target Milestone: --- Created attachment 153924 --> https://bugs.kde.org/attachment.cgi?id=153924&action=edit Visual example if the issue. SUMMARY Issue: You can "Invoke" a Tool via a shortcut (in this case the Line Tool) while the Transform Tool is still active and being used. If an operation is used in this invoked state (in this case Inverting the selection), the transform tool breaks, leading to data loss and glitches. It seems unlikely to cause this issue in the default keymap. This is especially likely to happen if a tool is invoked on modifier keys (For example using `Shift` instead of `V` to invoke the Line Tool). STEPS TO REPRODUCE 1. Set custom shortcuts a. Canvas Input Settings -> Tool Invocation -> Activate Line Tool == `Shift + LMB` b. Canvas Input Settings -> Change Primary Settings -> Normal == `Remove` c. Keyboard Shortcuts -> Krita -> General -> Invert Selection == `Shift + D` 2. Create a selection 3. Use the Transform Tool (Ctrl - T) 4. Move the selection 5. Press `Shift + D` to invert the selection 6. Use any brush on selection OBSERVED RESULT The transformed result will be erased but still be visually shown, as if the transformation was applied. The selected area will be moved back to the original position, before the transform tool was used. The selection will be successfully inverted (But at the incorrect position). Any brush stroke, no matter the selected area, will redraw the canvas, revealing the true state of the image. EXPECTED RESULT The transformation will be properly applied when using the shortcut `Shift + D`. Only then, will the selection be updated tot he correct position and properly inverted. Any brush strokes will then properly paint on the applied transformation and inverted selection (Without visual glitches). SOFTWARE/OS VERSIONS Krita Version: 5.1.1 Hidpi: true Qt Version (compiled): 5.15.5 Version (loaded): 5.15.5 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: linux Kernel Version: 6.0.9-gentoo Pretty Productname: Gentoo Linux Product Type: gentoo Product Version: 2.9 Desktop: KDE -- You are receiving this mail because: You are watching all bug changes.