Request: Ctrl+Enter adds "www" and ".com"

Bug #734581 reported by ABC
68
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Wishlist
Unassigned

Bug Description

Request that pressing ctrl+enter on the keyboard will add "www" and ".com" to the address bar, and then go to that address, like in Firefox, Chrome, and IE.

Related branches

Michael Moroni (airon90)
tags: added: addressbar
removed: address bar keyboard shortcut wishlist
Changed in midori:
importance: Undecided → Wishlist
Revision history for this message
donald iljazi (1lj4z1-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

that is very handy.

Revision history for this message
Eric Pritchett (eric.pritchett) wrote :

Additionally, you have SHIFT + ENTER for .net and CTRL + SHIFT + ENTER for .org. This would be very helpful.

Revision history for this message
Marin (marin-m) wrote :

Here's a patch.

Revision history for this message
Marin (marin-m) wrote :

With the right TLDs.

Revision history for this message
Cris Dywan (kalikiana) wrote :

g_strconcat returns a newly allocated string, so it has to be stored in a variable and freed after g_signal_emit.

MIDORI_MOD_NEW_TAB (event->state) translates to "press Control to open a new tab" and thus doesn't make any sense the way the patch is written.

Typing an actual URL will result in http://www.http//world.com for example.

Now to a more fundamental problem: the "new tab" modifier.

Firefox, Chrome, Arora: Alt
Epiphany, Midori: Control
Opera: Shift

Does Internet Explorer use Alt as well?

I guess I could be grinding my teeth and agree on going for what the majority of browsers seem to agree on, if it means having the exact same keys.

Changed in midori:
status: New → In Progress
assignee: nobody → Marin (marin.m)
Revision history for this message
ManDay (manday) wrote :

I would not like that. It's a personal, very assymetric suggestion. If you want such thing, I'd like if you get it as your very own plugin. I do not wish to auto-complete arbitrary (random) pre- and suffixes. COM and NET are not the most important domains and by far not the only ones, and I do not wish to have such nonsense bloating up Midori for no good use.

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

@ManDay: Just a comment. You say “COM and NET are not the most important domains...” What? This bug report marks a basic feature on web browsing for many users. If yoou want to get users, do the possible for implementing this simple feature. Doing that, you will not “bloat up” Midori.

Revision history for this message
Cris Dywan (kalikiana) wrote :

.com and .net are not in fact the most important domains, this highly depends on your location and locale. Which is why I personally have a hard time relating to the use case. This is a bit like saying "case insensitive search is awesome" to a Japanese or explaning the attractiveness of the male body to a heterosexual male. It's subjectively either awesome or useless.

Revision history for this message
ManDay (manday) wrote :

your metaphors are... unique. that much i have to say.

Revision history for this message
chris chan (cryptopsy-deactivatedaccount) wrote :

This isn't that useful if we have a completion feature for previous viewed websites. For example, if "http://www.cats.com" , then press the completion key, if there are "http://www.cats.com" and "http://www.cats.net" in your history it should show a drop-down menu like it does for boomarked URLs. If there are no matches, it already shows a "Search with ..." link, which is useful IMO.

If the user is browsing undiscovered websites, then perhaps this feature should see which domains exist, and generate the ambiguity drop-down list based on that, in which case it should be an extension instead.

A different key combination for each generic top-level domain is a bad idea because it is not extendable (are we going to have different key bindings for each gTLD and protocol? i don't think so).

Can we agree that if a feature is adopted, but no key combination is decided, that it can be adopted without a default key combination (the user chooses his own from available keys in their own setup)?

Revision history for this message
Cris Dywan (kalikiana) wrote :

I think if there is no default hotkey, most people aren't going to use it. So I would rather go for either known hotkeys or something smarter, like better completion.

Perhaps completion should offer the most likely tld's based on history? So if the user usually opens .com and .net domains, typing "foobar" would offer "foobar.com" and "foobar.net".

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

I've read through the comments here and can see both sides. Just curious: would this be technically possible to implement in an extension? If so, I think that would be the best route to take since it is a.) somewhat locale-dependent, and b.) imitating other browsers.

Revision history for this message
Cris Dywan (kalikiana) wrote :

I think a patch to have 2 or 3 localized completions or maybe even the 3 most used domains according to the history would be very nice. It would be more universal and discoverable - if that still doesn't convince proponents of the hardcoded hotkeys you may convince me that it won't hurt to add them anyway.

Cris Dywan (kalikiana)
Changed in midori:
status: In Progress → Confirmed
assignee: Marin (marin.m) → nobody
Revision history for this message
RobinJ (robinj) wrote :

That's a major feature that's missing for me. And yes, it WILL actually keep me from using Midori as my default browser.

Revision history for this message
Cris Dywan (kalikiana) wrote :

To re-iterate since this is a frequently asked feature request: either this can be implemented as autocompletion like described above, or it needs to be an extension because it otherwise conflicts with other features. See the related branch for the latter option.

Revision history for this message
Daniel Antonio (souliaq) wrote :

I don't understand, if this is really useless, why Firefox, Chrome and IE has it?, besides I live in Colombia and a lot of domains still .com like elespectador.com, eltiempo.com, etc. Today I installed Bodhi 2.4.0 and is really annoying the lack of this little feature.

Cris Dywan (kalikiana)
Changed in midori:
milestone: none → 0.5.8
RabbitBot (rabbitbot-a)
Changed in midori:
status: Confirmed → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.