Open Bug 387038 Opened 17 years ago Updated 2 years ago

paste menu item is disabled but I can still paste

Categories

(Firefox :: Bookmarks & History, defect, P5)

x86
Windows XP
defect

Tracking

()

People

(Reporter: moco, Unassigned)

References

Details

paste menu item is disabled but I can still paste.

steps to reproduce:

1)  copy "foo bar" into your clipboard
2)  go to the bookmark organizer, right hand pane
3)  Edit | Paste is disabled
4)  do "ctrl + v" and on your console, you'll see:

*** == Paste (Aggregate) ==============
*** == Paste (Aggregate Ends) =========

The stack shows:

PAT_doTransaction()@chrome://browser/content/places/controller.js:1544
doTransaction([object Object])@:0
PC_paste()@chrome://browser/content/places/controller.js:1355
PC_doCommand("cmd_paste")@chrome://browser/content/places/controller.js:260
@:0

So we are calling doCommand() with "cmd_paste" even though the command is disabled.
WFM on Mac trunk... weird

Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/2007070911 Minefield/3.0a7pre
this actually causes
Error: uncaught exception: 2147746065

that is bug 484801
Depends on: 484801
Seems to still happen on Mac, latest nightly, though doesn't cause visible affects afaict.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.