Closed Bug 271496 Opened 20 years ago Closed 20 years ago

[Mac] both delete and del keys should delete bookmarks and history items

Categories

(Firefox :: Bookmarks & History, enhancement, P3)

PowerPC
macOS
enhancement

Tracking

()

VERIFIED FIXED
Firefox1.5

People

(Reporter: waynegwoods, Assigned: asaf)

References

Details

Attachments

(1 file)

In the Mac OS X version, in the bookmarks manager, the key to delete bookmarks
should be intuitively either delete or cmd-delete. It's currently set to cmd-d.

While it doesn't violate the Apple HIG, cmd-d is usually used for other things
in OS X. Delete is commonly used to delete items from lists (such as the
bookmarks manager in Safari, or mails in Mail), so it fits this use.
Furthermore, cmd-d is used to *add* a bookmark in the main browser window, so it
doesn't make sense for it to do the opposite in the bookmarks manager.

This is a duplicate of Mozilla Seamonkey bug 26543. I figured that Firefox would
probably require its own patch. If that's wrong, sorry for the bugspam, please
dupe it.
Target Milestone: --- → Firefox1.1
I should use bookmarks a bit more :) Cmd+D for delete!? The undo function is the
only reason it isn't a daatalose issue. On mac, this is expected to dupe the
selected item (I'm also not sure if ctrl+d is the expected keybinding on windows).

Anyway questions for front-end reviewers: do we want a duplicate function in the
Bookmarks manager? IMO no. Maybe on mac only?
Assignee: firefox → vladimir
Severity: minor → enhancement
Component: General → Bookmarks
QA Contact: firefox.general → mconnor
> (I'm also not sure if ctrl+d is the expected keybinding on windows)

no, i'd try "Del" first.

btw: isnt ctrl+d Add to Bookmark? so deleting them with the same Shortcut isnt
the best of all ideas ;)

I'd suggest changing it to ALL, since it should be "Del" on Windows too (no idea
what it should be on Linux, but i'd guess it should be Del there too)
Yes, it probably should be changed to del on Windows and Linux too. The
Seamonkey equivalent - bug 26543 - also covers all platforms.

The clash of uses for cmd-d (or ctrl-d for PC), is certainly an important issue,
which I mentioned in comment 1.

cheers
dep: bug 271766
Depends on: 271766
Assignee: vladimir → vladimir+bm
Blocks: macmeta
Actually, I can't even use cmd-d.  The only keyboard shortcut that works for me
is cmd-x, which replaces clipboard contents.  Cmd-delete would be ever so much
better.  Some apps use a confirmation dialog with the delete, no dialog with
cmd-delete, that's a good way to support power users.
Assignee: vladimir+bm → bugs.mano
Summary: [Mac] delete or cmd-del keys should delete bookmarks in Bookmarks Manager, not cmd-d → [Mac] both delete and del keys should delete bookmarks in Bookmarks Manager, not cmd-d
Attachment #182938 - Flags: review?(mconnor)
Status: NEW → ASSIGNED
Comment on attachment 182938 [details] [diff] [review]
patch - Add the missing key

Should this also be fixed for the history panel as well?  Under what
circumstances are the keys equal, and where are they not?
Comment on attachment 182938 [details] [diff] [review]
patch - Add the missing key

change the id to key_delete2, and add the same bit to history-panels.xul as
appropriate and we're in business. r=me on changes to both
Attachment #182938 - Flags: review?(mconnor) → review+
Attachment #182938 - Flags: approval-aviary1.1a2?
Comment on attachment 182938 [details] [diff] [review]
patch - Add the missing key

a=shaver.
Attachment #182938 - Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Whiteboard: [checkin needed - a2]
Blocks: deermac
Checking in components/bookmarks/content/bookmarksManager.xul;
/cvsroot/mozilla/browser/components/bookmarks/content/bookmarksManager.xul,v 
<--  bookmarksManager.xul
new revision: 1.28; previous revision: 1.27
done
Checking in components/history/content/history-panel.xul;
/cvsroot/mozilla/browser/components/history/content/history-panel.xul,v  <-- 
history-panel.xul
new revision: 1.32; previous revision: 1.31
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Priority: -- → P3
Resolution: --- → FIXED
Summary: [Mac] both delete and del keys should delete bookmarks in Bookmarks Manager, not cmd-d → [Mac] both delete and del keys should delete bookmarks and history items
Whiteboard: [checkin needed - a2]
the Delete key now deletes the selected item in the Bookmarks Manager and the
History Sidebar (but not the Bookmarks Sidebar). vrfy'd fixed with
2005060807-trunk deer park bits on OS X 10.4.1.
Status: RESOLVED → VERIFIED
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: