After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 118395 - Way to clear address bar without using mouse or affecting X clipboard
Way to clear address bar without using mouse or affecting X clipboard
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
: 419522 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-07-26 23:31 UTC by Reinout van Schouwen
Modified: 2013-12-15 14:44 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Add "Clear" to context menu popup (copied from galeon code) (2.57 KB, patch)
2004-11-08 13:54 UTC, Christian Persch
none Details | Review
screenshot (11.40 KB, image/png)
2004-12-16 13:31 UTC, Christian Persch
  Details

Description Reinout van Schouwen 2003-07-26 23:31:36 UTC
A small annoyance while browsing is that there is no way to clear the
location bar without altering the X selection, except positioning the
cursor at the end of the current URL with the mouse and pressing backspace
a long time.

Mozilla has a way to clear the location bar, by pressing Ctrl+w when the
location bar is focused. However this doesn't seem to be a very good idea
since this keycombo should be reserved for closing windows/tabs.  Dave
already explained me that we're not going to try working around X
limitations.. :P

So, I propose allocating Shift+Ctrl+l for this purpose: focus location bar
and clear it at the same time. It would have no UI impact at all but it
would make life a little bit easier. :-)
Comment 1 Mårten Woxberg 2003-09-15 12:54:19 UTC
I'd suggest adding a Clear button besides the Go button.
Comment 2 Nick Welch 2003-11-27 09:39:07 UTC
I think the combination of both actually would make the most sense. 
The key combo would be used sufficiently often that it makes sense to
be a key combo (not restricted to a button), while a button is nice
for people who either don't know the key bindings or don't want to /
can't use them for whatever reason.

And I would find the feature extremely helpful, as I often find myself
being frustrated having to hold down the backspace key forever just
because I fear wiping out the selection.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2003-11-28 06:14:01 UTC
I mildly incline to support a secret keybinding (although documenting 
it in the docs is probably a good idea), as long as it doesn't lead 
to ugly unmaintainable code. However, I'm strongly opposed to any 
type of "clear" button. While the x-selection mechanism is nice and 
is my *favorite* crack feature, I'm not willing to support 
sacrificing epiphany's ui for it at all.
Comment 4 Christian Persch 2004-06-01 14:27:24 UTC
We could add a "Clear" entry to the context menu, like galeon does.
Comment 5 Reinout van Schouwen 2004-06-01 14:55:17 UTC
chpe: a context menu entry would be fine (but shouldn't GTK handle that?!), but
the keycombo would be enough for me to mark this bug fixed. :)
Comment 6 John Arundel 2004-07-24 06:47:36 UTC
Shouldn't Ctrl-U be the shortcut for this just like in Netscape, Mozilla and
Firefox? In fact, it's the standard Emacs shortcut for 'clear line', but
Epiphany doesn't honour this when Gnome text editing shortcuts are set to 'Emacs'.
Comment 7 Christian Persch 2004-07-25 10:41:26 UTC
Ctrl-U is already in use (View Source), and Epiphany doesn't support emacs
keybindings (bug 108094).
Comment 8 Christian Persch 2004-10-13 10:55:02 UTC
Mass reassigning of Epiphany bugs to epiphany-maint@b.g.o
Comment 9 Christian Persch 2004-11-08 13:54:05 UTC
Created attachment 33551 [details] [review]
Add "Clear" to context menu popup (copied from galeon code)
Comment 10 spark 2004-12-16 00:13:46 UTC
chpe, is this patch ready to go in?
Comment 11 Christian Persch 2004-12-16 13:31:29 UTC
Checked in.

The patch adds the Clear entry at the top... maybe it should move after "Select
all" instead?
Comment 12 Christian Persch 2004-12-16 13:31:50 UTC
Created attachment 34894 [details]
screenshot
Comment 13 Reinout van Schouwen 2004-12-16 13:43:48 UTC
Possibly a toolbar widget for 'Clear entry' would be nice?

We wouldn't have to put it in the UI by default, but I think it would be helpful
for a significant amount of people.
Comment 14 spark 2004-12-16 13:52:22 UTC
I prefer the context click way to be honest. I think under Select All would be
best too.
Comment 15 Reinout van Schouwen 2004-12-16 13:59:47 UTC
Yes, the context menu item and shortcut key should definitely stay. I was just
suggesting an additional toolbar widget.
Comment 16 Christian Persch 2004-12-16 14:09:50 UTC
I've moved it after Select All now.

About a toolbar item: its place would be in the location entry toolbar, but
having a button there would enlarge the toolbar (it's text-only size). Also,
it's a bit unnecessary, IMHO. Convince me :)

Comment 17 Reinout van Schouwen 2005-07-27 21:11:45 UTC
If Shift+Ctrl+L can be made to focus the address bar and clear it without
affecting the X clipboard, I'm happy with that solution.
Comment 18 Reinout van Schouwen 2005-08-03 12:38:54 UTC
Adjusting summary.
Comment 19 Reinout van Schouwen 2005-11-30 11:55:01 UTC
Updating fields.
Comment 20 Andrew Conkling 2006-04-24 12:00:38 UTC
What about a libsexy icon at the right?  Rhythmbox 0.9.4 has this and it's slick with very minimal UI impact.  I don't like the idea of a toolbar button; yuck. ;)
Comment 21 Diego Escalante Urrelo (not reading bugmail) 2006-08-17 01:41:08 UTC
Andrew:
Libsexy can't be used because location bar needs more than libsexy offers.

The little icon ala rhythmbox would conflict with a possible bookmark icon (planned in bug #350853) or maybe a feed icon?

Maybe this should be closed.
Comment 22 Diego Escalante Urrelo (not reading bugmail) 2006-09-09 07:00:47 UTC
The last Reinout comment seems like a good idea, even with the Clear entry in the popup menu you still have to hit Control+L to get to that widget so your selection is lost.

What do you think, is this a good idea?
Comment 23 Reinout van Schouwen 2007-03-18 00:44:38 UTC
*** Bug 419522 has been marked as a duplicate of this bug. ***
Comment 24 Reinout van Schouwen 2007-04-27 23:49:58 UTC
updating version.
Comment 25 Benzo 2007-06-02 04:19:08 UTC
I think the solution could be just opening every tab with an empty address bar but at the same time loading the home page.
This solves this bug because you will neither use the mouse nor affect the X clipboard. It will be helful to someone that just want to browse using the mouse because having to press a combination of keys to clear the address bar... lets see this:
- You highlight an URL (using your mouse)
- Open new tab (could be press the new tab button or control+T, so both)
- Press a combination of keys to clear the address bar (keyboard)
- Press middle button of the mouse to copy the URL (mouse)

This gets in the way of a guy that uses just the mouse
With just an empty bar this guy:
-

If you want to browse just with your keyboard there is no problem: Control+T, control+L and start writing the URL

To conclude, which is the point to have the address bar filled in every new tab? Firefox default's behavior has an empty address bar here.
Comment 26 Fabio Durán Verdugo 2011-08-24 03:21:31 UTC
Is this still relevant with the webkit version?
Comment 27 Reinout van Schouwen 2012-05-04 22:06:34 UTC
(In reply to comment #26)
> Is this still relevant with the webkit version?

AFAIK, yes.
Comment 28 Wouter Bolsterlee (uws) 2012-05-06 20:11:05 UTC
Would a simple "ctrl-shift-L" that clears the entry before focusing it work?
Comment 29 William Jon McCann 2013-12-15 14:44:07 UTC
There is a Clear item in the context menu. Menu can be invoked using Shift+F10. "e" accelerator key.

Or just use Control+A, Backspace.