-
Notifications
You must be signed in to change notification settings - Fork 2
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
Zoom-in and out keyboard shortcuts are inconsistent or missing between Editor, Console, Files, Project, etc. #69
Comments
Hi @richlysakowski thank you for your feedback and willingness to help! I think that make sense to have this shortcuts consistent around the interface 👍 What do you think @spyder-ide/core-developers ? |
If several files are open in the editor, should all the files be zoomed in at the same time? The current behaviour is to zomm in only on the current file. |
Absolutely agree IMO; no reason for users to have to remember different shortcuts for every pane, particularly with the zoom shortcuts for the Console not mirroring one another.
I'd say yes, but this is fairly orthogonal to @richlysakowski 's issue, I think. |
A couple of comments about this:
|
Couldn't we just change them in QtConsole? In that case, the shortcuts aren't even internally consistent within the Console, beyond just not matching the other panes. For Files/Projects zooming could change the UI text size, but I'm not sure how easy/doable that is without some refactoring since its a native QWidget rather than being flat rendered content. |
Sure, that'd be the idea.
I think increasing font size without icon size would be really odd. Also, I don't know if it's feasible. |
👍
Yeah, I understand—I don't see it as a blocker on the rest of these changes. |
To provide some clarification (I hope).... Initially having the same keyboard shortcuts for all text-based window-pane widgets that do not have icons (i.e., Editor, Console, Help, Variable Explorer, Find, History). The Editor's keyboard shortcuts are the preferred ones for all text-based widgets (Zoom-in with Ctrl+, and Zoom-Out with Ctrl-) . The Control+ and Control- are consistent across webbrowsers, so these are favored over Ctrl-Shft- or Ctrl-Shft-. Zoom-in/Zoom-Out are also fairly frequent operations, so single-finger shortcuts are preferred over multi-fingered combinations. ######################### Keep up the good work! I love Spyder. I use it to train my students and for my own development work, because it offers a high level of functionality without the complexity or configuration issues of VScode or PyCharm. Thank you for actually looking into this. I will check back in on this later. |
Should we move this to the ux-improvements repo @ccordoba12 ? |
The only text-based panes are: Editor, IPython console, Help and History. Since it's not easy to provide zoom in/out functionality for the other panes (and it seems you find that very important), what if we instead provide keyboard shortcuts to do that for the entire interface? This could provide a more consistent experience for non-text based panes. |
Sure, let's move it there. |
@richlysakowski, could you explain why you'd like to see this functionality in Spyder for all panes? |
Description
What steps will reproduce the problem?
the Keyboard shortcut for Zoom-in on the Editor widget is Ctrl-+
the Keyboard shortcut for Zoom-out on the Editor widget is Ctrl--
the Keyboard shortcut for Zoom-in on the Console widget is Ctrl-Shift-+
the Keyboard shortcut for Zoom-out on the Console widget is Ctrl--
the Keyboard shortcut for Zoom-out on the Console widget SHOULD BE Ctrl-Shift--
there is NO Keyboard shortcut for Zoom-in on the Help widget
there is NO Keyboard shortcut for Zoom-out on the Help widget
It is Mouse Right-Click menu to Zoom-in and Zoom-out
there is NO Keyboard shortcut for Zoom-in on the Files widget
there is NO Keyboard shortcut for Zoom-out on the File widget
the Keyboard shortcut for Zoom-in on the Files widget is Ctrl-+
the Keyboard shortcut for Zoom-out on the Files widget is Ctrl--
Yes, I know... "Consistency is the hobgoblin of small minds"
However, in this case, having consistency here will be one less thing to think about or discover (especially for beginners)
Please do this when you have time (or send me instructions for how to do it 8^))
Versions
Dependencies
The text was updated successfully, but these errors were encountered: