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

Problems with zooming in/out #1510

Closed
spyder-bot opened this issue Feb 17, 2015 · 13 comments
Closed

Problems with zooming in/out #1510

spyder-bot opened this issue Feb 17, 2015 · 13 comments

Comments

@spyder-bot
Copy link
Collaborator

From [email protected] on 2013-08-07T11:46:03Z

Spyder Version: 2.2.1
Python Version: 2.7.3
Qt Version: 4.8.2, PyQt4 (API v2) 4.9.4 on Darwin

What steps will reproduce the problem?

  1. Attempt to save document on mac with trackpad
    1. document zooms almost every time
    2. attempt not to pull out hair What is the expected output? What do you see instead? It would be fantastic to either be able to change to zoom command (say, to mod +/-) or simply disable the zoom via scroll option all together.

Please provide any additional information below

.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1510

@spyder-bot
Copy link
Collaborator Author

From [email protected] on 2013-08-07T09:47:15Z

I should point out, I suppose, that the save command is cmd+s, and the zoom command is cmd+scroll

@spyder-bot
Copy link
Collaborator Author

From [email protected] on 2013-08-09T04:36:17Z

Yeah, I also realized, after posting the feature request for the Ctrl + mouse wheel feature, that Ctrl + +/- is even more neat: https://code.google.com/p/spyderlib/issues/detail?id=1270&can=1&q=zoom&colspec=ID%20MS%20Stars%20Priority%20Modified%20Cat%20Type%20Status%20Owner%20Summary ... In fact, most text editors I know of (including the gnome terminal), have both of these. But I agree that it is nice if one can change the commands, in case you run into trouble.

@spyder-bot
Copy link
Collaborator Author

From [email protected] on 2013-08-09T09:16:28Z

Yes: changing the behavior is certainly critical.

I also realized/learned that new macs use "momentum" in scrolling, and the result of simply lightly brushing the trackpad/mouse in a scrolling direction while holding cmd (for saving, etc.) is zooming --with momentum--, leading to excessive scrolling.

I would suggest making the default behavior ctrl/cmd+ +/-, with an option to change it in preferences.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-08-09T19:49:30Z

Thanks for reporting. There is one thing I don't understand about your bug report: you need to hold ctrl and then use the mouse wheel to zoom in/out, so why is this activated by using just the trackpad?

I'm not opposed to do the change you suggested, I just want to understand better your problem.

Summary: Problems with zooming in/out (was: Turn off zoom)
Labels: Cat-Editor OpSys-OSX

@spyder-bot
Copy link
Collaborator Author

From [email protected] on 2013-08-10T11:39:37Z

On mac laptops (my peers have had this issue too) with their large trackpads, the action of holding the modifier key to save leads to an extra quarter second or so of simply holding the key down while not pressing "s". During this time, light brushes against the trackpad (say, with the side of a hand) either up or down can lead to the trackpad measuring "momentum" in a scrolling direction, causing zoom.. Does that make sense? I'm not sure how better to describe it.

@spyder-bot
Copy link
Collaborator Author

From [email protected] on 2013-08-10T12:50:03Z

I would like to add that I have the same issue using the magic mouse on a Mac. I usually hold down the command button to navigate the cursor by skipping words and to save. So when I accidentally flick my finger on the magic mouse surface the screen starts zooming in or out and it locks up ending up too zoomed in or zoomed out. Also returning to original zoom is tricky because the zooming in or out is not smooth. It doesn't happen often but it is very frustrating when it does. I think it would be better to control the zoom level only using the keyboard (using command(ctrl)+ or - for example). I hope this helps, thank you.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-08-10T14:32:45Z

Thanks dantiston, your explanation makes total sense now. I also think the best approach is to use Ctrl+{+,-} for zooming.

Pierre, what do you think about this one for 2.2.2?

Cc: pierre.raybaut
Labels: MS-v2.2.2

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-08-11T06:18:08Z

This issue was updated by revision d703c90266fa .

Status: Fixed

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-08-11T06:18:09Z

This issue was closed by revision 9b8196c92c6a .

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-08-11T06:18:25Z

Tested on Windows 8.

@endolith
Copy link

Is there a way to just disable mouse zooming? I don't know why anyone would ever want to zoom text once it's set to a usable font size.

@ccordoba12
Copy link
Member

@endolith, no, there isn't, sorry. What's the problem with that?

@endolith
Copy link

@endolith, no, there isn't, sorry. What's the problem with that?

Just that I trigger it by accident once in a while and then I have to find the setting to restore the normal size

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

3 participants