Scroll wheel doesn't scroll (pan) but zooms

Bug #699634 reported by richardneill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA project
New
Wishlist
Unassigned
pcb
New
Wishlist
Unassigned

Bug Description

When I use my mousewheel to do a horizontal or vertical scroll, I expect PCB to pan the document, as happens in other GTK apps.

Actually, it zooms in and out. This is unexpected, less useful (there is a 'Z' key for that), and is also, imho, the wrong behaviour.

Tested with both the latest release and the latest git.
BTW, thanks very much for PCB - has been extremely useful in the last month :-)

Revision history for this message
DJ Delorie (djdelorie) wrote :

That's intentional. It used to scroll up/down but more people wanted the in/out way. Hold right-mouse to pan.

Revision history for this message
DJ Delorie (djdelorie) wrote :

Note also that you can edit your gpcb-menu.res to make the scroll wheel do anything you want :-)

Revision history for this message
richardneill (richardneill) wrote :

Thanks - I didn't know that! In general, the right and middle buttons do nothing in PCB, so I didn't think to use them!

As a way to make this more discoverable, might I suggest one of:
  - add a "mouse bindings" section to the info menu.
  - add an "xfig" style icon to the top right, that shows what each button will do in this context.
  - add a settings pref.

Also, I really really prefer the middle button to scroll (I use a thinkpad keyboard, where btn_2 + drag = hor/vert scroll), so I'd love to see a preference in the settings menu.

Lastly, the pan-with-right-button is implemented in the pdf-viewer way where one is dragging the board underneath the viewport, rather than scrolling the window. I see the logic, but the familiar way would make more sense to me.

My ideal setup would be:

   Z / Shift-Z = zoom in/out (also, for compatibility, Ctrl + mousewheel)
  Mousewheel: horiz/vert window scrolling
  Right mouse button - drag the board under the viewport.

Thanks again for your help.

Revision history for this message
DJ Delorie (djdelorie) wrote :

Feel free to add any of those options :-)

Revision history for this message
apoelstra (apoelstra) wrote :

The zoom behavior is consistent with other PCB tools on the market, as well as the Gimp and most drawing programs.

But I agree, this should be an option. And we should also have dual-axis scroll capability.

Revision history for this message
DJ Delorie (djdelorie) wrote :

moving to the feature request tracker for "easier configuration for scroll wheel"

Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.