tabby icon indicating copy to clipboard operation
tabby copied to clipboard

When `Scroll on input` is enabled, tabby will also scroll to end when lost force(with no input)

Open yyjdelete opened this issue 1 year ago • 1 comments

Describe the problem: [A clear and concise description of what the bug is.] When Scroll on input is enabled, tabby will also scroll to end when lost force(with no input) Tested with Tabby 1.0.215 + win11(24H2) image

To Reproduce:

  1. Enable Settings/Terminal/Scroll on input(Scrolls the terminal to the bottom on user input)
  2. open an new terminal, and press Enter until the output is more than a screen
  3. scroll to the head, and switch to another program;
  4. Switch back to tabby, and see it's already scroll to the end

yyjdelete avatar Nov 01 '24 05:11 yyjdelete

Click the window to automatically scroll to the bottom

Alan3344 avatar Dec 25 '24 15:12 Alan3344

Click the window to automatically scroll to the bottom

The problem is that it scrolls to the botton, even it shouldn't

I have a similar problem, I have tabby on one half of the screen and my vscode on the other half. When I run some tests and I try to scroll up to see what failed and then click to my vscode to see the actual code, Tabby scrolls down, and I am not able to see the part I wanted without turning of the "Scroll on input"

matejkostros avatar Apr 04 '25 12:04 matejkostros

Got the same issure

XavierNie715 avatar Apr 09 '25 10:04 XavierNie715

Same here. Scroll up. Alt-tab to a different app. Alt-tab back -- Tabby is scrolled to the bottom again (even without new output).

w3sip avatar Jun 12 '25 22:06 w3sip

Seems it only happen on windows and conpty is enabled(enable by default) xterm try to send \x1b[I/\x1B[O when sendFocus is true, but tabby not ignore this event

https://github.com/xtermjs/xterm.js/blob/c4b707e9ca8ba8e27cecb859fe80ccebeca7375a/src/browser/CoreBrowserTerminal.ts#L270-L272

https://github.com/Eugeny/tabby/blob/93e43067de6aa48d71e1fbb0cbb4168a6949a926/tabby-terminal/src/api/baseTerminalTab.component.ts#L492-L500

yyjdelete avatar Jun 27 '25 05:06 yyjdelete