! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Scrollback resets on mod key combo press for changing X keyboard layot.
Status:
RESOLVED: INVALID
Product:
Xfce4-terminal
Component:
General

Comments

Description Kresp 2017-04-10 14:21:21 CEST
$ 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.
Comment 1 Kresp 2017-04-10 14:38:17 CEST
> 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.
Comment 3 Igor editbugs 2017-04-10 14:59:22 CEST
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.
Comment 4 Igor editbugs 2017-04-27 22:16:19 CEST
Seems to have been fixed upstream.

Bug #13488

Reported by:
Kresp
Reported on: 2017-04-10
Last modified on: 2017-04-27

People

CC List:
1 user

Version

Attachments

Additional information