Page 1 of 1

Layers - the command Reverse Selected Layer Order is broken [TVPA-3656]

Posted: 28 Jun 2024, 15:30
by D.T. Nethery
The menu command Reverse Layer Order is broken . It worked fine in version 11.5 , it is broken in 11.7.3 and 12 .

TVPaint Development Co., can you confirm this bug ? Or was the behavior deliberately changed for some reason?
If the behavior that existed in 11.5 (and previous versions) was deliberately changed starting in 11.7 what is the reason ?
The commend Reverse Select Layer Order is intuitive and does what is expected: selected layers have their order reversed. Simple and clean.
But now it makes no sense . Why would it be changed ?

Here is the expected behavior:

Let's say you have five layers labeled A - through - E .

A
B
C
D
E


Now Select all of these layers, and right-click to bring up the menu .
From the menu select Reverse Order > Reverse Layer Order (Selected).
The result should be:

E
D
C
B
A


OR if you only selected layers A and B the result should be:

B
A
C
D
E


This is the result in version 11.5 . This is the result to be expected from Reverse Layer Order.

However, in 11.7.3 (and 11.7.1 - 11.7.2) this is not the result. It is also broken in new version 12.

Has no one else noticed this ? I would think someone had to have mentioned this before now , but apparently it slipped by me.

I have only just noticed this problem because I have apparently not had any occasion to use the command Reverse Order of Selected Layers until recently.
On a scene I'm working on now I needed to reverse the order of my layers, so I noticed the problem. I wondered if it is only a problem in v12 , but then I checked
in 11.7.3, 11.7.2, 11.7.1 which all had the same problem. Going back to 11.5 the problem is not present. So the last time the command Reverse Order of Selected Layers
worked was in 11.5.

Version 12's behavior is also odd because not only does it not simply reverse the order of the selected layers (reversing the order of the layers from A - through - E to be ordered E - through - A) it simply moves all the selected layers to a position below the other (non-selected) layers. So it doesn't reverse the order of the selected layers , it moves the layers.

And try this in v.12:

Five layers , labeled A, B , C, D, E .

A
B
C
D
E


Now select only layers A and B. Then fom the menu choose Reverse Selected Layers Order.

Nothing happens. The layers are still ordered as before:

A
B
C
D
E


Instead of being ordered

B
A
C
D
E


as one would have expected from executing a command to Reverse Selected Layers Order.


Also as I am experimenting with this command Reverse Selected Layers Order to try to document the errant behavior , TVPaint 12 frequently crashes .

.

Re: Layers - the command Reverse Selected Layer Order is broken

Posted: 28 Jun 2024, 21:01
by Cardin
Yes, I can confirm the same behavior in TVP12.

In addition to D.T. Nethery's feedback, TVP12 always crashes if Reverse Selected Layers Order is attempted when there is no Camera Layer.


Reverse Order of Selected Layers BUG.mp4
(11.06 MiB) Downloaded 217 times

Re: Layers - the command Reverse Selected Layer Order is broken [TVPA-3656]

Posted: 02 Jul 2024, 09:19
by JeremyN
Thanks for reporting it. It has been fixed and will be available in a future update.