After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 132197 - Horizontal Scrolling Using Modifier Key and Scroll Wheel
Horizontal Scrolling Using Modifier Key and Scroll Wheel
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
2.3.x
Other Linux
: Normal enhancement
: Small feature
Assigned To: gtk-bugs
gtk-bugs
scrolling
Depends on:
Blocks:
 
 
Reported: 2004-01-22 14:45 UTC by Kevin Duffus
Modified: 2015-03-18 00:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scrolled window: Use shift to modify scroll direction (2.37 KB, patch)
2015-03-17 12:56 UTC, Matthias Clasen
committed Details | Review

Description Kevin Duffus 2004-01-22 14:45:03 UTC
It is possible to scroll horizontally using a mouse wheel if the cursor is
current over the horizontal scrollbar. Having the ability to place the
cursor anywhere in a GtkScrolledWindow widget rather than a small area is,
I believe, better for accessibility. A modifier key such as Alt, or Ctrl
(configurable?) could make this possible. After some investigation. I've
found that GIMP (Ctrl+scroll wheel), and Gnumeric (Alt+scroll wheel) both
implement this feature independently.

BTW, all QT apps have this feature enabled as default. Alt is used as the
modifier.
Comment 1 Sitsofe Wheeler 2005-11-13 16:24:28 UTC
This has also been discussed on the mailing lists here:
http://mail.gnome.org/archives/usability/2005-May/msg00130.html
Comment 2 Murray Cumming 2007-05-04 20:10:21 UTC
Adding the accessibility in case the accessibility people have an opinion about this.

It would be nice if someone could summarize the discussion, so we know if there is a consensus about what should be done.
Comment 3 Lapo Calamandrei 2015-03-17 11:17:19 UTC
This would be really nice to have, especially considerig the new overlay scrollbars, not just for a11y reasons. 
Shift+scrollwheel is probably the best option since it's what at least gimp and inkscape use. As a bonus we will have the same combo for all gtk+ apps, avoiding custom implementation using different modifiers causing confusion to users.
Comment 4 Matthias Clasen 2015-03-17 12:56:21 UTC
Created attachment 299595 [details] [review]
scrolled window: Use shift to modify scroll direction

It has been a long-standing request to interpret scroll events
with Shift held down as horizontal instead of vertical, and
some applications are already doing this on their own.
Comment 5 Matthias Clasen 2015-03-18 00:50:50 UTC
Attachment 299595 [details] pushed as d823c39 - scrolled window: Use shift to modify scroll direction