Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part editor has strange default zoom and lacks Ctrl+wheel shortcut #2286

Open
davidperrenoud opened this issue Aug 25, 2014 · 4 comments
Open

Comments

@davidperrenoud
Copy link
Contributor

From jerome.b...@gmail.com on November 01, 2012 11:30:16

Fritzing uses ctrl+wheel for zoom, but in the part editor this does not work. Tested windows/0.7.10b and linux/current svn.

When editing custom parts, zoom says "2000%" while the real display is incoherent with this value (the component is very small in the center, see attached image).

Attachment: bug-zoom-part-editor.png

Original issue: http://code.google.com/p/fritzing/issues/detail?id=2286

@davidperrenoud
Copy link
Contributor Author

From irasc...@gmail.com on November 01, 2012 08:49:21

Yes, because we use wheel events to navigate through the svg tree.

The zoom issue is also known--usually this will repair itself if you click on one of the zoom slider buttons.

Status: Accepted
Owner: irasc...@gmail.com
Labels: -Priority-Medium Priority-Low

@davidperrenoud
Copy link
Contributor Author

From jerome.b...@gmail.com on November 02, 2012 02:33:17

Thank you for the explanation. Indeed it works like you say when the first thing you do is to click on the zoom buttons. But if you do not know that, if you first click somewhere on the screen, move a little bit the view involuntarily by using the usual zoom shortcut, try to use the keyboard shortcuts, it sometimes (not always, I do not have yet a reproducible procedure to show) makes the zoom messy. When there is a user action on the window, it somehow validates the current position (which is not centered), and then and zooming to 2000× (you have no other choice when pressing the +/- buttons or shortcuts for the first time) will make the part go out of the view. Then you need to zoom out, center the design manually, then zoom in again. Which is cumbersome because you don't have the ctrl-wheel, which zooms around the pointer, while the +/- just zooms around the center, which makes it more difficult to fit the part in the view. And also because the "Zoom in window" menu item does not work.

@davidperrenoud
Copy link
Contributor Author

From jerome.b...@gmail.com on December 08, 2012 04:05:58

r6688 - use shift-wheel to navigate the svg in the parts editor. wheel without shift
does the normal zoom or pan.

The zoom issue is still here - sometimes - but this revision makes it easier to correct it.

@davidperrenoud
Copy link
Contributor Author

From irasc...@gmail.com on December 08, 2012 06:32:01

Thanks for the feedback. We should have used the shift-wheel to begin with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants