Closed
Bug 399468
Opened 16 years ago
Closed 16 years ago
Can open multiple bookmark popups on clicking folders after right-click context menu
Categories
(Firefox :: Menus, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3 beta2
People
(Reporter: martijn.martijn, Assigned: enndeakin)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.28 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
To reproduce: - Open Bookmarks menu - Right-click on a bookmark - Click on one or more folders Actual result: - Folder opens, but context menu stays open too. When clicking on more folders, more folder popups open, but the previous ones don't close. Expected result: - Folder opens and the context menu should disappear.
Comment 1•16 years ago
|
||
Is this a regression?
Reporter | ||
Comment 2•16 years ago
|
||
Yes, this regressed between 2007-07-04 and 2007-07-05, so I guess a regression from bug 279703.
Blocks: 279703
Updated•16 years ago
|
Keywords: regression
Assignee | ||
Comment 3•16 years ago
|
||
This is an easy fix but I also notice a regression of bug 385616 while testing the fix which I'm going to investigate as well as both involve the same block of code. Sadly, we can't make automnated tests here as they require a means of sending native messages to a window.
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•16 years ago
|
||
When building the list of widgets for the open submenus, stop when reaching a menu that is not a context menu. This way, the parent non-context menu (the bookmarks menu in this test) isn't considered part of the menu chain, and the mouse click causes the menus to roll up rather than fire the mousedown at the menu.
Assignee: nobody → enndeakin
Attachment #285106 -
Flags: superreview?(bzbarsky)
Attachment #285106 -
Flags: review?(bzbarsky)
![]() |
||
Comment 5•16 years ago
|
||
Comment on attachment 285106 [details] [diff] [review] check context menu state Sure. It's worth finding someone else to learn this code so you don't have to rely on me for all the reviews... Pretty soon now those are going to be very laggy.
Attachment #285106 -
Flags: superreview?(bzbarsky)
Attachment #285106 -
Flags: superreview+
Attachment #285106 -
Flags: review?(bzbarsky)
Attachment #285106 -
Flags: review+
Assignee | ||
Updated•16 years ago
|
Flags: blocking-firefox3?
Updated•16 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Assignee | ||
Updated•16 years ago
|
Attachment #285106 -
Flags: approval1.9?
Comment 7•16 years ago
|
||
Comment on attachment 285106 [details] [diff] [review] check context menu state a=endgame drivers for after M9 freeze
Attachment #285106 -
Flags: approval1.9? → approval1.9+
Updated•16 years ago
|
Keywords: checkin-needed
Target Milestone: --- → Firefox 3 M10
Comment 8•16 years ago
|
||
Checking in layout/xul/base/src/nsXULPopupManager.cpp; /cvsroot/mozilla/layout/xul/base/src/nsXULPopupManager.cpp,v <-- nsXULPopupManager.cpp new revision: 1.32; previous revision: 1.31 done
Updated•16 years ago
|
Flags: in-litmus?
Comment 9•16 years ago
|
||
Verified fix on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2) Gecko/2007121014 Firefox/3.0b2
Status: RESOLVED → VERIFIED
Comment 10•14 years ago
|
||
Test case https://litmus.mozilla.org/show_test.cgi?id=7480 has been created on litmus for any future regression testing on this bug.
Flags: in-litmus? → in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•