Back to the main page.

Bug 1641 - ft_databrowser: implement magical mouse-wheel-scrolling

Reported 2012-08-08 17:43:00 +0200
Modified 2014-01-25 10:49:10 +0100
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 enhancement
Assigned to: Roemer van der Meij
Depends on:
Blocks: 2314
See also:

Roemer van der Meij - 2012-08-08 17:43:01 +0200

Make the magic happen. Regular scrolling: horizontal axis zoom in (up) and zoom out (down) Ctrl + scrolling: vertical axis zoom in (up) and zoom out (down)

Johanna - 2012-08-09 10:24:11 +0200

great idea! but I would place a vote for vertical scrolling by default and ctrl+scroll for horizontal. but maybe i'm just backwards.

Roemer van der Meij - 2012-08-09 11:00:15 +0200

I have positive feelings towards either implementation :p. Yours feels natural too, and the other is similar to how a browser works. Adding Eelke as well. Eelke, were you the one pursuing an overview of 'most common/expected' ui interactions?

Eelke Spaak - 2012-08-09 11:25:16 +0200

Yep, I'm working on such an overview. Expect it done either tomorrow or Monday :) As for the mouse wheel thing, I would vote for regular scrolling to actually result in scrolling the data (so no zooming there), whereas Ctrl+scrolling would result in zooming vertically. Then Ctrl+Shift+scrolling could result in horizontal zooming. This would also be consistent with what I'm pretty sure is the common/expected behaviour for zooming with keys, i.e., Ctrl++/- would be vertical zoom, Ctrl+Shift++/- horizontal zoom. But I'm still working on a definitive answer to these of course.

Roemer van der Meij - 2012-08-09 11:38:58 +0200

Hmmm, interesting. On my browser (chrome) btw, ctrl+shift scrolling is the same as ctrl+scrolling. Regular data-scrolling I'm gonna look at in bug 1642, if it is feasible to scroll/drag/whatever little bits at a time in a fluent way. If not, I don't think we should hook such a thing to scrolling/dragging.

Eelke Spaak - 2012-08-09 11:57:49 +0200

(In reply to comment #4) Agreed.

Roemer van der Meij - 2013-01-18 10:47:50 +0100

Eelke, I was looking through some of my old bugs. Did you manage to finish the overview? Comment 3 :)

Eelke Spaak - 2013-01-19 15:13:04 +0100

bug 1632