Open Akhil-Hothi opened 1 month ago
Hello, @Akhil-Hothi! Have you tried to run your app on another physical device with a touchpad? And does this issue happen in other apps on your machine as well?
Yes, I have tried it on a different Asus Laptop. Despite the laptop model being different, issue remains same as mentioned earlier in the initial post.
In this laptop model, the touchpad is little different, it doesn't have separate visible buttons/keys from outside but from inside it also has two pressable buttons for left and right click at the bottom part of the touchpad.
@igordmn most likely it's about https://github.com/JetBrains/compose-multiplatform-core/pull/1341
@igordmn most likely it's about https://github.com/JetBrains/compose-multiplatform-core/pull/1341
I have investigated this, and this is just about unsuitable ViewConfiguration for touchpad.
I am experimenting with different values with different devices/OS'es now. The Android ported implementation doesn't always suit them.
How can I know when the issue is fixed?
Bug Description I have a device with a touchpad (windows laptop's trackpad) along with two real buttons for left and right mouse click. I noticed that when I tried to implement double click behaviour, I actually need to tap thrice on touchpad. I can perform double click just by clicking twice the hardware buttons, but not the tap gesture on tap pad.
Initially I thought that click timing is problem but now I know it's not the time gap, rather It's just that I need to tap thrice instead of twice. In my case, when I tap thrice it works fine.
Affected platforms
Versions
To Reproduce Steps to reproduce the behavior:
Run this code snippet:
Expected behavior It should be consistent for both, double tapping touchpad and clicking hardware buttons.