Bug 391793

Summary: Scale transforming around corner pivot points is wrong when uniform scaling is active
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: Tools/TransformAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: (Video)

Description mvowada 2018-03-13 02:49:03 UTC
Created attachment 111358 [details]
(Video)

(Krita 4.1.0-pre-alpha (git d0e6714))

Scaling around the angular pivot points on the widget using the input boxes comes out wrong when the uniform scaling option is active:

    1) "CTRL+T" (switch to the Transform tool)
    2) "Scale" radio checked
    3) "Transform around pivot point" active
    4) click the top-left corner of the hud
    5) click the chain symbol to enable uniform scaling
    6) type in a new value for width

Actual Results: it scales uniformly but it ignores the chosen pivot point
Expected Results: scale around the set pivot point.
Comment 1 Dmitry Kazakov 2018-03-14 10:15:57 UTC
Git commit dec6be30f9e80b28f1613b8c903d9808247f8421 by Dmitry Kazakov.
Committed on 14/03/2018 at 10:15.
Pushed by dkazakov into branch 'master'.

Transform Tool: keep anchor lock when "Leep Aspect Ratio" is selected

M  +8    -2    plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp

https://commits.kde.org/krita/dec6be30f9e80b28f1613b8c903d9808247f8421
Comment 2 Halla Rempt 2018-03-14 10:42:24 UTC
Git commit 1702888a1bf91c157d1aedde6d34464650520b4b by Boudewijn Rempt, on behalf of Dmitry Kazakov.
Committed on 14/03/2018 at 10:42.
Pushed by rempt into branch 'krita/4.0'.

Transform Tool: keep anchor lock when "Leep Aspect Ratio" is selected
(cherry picked from commit dec6be30f9e80b28f1613b8c903d9808247f8421)

M  +8    -2    plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp

https://commits.kde.org/krita/1702888a1bf91c157d1aedde6d34464650520b4b