Bug 438771

Summary: Animation curves - properties not always ordered
Product: [Applications] krita Reporter: grum999
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: emmetoneill.pdx, eoinoneill1991
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Unsroted example
Sorted example

Description grum999 2021-06-16 20:33:35 UTC
Created attachment 139416 [details]
Unsroted example

SUMMARY

In animation curves, properties of transform mask are most of time ordered (alphabetical order):
- Position (X)
- Position (Y)
- Rotation (X)
- Rotation (Y)
- Rotation (Z)
- Scale (X)
- Scale (Y)
- Shear (X)
- Shear (Y)

But sometime, they're not.



STEPS TO REPRODUCE
Can't provide a way to reproduce it, I'm not able to determinate why it occurs


OBSERVED RESULT
most of times, properties are sorted, but sometimes not


EXPECTED RESULT
Having properties always sorted 


SOFTWARE/OS VERSIONS
krita-5.0.0-prealpha-949e869-x86_64.appimage
Comment 1 grum999 2021-06-16 20:35:47 UTC
Created attachment 139417 [details]
Sorted example

Having the properties always sorted in the same order is important.

When working on a document, I didn't take care about this and I started to select nodes in graph from their color... 
And started to modify wrong properties

Also when looking for hide/display curves in graph, having change in display order is disturbing
Comment 2 Emmet O'Neill 2021-06-17 01:33:59 UTC
Ok, we'll look into this one too.