This is a plugin that adds a a box to set color labels to layers in the docker menu. Did this to make it much more practical to add color labels to layers than right clicking.
It works for both one or multiple layers and if you position the mouse on top of the box and scroll it will change the color label of the selected layers too.
However, your plugin might provide more intuitive UX for this particular action and seems to only require 1-2 clicks. In comparison, for some reason, clicking the color labels in the context menu in Krita 5 doesn’t automatically close the context menu, which I’m not sure is a bug or not.
Ah yeah i noticed that in 5.1 (though that is still kinda hidden) , but thats still the same problem. Having to open another menu to add color labels or change them is just too slow imo.
By the way in this plugin, since its a combobox, scrolling on top of the box already changes the color of the label on the selected layers, so not even clicks are needed.
could be interesting, though its a bit of a hack adding things to existing dockers, as you need to figure out the exact position to put anything so i kinda want to avoid giving options for that.
glad you like it. i am unsure if its possible, i looked up and didnt see anything in the krita api to manipulate color labels in frames, if there are no methods for that in the api i cant do much.