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 128837 - mouse button 6 and 7 scroll vertical
mouse button 6 and 7 scroll vertical
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal trivial
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2003-12-08 20:04 UTC by Helge Hielscher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Helge Hielscher 2003-12-08 20:04:58 UTC
In most applications (e.g. Nautilus) the horizontal scrolling with mouse is
support using mouse button 6 and 7.

Gnumeric does not scroll horizontal, but vertical.
Comment 1 Jody Goldberg 2003-12-15 06:53:50 UTC
scrollwheel == up/down
shift scrollwheel == left/right

It's pretty trivial to add this, but I'm unsure what shift should do.

4/5 == up/down
shift 4/5 == left/right
6/7 == ? left/right ?
shift 6/7 == ? up/down ?
Comment 2 Calum Benson 2003-12-17 11:01:21 UTC
FWIW, the only thing the (draft) HIG says about this is:

# If present on the mouse, the scrollwheel should scroll the window or
control under the pointer, if it supports scrolling. Initiating
scrolling in this way should not move keyboard focus to the window or
control being scrolled. [REMARK: If it supports both horizontal and
vertical scrolling, perhaps suggest unmodified scrollwheel should
scroll vertically, and Shift-scrollwheel should scroll horizontally.]

# Ctrl-scrollwheel-up should zoom into the window or control under the
mouse pointer, and Ctrl-scrollwheel-down should zoom out. Zooming in
this way should not move keyboard focus to the window or control being
zoomed.

Does it need to say anything else?
Comment 3 Jody Goldberg 2003-12-17 15:40:51 UTC
Calum : apparently it could use some extension to support multiple
scroll wheels.  If shift roll-#1 goes horizontal what does wheel #2 do
? and what does shift #2 do ?

/me conveniently ignores ctrl for now
Although, as long as you're listening what sorts of increments should
ctrl-scrollwheel zoom at ?  The small set of presets in the drop down
don't seem ideal.  Possibly +/- 10 or 25 % ?
Comment 4 Helge Hielscher 2003-12-17 16:50:14 UTC
Konqueror does it the following way:
-vertical scroll wheel scrolls vertical
-vertical scroll wheel + Alt button scrolls horizontal
-horizontal scroll wheel scrolls horizontal
-horizontal scroll wheel + Alt button scrolls horizontal
-vertical scroll wheel + Ctrl changes text size
-horizontal scroll wheel + Ctrl changes text size
-holding shift doesnt change scrolling or zooming
Comment 5 Jody Goldberg 2003-12-17 17:15:18 UTC
Ok so

ctrl + either wheel == zoom
and raw vert or horiz do what you'd expect.

That still leaves Shift and now Alt as wildcards.
What does kde do with shift-vert or shift-horiz ?
Comment 6 Helge Hielscher 2003-12-17 17:26:21 UTC
As said Konqueror ingnores a pressed shift. Dont know about other
KDE-Applications.
Comment 7 Jody Goldberg 2003-12-18 08:05:17 UTC
Blah.  Sorry.  Did not notice that last line.

A couple of points
1) I mistated gnumeric's behavior.
  It was using Alt to toggle vert -> horiz.

2) I'm not thrill with the asymetry in the konq approach
   alt-vert = horiz
   alt-horiz = horiz ??

3) XL seems to use shift for show/hide groups

For now I've done

    scroll vert = vert
alt scroll vert = horiz
    scroll horiz = horiz
alt scroll horiz = vert

Shift scroll == nothing, will be grouping

ctrl scroll == zoom in/out at 15% intervals
Comment 8 Jody Goldberg 2003-12-18 08:12:26 UTC
Fixed.