Incorrectly triggered touch gestures when drawing on an Android tablet

Ah, no need for an apology.
You did nothing wrong.
My poor English makes me have to use an online translator. :joy:
But online translators can’t always express my thoughts accurately.
This sometimes creates some misunderstandings.

We really need more feedback from Android tablet users to make krita better.

I haven’t tried assigning “one finger” gestures to other tools in CSP.
I’ve only tried it with touch painting turned off.

2 Likes

I also think it would be more convenient to place the touch-to-paint button on the toolbar.

2 Likes

Thanks for the ping and sorry for being late! I found this issue somewhere dug deep in my email.

Interesting, the handling of the code for gestures and touch-painting is a bit different. The touch painting checks how “far we’re from the previous point”, the gestures check “how far are we from the beginning touch”.

I’ll try to fix this and share the APK :slight_smile:

4 Likes

Hello! Please test this: https://drive.google.com/file/d/13VgBT7K2XvUh0FUqoWpya4629ZzwYIiz/view?usp=sharing. I’ve slightly tweaked the “drag” detection and on my device it seems to work much better than before. But I believe this is something that really needs testing on diverse devices ;), so please test extensively, in different scenarios (like accidental “One finger drag” when intending to do “Two finger drag”) and if possible, on different types of devices.

3 Likes

Google Drive files cannot be downloaded in my area. :rofl:
Can you provide a link to OneDrive?

My friend downloaded it and sent it to me.
My device is Samsung Galaxy Tab S7 FE wifi.

There is still an error triggering the touch.
(Tested with only touch painting turned off.)
Everything works fine with the side of the palm or the base of the little finger touching the screen first.
A false touch occurs when the knuckle of the little finger touches the screen first. (Usually a one-finger drag is mistakenly touched.)
A false touch occurs when the little finger joint and ring finger joint first touch the screen. (Usually a two-finger drag is triggered.)
Note that in the above painting situations, there is friction between the hand and the screen after contact.
In addition, the joints mentioned above refer to those close to the palm.

The above situation also existed before, but I hadn’t tested such details when I posted the topic, so I didn’t explain it at that time…

I can’t say for sure if there is an actual improvement…, maybe more people testing.

Can you share the Android Log (Help → Show Android log for bug reports.). Well, there is one line that I need from it, which you can find in the log: TouchSlop: <and some value>.

“TouchSlop” is not found in kritalogcatdump. :thinking:

The log is too long to post, please download the full log from the link.

Here, this one should have it: https://1drv.ms/u/s!Atkqi3FYNyKghVblXwjeYEme2iO8

If you have the Play Store version of Krita or Krita Nightly, then you can maybe compare it to them (This app should exist side-by-side with them).

1 Like

08-24 16:09:50.613 W/MainActivity(25637): TouchSlop: 15

I actually compared them and didn’t notice a noticeable difference.
I suspect that when I said earlier that touch painting is enabled, fewer false touches are an illusion.

I wish I had selected a better default gesture for one-finger-drag – panning would’ve been much less obstructive :frowning:

Just discover how to “three finger color picking” so the “one-finger-drag – panning” can be assigned.
Not that convenient for picking color, though :thinking:

Yes, we can maybe think something else for color picking (maybe press and hold or something).. but one finger drag really needs to be remapped to pan. I checked some other apps too, they too seem to disable/pan with one-finger drag.

2 Likes

Procreate has touch and hold to select colour. I think there is also a setting to set the delay for it.

3 Likes