Skip to content
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

Mouse multiple button click requires pixel precision #6475

Open
jbiosca78 opened this issue Dec 9, 2024 · 0 comments
Open

Mouse multiple button click requires pixel precision #6475

jbiosca78 opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jbiosca78
Copy link

What Operating System(s) are you seeing this problem on?

Linux X11

Which Wayland compositor or X11 Window manager(s) are you using?

Enlightenment 0.26

WezTerm version

20241209-140259-6c171dd0

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

In #910, the solution taked was to check the click position for calculate the streak. It was ok because ClickPosition was character only.
But in #1805, ClickPosition added x_pixel_offset and y_pixel_offset, so now the multiple click must be in the same pixel.
Sometimes when pressing the first click, the mouse moves a little, making the double or more clicks to fail.
I have high sensibility mouse and high dpi display (4K), so many times my double clicks fails.

To Reproduce

Do a double click moving a bit the mouse. The event (selection in my example) will fail.
It doesn't fail in other terminals.

Configuration

no config

Expected Behavior

Multiple click would not need to be in same pixel, it must work at least if the clicks are inside the same character, or if the click positions are very near.

Logs

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant