[v5.2.14] Android touch and long press

I’m well aware of the changes that disable long press to emulate right click on android, but it makes my configuration practically useless and I need to reconfigure most of my gestures. On top of that, it seems like my normal touch and even my pen is triggering context menu whenever I’m trying to open a file from Recent Images also scrolling with fingers doesn’t work on Recent Images.

here my normal touch and pen tap always triggering the context menu

This is not something any of the developers or testers have observed, so you’ll need to actually provide some information about your setup to even begin to investigate it.

What device is this? What stylus or external tablet is it? Which Android version? What is this “configuration” that has become practically useless and what does it have to do with long-pressing?

Also, please provide a recording of the tablet tester. Start a screen recording, then go into Settings → Configure Krita, into the “Tablet settings tab” and hit “Open tablet tester”. interact with the grid area on the left with your stylus a few times, then with your finger a few times. Then you can stop the screen recording. Please do it in the order instructed, don’t start the recording after already having opened the tablet tester or something.

I’m sorry, I word it very poorly on the initial post, after further usage, I can confirm that it only affects my gesture configuration that involves long press (which was right click at the previous version) and is no longer a problem now because I just can change that specific configs.

but it seems like my normal tap also recognized as a long press when I interact with the UI

my device is Xiaomi Pad 7 on Android 16, my stylus is Xiaomi Focus Pen

Thanks for the recording. We have other reports of Xiaomi Pads behaving strangely, so this may be related. Does the long press issue occur with both your pen and your finger or does it only happen with touch? The tablet tester looks normal for the pen inputs, but the touch input looks very different to any other Android device I have seen.

Also, how do the following touch gestures behave for you? Draw something first so that Krita knows you have a stylus, otherwise it will try to use touch painting.

  • One finger tap (should summon the popup palette by default)
  • Two finger tap (should undo by default, so draw something you can undo first)
  • Three finger tap (should redo by default, so undo something first)
  • Four finger tap (should toggle canvas-only view by default)
  • One-finger drag (should move the canvas or draw)
  • Two-finger drag (should move and rotate the canvas)

According to other reports, only two finger taps work on a Xiaomi Pad Mini, so it would be good to know if it is the same for your Xiaomi Pad 7.

yes, the long press issue also affects the pen, but only when I interact with the UI (tapping on layers and any object that has context menu), I don’t have any issues when drawing using the pen or interacting to object within the canvas. The UI only recognize double tap as a left click or the normal tap (the same with touch and pen), for example I can only open the file from the Recent Images when I double tap really quick

I’m currently disabling touch painting and most of the hand gestures, only use the long press to bring the pop up widget.

The question is whether those gestures work at all for you. That way I can tell whether the two reports about Xiaomi Pads are the same problem or if they behave in different, broken ways.

I’m sorry I didn’t answer the question about the gesture, since I already disabled all of them.

After restoring it to default, I can confirm that only two fingers tap is working.

Alright, thanks, then it it sounds like an issue that is shared by Xiaomi Pad devices. I already have some logs from those, so I will try to look into those further and try to figure something out. I will write again here if I got something to test.

1 Like

Update: I’ve been turning on/off some settings that probably related to this problem. Apparently turning off Kinetic Scrolling solve my pen issues (normal tap recognized as long press) but the touch gesture issues (only two fingers tap gesture works) still persist.

Thanks for the information, that gives a very good clue as to what’s going wrong. The kinetic scrolling somehow gets cancelled early, but the long-press detection thinks it timed out after holding in the same spot for a while and triggers.

I’ll probably have my hands on the device in question in the coming weeks, so I’d expect to be able to work on the issues with it then.

3 Likes