Your post is in the correct category, no need to move it I think. As for the request, it is a valid request, but only @sh-zam might beable to answer if it is possible. It might take some time to implement since there is no mobile UI yet.
No need to bump too, since it won’t make any difference in setting priority or anything. I have also added android and mobile devices to the title to make it clear.
Thanks for the clarity. I really thought there would be a workaround but not getting traction. so as of now cant use the layers grouping effectively unless I OTG a keyboard then.
@sh-zam not sure how difficult would this be implemented, but easy grouping a layer would unleash the full potential of krita at least on tablets.
@CrazyCatBird, excellent idea. makes more sense, except that in procreate and some other apps pinching merges down the layers. could be difficult for anyone migrating from other apps.
Maybe a temporary solution would be to write a simple plugin that attaches a QGestureRecognizer to the layer list docker and then does the layer merge/selection via the Krita API. I’d imagine that this could be a rather simple plugin.
I don’t know if anybody managed to “sideload” a native plugin into Krita Android. But from a developer perspective one would probably had to download a .so file into Android, which could be difficult due to Android’s restrictive security model. I guess Krita would have to be compiled from source to include the the plugin.
I took a quick look at
krita/tree/master/plugins/dockers/layerdocker
and the layer docker is based on a QTreeView where it wouldn’t be too difficult to add a gesture recognizer.
Sorry, I meant the feature should be in krita natively. In krita everything is a plugin, it can be written through c++ Qt or python pyQt. Sorry for confusion. If it is written in c++ and Qt it can be in android that is what I meant
Guess we will have to wait if anyone picks this up. Looks like krita for android user base is lot less but with this recent spree of gestures integration, i am hopeful
@sh-zam maybe a simple two-finger swipe to right just to select the layer would be easy to implement. Then we can go to menu to choose grouping. How is that?
In addition to gestures I think a checkbox way of selecting layers and other things would be good for people who have pen display but no gesture support. There will be checkbox besides the eye icon and clicking it will select the layer
Adding gestures to widgets is a bigger undertaking than adding them to canvas. E.g for canvas we have one centralized place for handling all the inputs/configurations etc but one has to think how would one configure them for different widgets (if at all they can be configured).
This is something which I believe is a part of the bigger project to have a better UI for mobile. I will look at QGestureRecognizer to see if there’s any easy way to do it for layers widget and maybe also implement this simple checkbox thing (looks simple to me code-wise )
Hi! Thanks for the response @sh-zam, the clarification on gesture is valuable.
Though waiting for mobile seems to be counter intuitive for tablet usage since full gui on tablet is usable enough.
But even the checkbox implementation will be god send cuz the workflow will immensely sped up. Thanks for considering the request.