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 351100 - add keyboard shortcut to delete bookmark/topics
add keyboard shortcut to delete bookmark/topics
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Bookmarks
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 529081 (view as bug list)
Depends on:
Blocks: 755378
 
 
Reported: 2006-08-12 21:58 UTC by Benoît Dejean
Modified: 2016-09-28 16:34 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Implements control+T as default delete shortcut (645 bytes, patch)
2006-11-11 05:36 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
Changes the Delete item position and also gives it a default shortcut (3.91 KB, patch)
2007-06-05 20:39 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review

Description Benoît Dejean 2006-08-12 21:58:53 UTC
Hi, i'm using 2.14.3 on my ibook and it's not handy to delete a lot of bookmarks / folders because i don't have a DEL key, therefor i have to click on every folder to remove them. Please consider adding a shortcut (Ctrl+T like nautilus, or Ctrl+D like evolution) to delete bookmarks and folders. Thanks.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2006-08-15 08:02:38 UTC
Sounds good, but ctrl+t and ctrl+d are in use. Maybe HIG says something about this?
Comment 2 Reinout van Schouwen 2006-08-15 08:27:41 UTC
Maybe 'Delete' should be added to the Edit menu, so anyone can assign their own shortcut using the method GTK provides.
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2006-10-03 10:17:53 UTC
Actually, it's there.
File > Delete.

The GTK+ feature of changing the accelerators is not well known however...

Should this have a default shortcut?.

Nautilus uses Ctrl+T.
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2006-11-11 05:36:24 UTC
Created attachment 76368 [details] [review]
Implements control+T as default delete shortcut

After thinking a while, I thought that having the same shortcut that Nautilus has would be a good idea.
I came to think that maybe new tab can be confused with this, but the bme is in a totally different context and I can't see someone trying to open a new bme tab. Also there's already a menu item for opening in tabs that is shift+control+O. 

Anyway, the patch indicates where to do the change if control+T is proved to not be the best shortcut.
Comment 5 Christian Persch 2006-11-11 13:58:53 UTC
Hmm... in nautilus Ctrl-T moves to trash, from where you can undo, but we have no undo...
Comment 6 Reinout van Schouwen 2006-11-13 09:16:18 UTC
Diego: can you also add a Delete item to the Edit menu (cf comment #2)?
Comment 7 Reinout van Schouwen 2006-11-13 09:17:18 UTC
Related: bug 164071
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2006-11-13 09:55:11 UTC
Reinout:
You say that Delete should be in Edit instead of File?
Comment 9 Reinout van Schouwen 2006-11-13 12:13:05 UTC
You're right! It's in the File menu. I wouldn't have thought of looking for it there. :-/ The same thing for Rename. I would expect these in the Edit menu. 

Opinions?
Comment 10 Christian Persch 2006-11-23 17:39:10 UTC
Delete should probably be in Edit, yes.
Comment 11 Diego Escalante Urrelo (not reading bugmail) 2006-12-20 06:33:00 UTC
So, what are we going to do, we are close if not after the freeze?.
Comment 12 Diego Escalante Urrelo (not reading bugmail) 2006-12-26 09:32:36 UTC
Then it's a minimal change to data/ui/epiphany-bookmark-editor-ui.xml file.
The file data/ui/epiphany-history-window-ui.xml should be changed too for consistency.

The default shortcut patch can still be applied separately.

A possible shortcut could be control+shift+D (since control+D bookmarks). But it's too long... maybe control+K or control+J?
Comment 13 Christian Persch 2007-03-12 12:25:24 UTC
Moving to 2.20 target due to feature and UI freeze for 2.18.
Comment 14 Reinout van Schouwen 2007-03-28 08:51:28 UTC
Diego, ping?
Comment 15 Diego Escalante Urrelo (not reading bugmail) 2007-04-04 05:40:46 UTC
We just need to agree on what will be the shortcut, it's a one liner.
Comment 16 Reinout van Schouwen 2007-04-04 08:49:34 UTC
We already have a shortcut, the Del key. Is there a reason why we cannot simply display that?
Comment 17 Diego Escalante Urrelo (not reading bugmail) 2007-04-04 09:01:43 UTC
The problem was that some keyboards doesn't have the Del key.
Comment 18 Reinout van Schouwen 2007-04-04 09:04:06 UTC
In that case I suggest to follow the nautilus shortcut. The fact that we don't have undo is a separate bug.
Comment 19 Reinout van Schouwen 2007-05-31 23:19:24 UTC
setting to NEW.
Comment 20 Diego Escalante Urrelo (not reading bugmail) 2007-06-05 20:39:39 UTC
Created attachment 89434 [details] [review]
Changes the Delete item position and also gives it a default shortcut

I intend to commit this.
Comment 21 Diego Escalante Urrelo (not reading bugmail) 2007-06-05 21:56:03 UTC
Committed to trunk as revision 7076.

2007-06-05  Diego Escalante Urrelo  <diegoe@gnome.org>

        * src/ephy-history-window.c
        * src/bookmarks/ephy-bookmarks-editor.c
        * data/ui/epiphany-history-window-ui.xml
        * data/ui/epiphany-bookmark-editor-ui.xml:

        Assign control+T as default delete shortcut. Also move the Delete item
        to Edit menu. Bug #351100.

Btw, does separators in History window need a name?:

<separator name="EditSep2"/>
Comment 22 Reinout van Schouwen 2008-04-22 22:59:53 UTC
*** Bug 529081 has been marked as a duplicate of this bug. ***
Comment 23 Victor Osadci (Vic) 2008-09-26 13:53:13 UTC
I'd like to reopen this bug to propose the change of "Ctrl+T" to something else.

Nautilus already gave up on it ( see bug 156915 ) as it is too easy to delete files, and the shortcut in normally associated with opening tabs, not deleting. This is even worse for epiphany as the action can't be undone.
Comment 24 Michael Catanzaro 2016-09-28 16:34:02 UTC
Hm, maybe still need a better solution for this, but a keyboard shortcut is probably not the right way, given the new design. Also, with a shortcut we'd have to use a confirmation dialog to avoid data loss, which would be unfortunate.