Bug 400618

Summary: Compositions order cant be changed
Product: [Applications] krita Reporter: Bollebib <kwadraatnope>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: smr.rambar
Priority: NOR    
Version: 4.1.3   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Bollebib 2018-11-03 13:18:31 UTC
Compositions are a powerful tool if you work with several variants of a same piece

it doesnt seem possible to just move the entries in the docker up or down.


I would ask if this can be added
This could be done by

1) up and down arrow button ,like in the layer docker
2) Drag and Drop
Comment 1 Bollebib 2020-08-05 14:06:42 UTC
I'd like to restate my interest in this one

It is very needed if you often use the compositions
Comment 2 Santiago Munoz 2020-08-29 19:53:40 UTC
I have opened a merge request to add support for this:
https://invent.kde.org/graphics/krita/-/merge_requests/484
Comment 3 Emmet O'Neill 2020-09-02 03:15:32 UTC
Git commit 1f79e3b87804fc901e35001060710eb3a629abd6 by Emmet O'Neill, on behalf of Santiago A M Rodriguez.
Committed on 02/09/2020 at 03:11.
Pushed by emmetoneill into branch 'master'.

Add Up/Down buttons to compositions docker

This allows reordering the compositions on the docker

M  +18   -0    libs/image/kis_image.cc
M  +10   -0    libs/image/kis_image.h
M  +28   -0    plugins/dockers/compositiondocker/compositiondocker_dock.cpp
M  +2    -0    plugins/dockers/compositiondocker/compositiondocker_dock.h
M  +27   -7    plugins/dockers/compositiondocker/wdgcompositiondocker.ui

https://invent.kde.org/graphics/krita/commit/1f79e3b87804fc901e35001060710eb3a629abd6
Comment 4 Emmet O'Neill 2020-09-05 18:07:47 UTC
Git commit 52e5487db1d4185e9ed2c2540f6507ac45499130 by Emmet O'Neill, on behalf of Santiago A M Rodriguez.
Committed on 05/09/2020 at 18:07.
Pushed by emmetoneill into branch 'krita/4.3'.

Add Up/Down buttons to compositions docker

This allows reordering the compositions on the docker


(cherry picked from commit 1f79e3b87804fc901e35001060710eb3a629abd6)

M  +18   -0    libs/image/kis_image.cc
M  +10   -0    libs/image/kis_image.h
M  +28   -0    plugins/dockers/compositiondocker/compositiondocker_dock.cpp
M  +2    -0    plugins/dockers/compositiondocker/compositiondocker_dock.h
M  +27   -7    plugins/dockers/compositiondocker/wdgcompositiondocker.ui

https://invent.kde.org/graphics/krita/commit/52e5487db1d4185e9ed2c2540f6507ac45499130