Bug 479594

Summary: Can't transform multiple layers in certain case
Product: [Applications] krita Reporter: tomtomtomreportingin
Component: Tools/TransformAssignee: Dmitry Kazakov <dimula73>
Status: REPORTED ---    
Severity: normal CC: dimula73
Priority: NOR    
Version First Reported In: 5.2.2   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tomtomtomreportingin 2024-01-10 06:17:29 UTC
SUMMARY
When the user selects a single layer, enters transform mode, and selects a second layer with CTRL + click, the transform is still basing off only the original single layer, as the transform mode doesn't end when layers are added through CTRL + click.

This issue doesn't occur when selecting new layers for single-layer transformation (without CTRL), as the transform mode ends when a new single layer is selected.

This can be very confusing to the user.

STEPS TO REPRODUCE
1. Paint red on one layer.
2. Paint blue on the second layer.
3. Freehand select a bit of the second layer.
4. Enter transform mode.
5. Ctrl + click the first layer.
6. Attempt to transform both layers at once.

OBSERVED RESULT
Only the second layer is transformed.

EXPECTED RESULT
Both layers should be accounted for.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Sid
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10 (appimage)