Added to Android gestures

I can confirm it works! But I cannot rotate and zoom anymore with two fingers.

The undo works but the redo three fingers doesnt work. And no rotation and zoom on canvas

Are you sure the config is set so in Canvas Input Settings? And there is no other conflicting action for three finger gesture.

I’m aware that this issue exists (because two finger gestures isn’t assigned to rotate and zoom). I’ll see if it will be possible to facilitate both undo and rotate/zoom features.

Yea i see that the 5 finger gesture is used for the rotate canvas, it is inconvenient hope can be fix.

When i installed fresh without modification, the redo was not working, just a flicker in the line when i tap 3 fingers. But when i play around in configure krita, set 1 finger tap as popup palette and other things unrelated to 3 fingers gesture suddenly the redo was fix and goes smoothly. Dont know why and how.

Hopefully there will be a way to 1 tap hold for colour pick OR right click (hold press spen) with suitable time duration for colour pick.

O and why is the fill tool/colour bucket doesnt work at all?

I’ve managed to download the modified apk by the Chinese dev, i uploaded it here

It’s made on top of 5.0.0 Beta 5, the gestures works great just like the video, just the one finger touch that sometimes don’t work but i think it have to do with the way it’s been implemented, it needs to be hold 1 second to work and if i move the finger just a tiny bit before the 1 second it don’t work anymore, also the color picker with one finger is offset so you can actually see the pixel you are getting the color from, which is great.
But the dev removed the menu and there’s no other way, that i’ve find, to acess it and change anything like settings, toolbars, shortcuts etc, and that’s why i will not be using it.
it also seems to be more fast than the official version, maybe because he removed the menu.

I will ping @sh-zam hoping the apk is useful in anyway.

I’ve uploaded another version of the Debug app for testing: https://drive.google.com/file/d/13VgBT7K2XvUh0FUqoWpya4629ZzwYIiz/view?usp=sharing. You should be able to rotate, undo, redo etc. You will need to reset the krita profile or configure the ā€œTwo finger dragā€ for Zoom and Rotate action manually (or reset the ā€œDebugā€ app).

Thanks!

2 Likes

@sh-zam You are my hero :smiley: Work awesome , with that functionality Krita is best app for drawing on googleplay ! We have so much option to customization <3 I just cant wait to make some new artwork on my s7

I found only on bug so far. When we use one or more finger swipe to change brush size ( change primary settings ) its a bit laggy , its work smooth in a range 1px-200px but when you want get higher values its laggy . With that fix everything looks awesome ! Thanks a lot !

@sh-zam , I follow the Android apk dev since you listed you was working on it on KDE, you are doing wonders for the android artist community, thank you!

I tested the new apk you provided and wanted to give some feedback:

The gestures work great, like if i change to Pan with ā€œOne Finger Dragā€ and Pop Up Pallet with ā€œOne finger Tapā€ it works wonderfully and never do one thing when i want do another, nice work.

The changing brush size with gesture lags a lot, strangely it depends of the brush engine, for example MyPaint Engine and Deform Engine Brushes are smooth, but Pixel Engine Brushes lags and at bigger sizes it freeze the entire app.
Using a bluetooth keyboard on Android and using the default Shift + drag hotkey to change the brush size is smooth in any brush.

I need to disable the ā€œEnable Touch Paintā€ in the Settings > Configure Krita > General > Tools to be able to use the one finger gestures properly, so maybe it should come off by default? Also before if i disabled the ā€œEnable touch Rotationā€ there, the two finger gesture just Zoomed, but now it don’ work, i need to go to ā€œCanvas Input Settingsā€ and remove the gesture on ā€œZoom and Rotate Canvasā€ and place it on ā€œZoom Canvasā€ if want it to stop rotating, so i guess there’s no use to this option anymore?

Also, Is there anyway to disable the ā€œhold to Right buttonā€? There are moments that i do a slow or small brush strokes and this get activated by mistake and the pop pallet get in the way, even if a remove the pop pallet from the right button, if i do these slow/small strokes it recognizes as a right button press, and stop painting. The current stable apk don’t have this function and i think it’s way better.
I think a great way would be if we could configure any gesture to simulate the right button.

Thanks! Hope it’s a useful.

Additional I Think that you can think about adding ā€œgestureā€ as a option in all keyboard shortcuts" not only as canvas input settings :slight_smile: !

btw @sh-zam Do you think its possible to make separate ā€œgesturesā€ for " swipe right " , "Swipe down " and so one ? With that we will have dozen of options for any kind of customization :))

@GregP I also thought on the idea of gestures on shortcuts, would be great, hope it’s not too hard to implement.

The swipe up, left etc i think it’s not intuitive as there’s much chance of it doing one thing stead of another, in example let’s say you place One Finger Swipe as Pan and want to rapid pan to left, then your gesture would be recognized as ā€œSwipe leftā€ and do other thing.

I think a great solution would be a customizable pop up radial menu like this Plug-in , it would be amazing on mobile.

I’ve fixed it.

Good idea!

It seems to be caused by a fix of mine. I’ll try to fix it.

Currently, only the canvas widget is capable of recognizing the gestures. So, it is not something I’d call trivial, yet :slight_smile:

Sure I understand ,So you can consider that in the ā€œfutureā€ :slight_smile: or add a bit more option to the Canvas widget :smiley: Some critical as ā€œtogle eraseā€ ā€œtogle alphaā€ etc , just saying :smiley: Overall awesome work ! you making great stuff with Krita :slight_smile: You can send us a next build with fixed ā€œbrush sizeā€ gesture to test if you like :slight_smile:

Adding actions is easy. I’ve added eraser toggle. I can add other ones too.

I’ve uploaded a new APK at the same url: krita-debug-touch-signed.apk - Google Drive

@sh-zam Glad to hear the hold to right button is not intended.

About the new apk, it looks that nothing changed? :thinking: Still have the same behavior and lags on the brush size gesture.

will the gestures be available in krita 5.1.0 or before that?

ah, my bad. I skipped the APK uploading part :sweat_smile: . Try again now.

They be available in Krita 5.1.0. They’ll also be available in Krita Next binaries after some time.

Awasome job @sh-zam ! I found only on glitch so far.
-When we resize brush and start painting right away we dont see brush outline. We need to take stylus away from screen and click again on screen , after that outline return :wink:

About additional actions you can consider basic one like : Togle alpha , mirror wiev

I know now that making gestures like swipe right , left etc ist good idea but what do you think about double tap gestures ? ( one finger double tam, two finger etc )

1 Like

Working amazing now @sh-zam, just the bug GregP mentioned on brush outline.

About the two finger tap @GregP, when you press one tap the gestures works instantly, if there’s was a two tap option it would be necessary to put some more milliseconds so the system can be sure wich one you want to do, i don’t think it would be a good trade off as it’s works so quickly nice right now.

More ā€œtouch gestureā€ options would be great indeed , toggle alpha, mirror view and eraser mode (that sh-zam already implemented) are the most used i think.
But sh-zam is there possibility to call a menu that have all the options (like the shortcuts) so you could select any of them to use as a gesture?

ā€œneed to disable the ā€œEnable Touch Paintā€ in the Settings > Configure Krita > General > Tools to be able to use the one finger gestures properly, so maybe it should come off by default?ā€
ā€œGood idea!ā€

Will we still be able to re-enable touch painting though? I use that to explore new brushes and techniques (also saves on wear on my stylus tip).

Could there be a quick button for enable/disable for the touch paint?

@sh-zam, i’ve found a bug that looks like it’s Android related as it’s not on Krita 5.1 Alpha on PC.
I use a detached toolbar with brush size slider only and now when i change the size of the brush on it and paint, it disable itself. here’s a video showing it (i use in a smartphone so that’s why the interface it’s like that):


That not happen on Krita 5.0.2 on android

@CrazyCatBird, the option would still be there, i just think that the majority of users would prefer it off by default, but i agree it should be in a more accessible place.

1 Like