Closed Bug 417961 Opened 18 years ago Closed 18 years ago

ctrl-z in content window can undo last bookmarks action

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: ajschult784)

Details

Attachments

(2 files)

Because the bookmarks context menu (for the bookmarks menu) is always active, it will happily attempt to undo the last bookmarks transaction whenever you hit ctrl-z in the content window unless you're focused on a text input. One thing to do here is to give the BookmarksMenuController its own list of commands it supports via supportsCommand, rather than using BookmarksController.supportsCommand. I can do that if it sounds reasonable. But the more important thing is to do what I've attached, which makes BookmarksMenuController only active when the context menu is active.
Attachment #303758 - Flags: review?(neil)
Comment on attachment 303758 [details] [diff] [review] only activate controller with context menu I wouldn't mess around with the controllers, simply allowing only the cmd_bm_ commands in supportsCommand sounds fine to me.
Attachment #303758 - Flags: review?(neil) → review-
expandfolder is obviously not supported. ...so what's so scary about controllers?
Assignee: nobody → ajschult
Status: NEW → ASSIGNED
Attachment #304159 - Flags: review?(neil)
Attachment #304159 - Flags: review?(neil) → review+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: