Wish : Double click middle mouse button to fit to screen.

Bug #1480868 reported by Chris Goddard
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Expired
Wishlist

Bug Description

Wish : Double click middle mouse button to fit to screen.

In Eeschema and PCBNew the middle mouse button/wheel is used for zooming in and out and dragging the view around. It would be quite convenient to add double clicking to fit the schematic/board to the screen (in Eeschema, PcbNew and GeberView).

Tags: starter
Chris Goddard (chriy)
Changed in kicad:
importance: Undecided → Wishlist
Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote : Re: [Bug 1480868] [NEW] Wish : Double click middle mouse button to fit to screen.

On Mon, 03 Aug 2015 12:49:49 +0200,
Chris Goddard wrote:
> In Eeschema and PCBNew the middle mouse button/wheel is used for zooming
> in and out and dragging the view around. It would be quite convenient to
> add double clicking to fit the schematic/board to the screen.

It could be done; in the meantime remember that that function is
available on the home key.

--
Lorenzo Marcantonio
Logos Srl

Revision history for this message
Chris Goddard (chriy) wrote :

Yes, and also on the tool bar as an icon, but while navigating I have my hand on the mouse so would make for much faster navigation. I'm used to it from AutoCAD and it's very useful.

Simon Richter (sjr)
tags: added: starter
description: updated
Changed in kicad:
status: New → Triaged
Revision history for this message
Troy Denton (trdenton) wrote :

Just assigned to myself - I've got a patch for eeschema, presently working on pcbnew to submit as a complete unit.

Changed in kicad:
assignee: nobody → Troy Denton (trdenton)
Revision history for this message
John Beard (john-j-beard) wrote :

While we're at it, would middle-click to centre-on-cursor (currently only on a key: F4) be useful? I often find myself zooming out and in to reposition on a point.

Revision history for this message
Gabriel Staples (ercaguy) wrote :

What I'm about to propose is major scope creep, so if we decide to propose it let's make it a new issue/wishlist item by itself:

what if we made a more universal solution that covers the above desired cases, as well as nearly anything else? Perhaps add a "Mouse Buttons/Gestures" column to the right of the Hotkey column in the Hotkeys Preferences menu? See attached image.

AGAIN, this is major scope creep. So if we decide this is a good idea let's make it its own wishlist item on a new bug report.

Revision history for this message
Troy Denton (trdenton) wrote :

Gabriel - I like that idea, and I do agree that the scope of it warrants a wishlist item of it's own.

I'm still plugging away at the original scope :)

Revision history for this message
John Gehrig (jdgehrig) wrote :

Hey Troy, I took a look at this one and came up with a solution a month or two ago... I stalled on submitting my changes to the mailing list.

I have attached a patch for your reference (still needs a once-over before check-in). The patch should enable Double-Middle-Click-Zoom for all of the apps (Legacy and GAL). I had some concerns over how much code I was adding, as this area has seen lots of code churn for the GAL updates. My approach effectively had middle-click implemented twice for each app.

You've claimed this bug, so it's yours if you want it. :)

Revision history for this message
Troy Denton (trdenton) wrote :

Hey John, thank you for the patch! I will take a close look at it - hopefully my efforts were not far off

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1988

Changed in kicad:
status: Triaged → Expired
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.