$ setxkbmap -model pc104 -option:ctrl_shift_toggle en_US,ru Whenever X keyboard layout is set to toggle on modkey combo press, this key combination causes terminal scrollback to reset if option "Scroll on keystroke" is enabled. This is especially annoying if Ctrl+Shift is used as the switch combination, since it makes use of Ctrl+Shift+Up/Down to fine-scroll challenging. Since this are modkeys, they should not count as a keystroke within terminal. Especially since processing of those happens out of scope of xfce4-terminal by an outside application.
> static void > terminal_screen_update_scrolling_on_keystroke (TerminalScreen *screen) > { > gboolean scroll; > g_object_get (G_OBJECT (screen->preferences), "scrolling-on-keystroke", &scroll, NULL); > vte_terminal_set_scroll_on_keystroke (VTE_TERMINAL (screen->terminal), scroll); > } https://developer.gnome.org/vte/unstable/VteTerminal.html > Controls whether or not the terminal will forcibly scroll to the bottom of the viewable history when the user presses a key. Modifier keys do not trigger this behavior. This looks like bug in vte and not something that be fixed in xfce4-terminal. I'll try reporting this on gnome bug tracker.
https://bugzilla.gnome.org/show_bug.cgi?id=781130
Thanks for the report. Exactly, this seems to be a vte issue, not terminal's. You could confirm it by verifying gnome-terminal's behavior - it should be similar to what you've described here.
Seems to have been fixed upstream.