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

Add keyboard shortcuts for better navigation #703

Closed
atleta opened this issue Mar 15, 2017 · 8 comments
Closed

Add keyboard shortcuts for better navigation #703

atleta opened this issue Mar 15, 2017 · 8 comments

Comments

@atleta
Copy link

atleta commented Mar 15, 2017

Hi,

I really miss the following shortcuts for a faster, more efficient (and trackpoint/trackpad/mouse free) use:

  • F3 for find next in the documentation window. At the moment find only works as long as the find popup is open and it always (re)starts searching from the top of the page. However, while the popup is open, you can't navigate using the keyboard (PgUp/Dn or cursor keys).
  • Ctrl+PgUp/Dn for navigating between the tabs
  • A shortcut for getting back to the document viewer from the document search input field (after pressing Ctrl+K)
  • Maybe a shortcut for starting a search so that the whole search string is selected, including the docset name. Maybe this could simply be done when pressing Ctrl+K the second time. (Yep, it can be achieved with Ctrl+A after Ctrl+K)
@trollixx
Copy link
Member

trollixx commented Jan 7, 2018

With the new search toolbar coming in 0.6.0 search no longer resets every time the toolbar is closed.

@trollixx trollixx self-assigned this Jan 7, 2018
@skorokithakis
Copy link

Also, please add a keyboard shortcut to close the window. Right now I have Super+Z set to open Zeal, but I need to extend my fingers to press Alt+F4 to close it, which is not very comfortable. Being able to set a shortcut key to hide the window (not quit the app) would be great, or at least to remap Esc to "hide Zeal".

@SKoschnicke
Copy link

@skorokithakis at least on Linux I can quit the app also by pressing Ctrl-q.

@espdev
Copy link

espdev commented Sep 26, 2023

I'd also like to add:

  1. "Super" (windows) key modifier cannot be used in the global shortcut to show Zeal. I would like to set Super+Z for showing Zeal and hiding Zeal using the same shortcut
  2. It would be nice to have a shortcut to quick return to search bar (set focus on the search bar) on the tab

@atleta
Copy link
Author

atleta commented Sep 26, 2023

@espdev it might be your system/setup. I use ctrl+super+space for showing and hiding Zeal.

@espdev
Copy link

espdev commented Sep 26, 2023

@atleta On Windows I cannot set a shortcut with "Super", the shortcut just do not typed in the field. Ctrl+, Alt+, Shift+ work, any combination with Super does not work.

Shortcuts with "Super" work fine in other applications.

@trollixx
Copy link
Member

trollixx commented Oct 5, 2023

Current status:

F3 for find next in the documentation window. At the moment find only works as long as the find popup is open and it always (re)starts searching from the top of the page. However, while the popup is open, you can't navigate using the keyboard (PgUp/Dn or cursor keys).

Not done. Search toolbar needs to proxy some keys to the web view. This worked for Qt WebKit, but was broken by migration to Qt WebEngine.

Ctrl+PgUp/Dn for navigating between the tabs

Implemented.

A shortcut for getting back to the document viewer from the document search input field (after pressing Ctrl+K)

Enter does this.

Maybe a shortcut for starting a search so that the whole search string is selected, including the docset name. Maybe this could simply be done when pressing Ctrl+K the second time. (Yep, it can be achieved with Ctrl+A after Ctrl+K)

Not done. This was supposed to be fixed for #1033. It works for Ctrl+L, but not Ctrl+K. Will fix.

trollixx added a commit that referenced this issue Oct 5, 2023
The smart selection logic implemented for #1033, for some reason
did not work for Ctrl+K. Calling selectAll() asynchronously
fixes that.

Related to #703.
trollixx added a commit that referenced this issue Oct 5, 2023
Fixes regression introduced by migration to Qt WebEngine,
which caused search toolbar not to propagate navigation keys
to the web view.

Related to #703.
@trollixx trollixx closed this as completed Oct 5, 2023
@trollixx trollixx added this to the 0.7.1 milestone Oct 5, 2023
@trollixx
Copy link
Member

trollixx commented Oct 5, 2023

Marking fixed for v0.7.1.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

5 participants