OtterBrowser / otter-browser

Otter Browser aims to recreate the best aspects of the classic Opera (12.x) UI using Qt5
https://otter-browser.org
GNU General Public License v3.0
1.8k stars 277 forks source link

More options to Ctrl+Enter and Shift+Enter in address field #789

Open ersi-dnd opened 9 years ago

ersi-dnd commented 9 years ago

Otter works fine Ctrl+Enter and Shift+Enter when address field is in focus, but I think these should be configurable, because things like Private Tab and Private Window have come to stay and they should be accessible when address field is in focus.

I suggest somewhere in Preferences > Advanced there should be a way to configure Ctrl+Enter and Shift+Enter in address field. Their default is to open the entered address in background tab and new tab respectively, but there are all those other options that we should have access to:

These options are displayed in Preferenced > Advanced > Keyboard, but there they are probably only meant to work when a link is in focus. This will become useful only when/if workable spatial navigation is implemented.

rakiru commented 9 years ago

I find the Ctrl+Enter behaviour incredibly bizarre as is. Why does it affect the target tab? Every other browser uses it as auto-complete and have done for as long as I remember. It catches me out a lot. There should be a way to revert to this standard behaviour.

Emdek commented 6 years ago

@ersi-dnd, we can consider taking advantage of recently (and transparently) introduced contexts for keyboard shortcuts (right now every shortcut ends up in "generic" context).