Bug 427462

Summary: Shear tool doenst use pivot
Product: [Applications] krita Reporter: Arno <grijs013>
Component: Tools/TransformAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahab.greybeard, halla, shzam
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: showing that the shear tool doesnt use pivot

Description Arno 2020-10-08 19:49:46 UTC
SUMMARY

Shearing with Transform tool in viewport doesnt take into account viot point. Using the attribute editor (entering values manually) it works.
Comment 1 Arno 2020-10-08 19:53:36 UTC
Created attachment 132223 [details]
showing that the shear tool doesnt use pivot
Comment 2 Ahab Greybeard 2020-10-13 14:14:47 UTC
I can reproduce this with the 4.3.0 appimage and the Oct 12 4.4.1 alpha (git 7576587) appimage.

With the 'Transform around pivot point' icon enabled, manual shearing does not shear around the pivot point but using the Shear sliders does shear around the pivot point.

With a rotation transform, manual rotation rotates around the pivot point if the 'Transform around pivot point' icon is enabled or not.

Setting to Confirmed.
Comment 3 sh_zam 2021-03-24 11:49:37 UTC
Assigning this to myself.
Comment 4 sh_zam 2021-03-24 17:14:01 UTC
Git commit 250b40e56ef4ecae12710984ae577e7116aaf5f4 by Sharaf Zaman.
Committed on 24/03/2021 at 17:13.
Pushed by szaman into branch 'master'.

Bugfix: Transform (Shear) tool doesn't use pivot

M  +14   -0    plugins/tools/tool_transform2/kis_free_transform_strategy.cpp

https://invent.kde.org/graphics/krita/commit/250b40e56ef4ecae12710984ae577e7116aaf5f4
Comment 5 sh_zam 2021-03-24 17:23:10 UTC
Git commit 9ebb7c47db47ef1f4bc685d5f7db258a7a36e293 by Sharaf Zaman.
Committed on 24/03/2021 at 17:23.
Pushed by szaman into branch 'krita/4.3'.

Bugfix: Transform (Shear) tool doesn't use pivot


(cherry picked from commit 250b40e56ef4ecae12710984ae577e7116aaf5f4)

M  +14   -0    plugins/tools/tool_transform2/kis_free_transform_strategy.cpp

https://invent.kde.org/graphics/krita/commit/9ebb7c47db47ef1f4bc685d5f7db258a7a36e293