Find in page should not be the receiver of global shortcut keys
-
If you try to go back to the last page with the shortcut key when the "find in page" is in focus then the shortcut key wont work. The "find in page" input should not be the receiver of the global shortcut keys and you should still be able to go back for example. Thanks
-
I don't think I am following you. You are talking about the shortcut from Vivaldi Preferences->Keyboard->Page->History Back, correct? The default binding for that shortcut in most browsers including Vivaldi is ⌘Arrow Left, which is also the systemwide shortcut for "Move the text cursor to the beginning of the line".
That is why in all browsers I just tried (Vivaldi, Firefox, Safari), Cmd-Arrow Left moves the cursor to the beginning of the line in the find in page field, as it should, if that is already activated.
The behavior is the same if a regular text field in a web page is active: if I hit ⌘Arrow Left now as I am typing this, my cursor (fortunately!) gets moved to the beginning of the current line, instead of the page being pulled from under my feet to go back to the previous one in the browser history.
-
The shortcut to go back in history is not cmd+arrow, it is cmd+[ and cmd+]
https://www.domainit.com/tools/mac-shortcuts.mhtml
http://www.idownloadblog.com/2015/08/24/10-safari-keyboard-shortcuts-that-everyone-should-know/It will work with any web browser on Mac.
And they should work even when the "find in page" is in focus
Thanks
-
On some Non-US keyboards, ⌘[ either does not work (because it is the same as, for instance, ⌘⌥5) or is very uncomfortable to reach, which is probably why ⌘Left has become a very popular (the de-facto?) shortcut for history back that is supported by most browsers. Most windows browsers also support Ctrl/Alt-Left (don't remember which one) for history back.
Fortunately, you can add ⌘[ yourself easily as an additional shortcut for history back at: Vivaldi Preferences->Keyboard->Page->History Back. That shortcut, in contrast to ⌘Left, does actually work even when the Find in Page window is active. At least it does in the current developer shapshot; I don't know about older versions of Vivaldi.
You are absolutely correct in one regard, though: Vivaldi should definitely add ⌘[ as an additional default shortcut for history back and ⌘] for history forward.
-
Well for me ⌘[ and ⌘] work in Vivaldi (1.2.490.27 (Developer Build) (64-bit))
But they dont when the "find in page" has focus.I did not set any keyboard shortcut in the preferences!
-
Wow, this is very interesting. You are right, even if you don't add ⌘[ as a keyboard shortcut for history back in Vivaldi, it still sort of works. Sort of, because you then experience the problem you have described that the shortcut does not work when Find in Page is active.
However, if you manually add ⌘[ as a shortcut for history back, as I described above, then that problem disappears and the shortcut also works when Find in Page is active.
So, as I wrote above, the Vivaldi devs should definitely add ⌘[ as an additional official default shortcut for history back and ⌘] for history forward. In the meantime, you can add those two yourself and that should eliminate the problem on your Mac.
-