New issue
Advanced search Search tips

Issue 751388 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Two-finger scroll on ChromeOS causes app to hang if using screen

Project Member Reported by dpfurlani@google.com, Aug 2 2017

Issue description

Chrome Version       : 58.0.3029.140
Secure Shell version : 0.8.36.8
Screen version       : 4.02.01 (GNU) 28-Apr-14

What steps will reproduce the problem?
(1) Open a Secure Shell terminal window
(2) Type "screen" to start a screen session
(3) Do some stuff to fill the terminal window (e.g., `ls -l` a few times)
(3) Use two fingers on the track pad to scroll up and down

What is the expected result?
Scrolling up or down on the track pad should operate the same as dragging the scrollbar.

What happens instead?
Scrolling up iterates backwards through command history.
Scrolling down iterates forwards through command history.
However, once you're at the "bottom" of command history, scrolling down causes the terminal to hang. It is not responsive to key strokes. After a few seconds, the terminal colors invert. After another few seconds the terminal is responsive again.
 

Comment 1 by varz@google.com, Aug 2 2017

Status: WontFix (was: Unconfirmed)
The scrollback behavior is because screen is enabling DECCKM (application cursor), so hterm is sending arrow keys when you scroll. See  crbug.com/323274 

You can turn off this behavior by disabling the scroll-wheel-may-send-arrow-keys preference. This setting will default to disabled in the near future, but while this "fixes" scrolling in screen it simultaneously "breaks" scrolling in vim/less/etc.

It sounds like your hang is followed by a vbell in screen and isn't a Secure Shell hang so much as a screen hang on the remote host.
Thank you! I am immediately more productive with that workaround :)

Sign in to add a comment