GNOME Bugzilla – Bug 793824
Remove tab scrolling workaround
Last modified: 2018-06-12 14:06:02 UTC
"Tab scrolling was removed from GtkNotebook in gtk 3, so reimplement it here" – says gnome-terminal twice: for the regular terminal tabs, and for the profile prefs. There's at least two problems with this feature: 1. Movement along both axes are handled. Vertical moment is converted to horizontal so that the traditional mouse wheel is usable. Handling horizontal is desired for the more intuitive behavior with touchpads. This results in "/"-diagonal touchpad movement crazily jumping back and forth between tabs. Even if the finger movement is intended to be horizontal or vertical, small deviations might cause occasional steps in the opposite direction. (This is actually a pretty common usability bug present on plenty of webpages.) 2. With "natural scrolling", the behavior is the opposite of what's expected. The mapping of up->right and down->left is at least unusual, but swapping left and right is just bad. I'm not sure but at first glimpse it doesn't seem to me that scrolling events have a "natural" flag, so we'd need to keep an eye on the GNOME-wide setting in order to swap it back. I _guess_ that these might have been some of the reasons why GTK+ decided not to handle physical scroll events where their interpretation would be something else than actually scrolling some contents. I vote for just accepting GTK+'s decision here, and not workaround in a way that has these two problems. (Plus, it doesn't work on the merged prefs's sidebar, and I really don't feel like adding this workaround there too, even despite that it wouldn't suffer from the diagonal issue.)
(In reply to Egmont Koblinger from comment #0) > I _guess_ that these might have been some of the reasons why GTK+ decided > not to handle physical scroll events where their interpretation would be > something else than actually scrolling some contents. (Well, this is not quite true, e.g. scrolling events are handled in numeric entry boxes (such as initial terminal size). And "natural scrolling" also swaps the direction here, making it pretty unintuitive.)
Ok with me.
IMHO let's not do this last minute during UI freeze :) Targeted for 3-29.
Regarding [1]. There are users having no problems with tab scrolling but having them without it. This is the essential feature for usability with more than a few tabs. [1] "notebook: Remove tab scrolling workaround" https://gitlab.gnome.org/GNOME/gnome-terminal/commit/b1b26a1d3f333171c3a2a0c14d93b14b38054e6d