Closed
Bug 384968
Opened 17 years ago
Closed 17 years ago
generating context menus that don't do the right thing when you right click on dom nodes without places nodes
Categories
(Firefox :: Bookmarks & History, defect, P2)
Tracking
()
VERIFIED
FIXED
Firefox 3
People
(Reporter: moco, Assigned: asaf)
References
Details
(Keywords: dataloss, Whiteboard: [has patch][has reviews])
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
generating context menus that don't do the right thing when you right click on dom nodes without places nodes
steps to reproduce:
a) you right click on "Bookmark This Page"
b) or in between separators (see bug #382136)
mano writes:
we can either fix that menu to work right, or not show a menu at all.
in fx2, it does not show a context menu when you right click a static menu item, but if you right click the menupopup it show a [Open, Open In New Window, Open In New Tab] context menu, all do nothing.
Assignee | ||
Comment 1•17 years ago
|
||
Assignee: nobody → mano
Status: NEW → ASSIGNED
Assignee | ||
Updated•17 years ago
|
Attachment #268890 -
Flags: review?(sspitzer)
Reporter | ||
Comment 2•17 years ago
|
||
Comment on attachment 268890 [details] [diff] [review]
patch
<sspitzerMsgMe> ok, so while testing
<sspitzerMsgMe> I opened up the bookmarks menu
<sspitzerMsgMe> right clicked on "bookmark this page", and I did not get a context menu (good)
<sspitzerMsgMe> but before closing the menu, I right clicked on "get bookmark addons" and I didn't get a context menu with the proper commands enabled.
<sspitzerMsgMe> additionally, when checking the "right click in between separators" I got a context menu.
<Mano> oh, command updating fun
<sspitzerMsgMe> r=sspitzer noted on https://bugzilla.mozilla.org/show_bug.cgi?id=384936
<Mano> oh, command updating fun
<Mano> i.e. the menu is already "focused"
<Mano> so we don't update command per the new selection
Attachment #268890 -
Flags: review?(sspitzer)
Assignee | ||
Comment 3•17 years ago
|
||
Attachment #268890 -
Attachment is obsolete: true
Attachment #268901 -
Flags: review?(sspitzer)
Reporter | ||
Comment 4•17 years ago
|
||
Comment on attachment 268901 [details] [diff] [review]
another attempt
mano, there are still scenarios where we don't do the right thing.
for example, in a sub menu with 5 separator followed by a bookmark item, mouse over the bookmark item at the bottom (DOMMenuItemActive) then mouse up to the separator area and right click.
you get the context menu where if you didn't mouse over the bookmark menu item, you would not.
Attachment #268901 -
Flags: review?(sspitzer)
Assignee | ||
Comment 5•17 years ago
|
||
Hrm? You should get context menu for separators...
Updated•17 years ago
|
Target Milestone: --- → Firefox 3 M9
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Comment 8•17 years ago
|
||
pushing to M10.
"> This only occurs if the user right-clicks menuitems such as "Open all
> in tabs", and does nothing if they select items on the context menu.
> Not only should this not block M9, I don't think it should block the
> release.
Agree on not blocking M9, but feels like something that'll feel buggy
in a final release."
Target Milestone: Firefox 3 M9 → Firefox 3 M10
Updated•17 years ago
|
Target Milestone: Firefox 3 M10 → Firefox 3 M11
Updated•17 years ago
|
Priority: -- → P4
Comment 9•17 years ago
|
||
Not going to continue to block on this. If you disagree with this decision, please renominate with reasons why we can't ship with this in final
Flags: wanted-firefox3+
Flags: blocking-firefox3-
Flags: blocking-firefox3+
Updated•17 years ago
|
Target Milestone: Firefox 3 beta3 → ---
Comment 10•17 years ago
|
||
this should be blocking since selecting DELETE on a bogus context menu will delete the parent folder and all its contents (dataloss)
Flags: blocking-firefox3- → blocking-firefox3?
Comment 11•17 years ago
|
||
(In reply to comment #10)
> this should be blocking since selecting DELETE on a bogus context menu will
> delete the parent folder and all its contents (dataloss)
Is that due to the bug where the wrong thing is selected when deleting/dropping items in the context menu? If so, I'd say that this isn't a blocker but that other one is. If not, then this blocks for dataloss.
Comment 12•17 years ago
|
||
related but not completely, the selection is correct, if an item is invalid we select its parent, so if those items have a context menu their selection is (somehow correctly) their parent
Updated•17 years ago
|
Target Milestone: --- → Firefox 3
Updated•17 years ago
|
Whiteboard: [needs status update]
Assignee | ||
Comment 13•17 years ago
|
||
What part of this is still reproducible, apart open-all-in-tabs being enabled for the "general" area.
Assignee | ||
Comment 14•17 years ago
|
||
er, s/open-all-in-tabs/delete/
Assignee | ||
Comment 15•17 years ago
|
||
Attachment #312510 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #312510 -
Flags: review? → review?(dietrich)
Comment 16•17 years ago
|
||
Comment on attachment 312510 [details] [diff] [review]
patch for the delete-enabled issue
r=me
Attachment #312510 -
Flags: review?(dietrich) → review+
Comment 17•17 years ago
|
||
what's the matter in having the context menu in the "general" area at all? FX does not have it out of bookmark items... wouldn't be better not showing a context menu if the item does not have a node?
Comment 18•17 years ago
|
||
PS: apart the special case for "empty" item
Updated•17 years ago
|
Whiteboard: [needs status update] → [has patch][has reviews]
Assignee | ||
Comment 19•17 years ago
|
||
Let's follow up on that, post-f3 for sure at this point.
Assignee | ||
Comment 20•17 years ago
|
||
mozilla/browser/components/places/content/menu.xml, 1.126
mozilla/browser/components/places/content/toolbar.xml 1.148
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 21•17 years ago
|
||
caused regression, bug 427200
Comment 22•17 years ago
|
||
Verified with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008042407 Minefield/3.0pre
Status: RESOLVED → VERIFIED
Comment 23•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•