-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single finger tap clicks do not move click position #219
Comments
2024-03-29.09-33-52.mp4I've used only tap-clicks in this recording. You'll see that the context menu opens at the pointer and pastes happen at the pointer, but when I highlight a symbol or line, it happens at the cursor without moving the cursor to the pointer. |
Thank you very much for taking the time to explain the issue with such detail. This is the first time I see or get reported something similar and it looks that the problem relies on exactly what you mentioned here:
This seems to be the key to the issue, but I'll have to wait a few days to at least try to test it because I won't have the required hardware until next week. I do use ecode with touchpad but mostly on macOS and it works fine, also I have an Linux + X11 installation on other notebook but I've never tried it with Wayland (touchpad on X11 works fine for me too), so I expect this to be related to the Wayland + touchpad combination, since I never used ecode with wayland and touchpad. I'm surprised that it does not generate a click event, IMO this should generate a click, but if that's not the case I guess I can generate the event by detecting the gesture. I'll investigate ASAP. Thank you again. |
Thank you! ecode looks very cool and from the small poking around I did, I'm looking very much forward to trying it out more once my touchpad works 😀 If you need any help testing once you've got changes staged, let me know, happy to help. |
I just remembered that eepp GUI already had a patch for this exact same issue, but the fix is only being applied to macOS builds because I didn't have any hardware and software to test it on other operating systems, so I think this confirms that the patch it's also needed at least in Linux too. I'll try to create a build in a few days for you so you can test it and confirm if it works. |
…reduce main menu size. I'll continue redesigning menus later. Tentative fix for SpartanJ/ecode#219.
@sarayourfriend could you test the following build, please? |
Works perfectly 🚀 |
Awesome!! |
Single-finger tap clicks do not move the cursor position when registering the click event. Two and three finger tap clicks work perfectly and do move the cursor/click position.
By "move the cursor" or "click position" I mean that when I middle click (three finger tap), ecode correctly pastes at the position of my pointer. When I right click (two finger tap), ecode opens the context menu at the location of my pointer.
However, for tapped left clicks (single finger tap), ecode appears to register the taps but does not move the cursor position. I know that ecode is registering the taps because if I tap twice quickly (i.e., a double click), ecode will highlight the symbol under the cursor. If I triple tap quickly, it will highlight the whole line under the cursor. The cursor stays put though, ignoring my pointer position.
I'll get a screen capture of this up after submitting the issue first.
Physically clicked left clicks (i.e., I pushed my touchpad down rather than just tapping it) work perfectly.
This affects the entire UI, as far as I can tell, so it might be an eepp GUI issue rather than ecode?
My environment:
libinput debug-events
output might reveal the underlying issue, as taps are gesture events unaccompanied by pointer button events, whereas physical clicks have both the gesture and pointer button events:wev
doesn't see any difference, though and shows that the single finger tap is correctly translated to a button press:It might be an issue with ecode under xwayland. I don't have x11 installed to test this theory, but happy to try it out if you'd like. To avoid doubt, all other applications regardless of wayland or xwayland etc function perfectly with single finger tap as a left click.
The text was updated successfully, but these errors were encountered: