Bug: flip hor/vert does not respect rotation point

Hier diskutieren die Betatester von PhotoLine untereinander und mit den Entwicklern
User avatar
Herbert123
Mitglied
Posts: 2122
Joined: Sat 12 May 2012 21:38

Bug: flip hor/vert does not respect rotation point

Post by Herbert123 »

2023-02-17 16_12_10-#1.png
In the above example the left stroke should be mirrored to the other side. I align the rotation point (pivot point) to the center guide, and use the Flip Horizontal function.

This is the result:
2023-02-17 16_12_45-#1.png
But I would expect this result instead:
2023-02-17 16_13_40-#1.png
The pivot point is not respected when mirroring (flipping) objects.

A secondary issue that I encountered is that the pivot point is not respected when this object is repositioned. The object's frame snaps to the center guide, but the pivot point does not.

Would it be possible to fix these two things and have the pivot point (rotation point) respected when mirroring and translating objects?
You do not have the required permissions to view the files attached to this post.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
Martin Huber
Entwickler
Entwickler
Posts: 4128
Joined: Tue 19 Nov 2002 15:49

Re: Bug: flip hor/vert does not respect rotation point

Post by Martin Huber »

Menu commands are not affected by tool settings. And the pivot point is a setting of the Layer Tool.

You can flip a layer using the Layer Attributes. That will respect the pivot point and the Centered setting of the Layer Tool.

Martin
PPaul
Mitglied
Posts: 18
Joined: Tue 28 Jun 2022 17:37

Re: Bug: flip hor/vert does not respect rotation point

Post by PPaul »

OK, it would be nice if I were able to mirror a layer using the pivot point, where the pivot point would remain in its place. Like when I rotate the layer.
Is that possible?

- Paul
Martin Huber
Entwickler
Entwickler
Posts: 4128
Joined: Tue 19 Nov 2002 15:49

Re: Bug: flip hor/vert does not respect rotation point

Post by Martin Huber »

PPaul wrote: Tue 21 Feb 2023 14:15 OK, it would be nice if I were able to mirror a layer using the pivot point, where the pivot point would remain in its place. Like when I rotate the layer.
Is that possible?
As I said: You can do that with the Layer Attributes ("View >Panels > Layer Attributes > Scaling"). But it only uses the pivot point, if
- the Layer Tool is active
- the pivot point is visible
- centered is activated

Martin
User avatar
Herbert123
Mitglied
Posts: 2122
Joined: Sat 12 May 2012 21:38

Re: Bug: flip hor/vert does not respect rotation point

Post by Herbert123 »

Martin Huber wrote: Tue 21 Feb 2023 11:18 Menu commands are not affected by tool settings. And the pivot point is a setting of the Layer Tool.

You can flip a layer using the Layer Attributes. That will respect the pivot point and the Centered setting of the Layer Tool.

Martin
You mean by entering a negative value in the Scaling? That's a bit counter-intuitive...

That is something I would expect in a developer's environment (such as a game engine), but not really in an intuitive design software. This is called a "hidden affordance" in UX design, and not obvious at all to the average user. Nor is it very user friendly, or logical that the actual button to flip layers does not respect the pivot point, while a hidden negative scale property does.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
User avatar
shijan
Mitglied
Posts: 1449
Joined: Mon 23 Dec 2019 15:21
Location: Ukraine

Re: Bug: flip hor/vert does not respect rotation point

Post by shijan »

Other apps behave in same way and always preserve rotation point, so i can agree with Herbert123. It is logical to preserve rotation point when rotate/flip layer from menu.
Also I guess something like "Preserve Rotation Point" checkbox could be useful in "Scale Layer" and "Change Layer Size" dialogs.
PhotoLine UI Icons Customization Project: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302