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

A few mouse issues in mouse-compatible applications #35

Open
magiblot opened this issue Dec 23, 2018 · 2 comments
Open

A few mouse issues in mouse-compatible applications #35

magiblot opened this issue Dec 23, 2018 · 2 comments

Comments

@magiblot
Copy link

Hi cosmos72,

I have made a list of issues I experienced while using mouse-compatible applications within twin:

  • Scrolling up in applications which support mouse scrolling also scrolls up the terminal window, causing blinking in some cases.
  • There is no animation when selecting text with mouse.
  • Scrolling seems to trigger paste (or right/middle-click) events in text editors.

I recorded each of them on video:
https://drive.google.com/open?id=1TyOCcDS_4xAlU3yAgfsmrV9RQk9VO6lX
https://drive.google.com/open?id=1om5K_AJANkHPs5tNWaYTKN9gTKQwfuYR
https://drive.google.com/open?id=1RYnV1NWR2nyzuj_tibLJpGU79J-488gi

Of course these are not extremely important issues and twin is still usable with them. Only mouse-compatible applications seem to be affected by it.

Have a merry Xmas!

@cosmos72
Copy link
Owner

Thanks, I will examine these issues

@magiblot
Copy link
Author

magiblot commented Nov 3, 2019

Scrolling seems to trigger paste (or right/middle-click) events in text editors.

After some more testing, it looks like these spurious events are mouse drag events. And wheel scrolling is not the only case where this happens. Holding a button clicked while clicking and releasing the other one has the same effect.

Both tty+GPM and gfx are affected by this. Using hw=tty on an xterm produces different results, though, as mouse wheel is not supported there and clicking buttons does not produce the error either.

Nevertheless, in all these environments, actual mouse dragging is not reported to the application being ran, even if it emits \x1B[?1002h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants