tmux mouse scrolling locks up in hterm if mouse pointer is over cursor

18 views
Skip to first unread message

sir...@globus.org

unread,
Aug 11, 2018, 1:59:41 PM8/11/18
to chromium-hterm
I'm using nassh 0.8.44.1 and seeing odd behavior which I *think* is caused by hterm.


If I use tmux with mouse mode on and scroll with mouse wheel input, scrolling will work until the tmux cursor moves under the mouse pointer.
When scrolling through dense text, this happens pretty frequently -- usually between 50 and 200 lines of scrolling.
Once the tmux cursor lands underneath the mouse pointer, it seems that hterm stops sending mouse input to tmux.

I've also noticed that if I move the mouse pointer to hover over the tmux cursor, I get a tooltip with the x,y position of the cursor.
Not sure if that's entirely related.


Has anyone else seen this behavior? Is there a known workaround?


Thanks in advance for any time and help which people can offer,
 -Stephen

Mike Frysinger

unread,
Aug 13, 2018, 1:57:21 PM8/13/18
to sir...@globus.org, chromium-hterm
the text cursor is supposed to autohide when the mouse cursor hovers over it.  playing around over here, there seems to be two edge cases where that doesn't happen:
- if viewing scrollback, the text cursor never hides
- there's a small border around the text cursor which doesn't trigger autohiding
- when in mouse mode, the wheel events cause the text cursor to move, and if it moves under the mouse, it doesn't hide

if the text cursor doesn't hide, wheel events are captured by the text cursor instead of going to the scrollport.

i won't be able to work on this right now, so i've filed https://crbug.com/873720 if you want to star it for progress updates
-mike

--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/08c3908b-4352-4598-aed2-c6c09374f78e%40chromium.org.
Reply all
Reply to author
Forward
0 new messages