Closed Bug 385616 Opened 17 years ago Closed 17 years ago

Hard to dismiss a menulist opened within a panel

Categories

(Core :: XUL, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: asaf, Assigned: enndeakin)

References

Details

Attachments

(1 file)

If a menu-list is opened from within a <panel>, clicking outside of it (but still within the panel) doesn't dismiss the menu-list. Clicking outside the panel closes the menu-list rather than closing both popups.
Flags: blocking1.9?
Works for me on Mac. Windows only perhaps?

Clicking outside the menulist should close only the menulist.
roc and I aren't the right people to triage the blocking1.9? flag here.  Not sure how to fix that...
Is this a regression?

Neil, what's your opinion on whether this should be a blocker?
Flags: blocking1.9? → blocking1.9-
Whiteboard: [wanted-1.9]
Attached patch fix upSplinter Review
When the panel is clicked, the menu should be rolled up. Don't include the panel in the submenu list of popups that don't cause a rollup.
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Attachment #275625 - Flags: superreview?(bzbarsky)
Attachment #275625 - Flags: review?(bzbarsky)
Comment on attachment 275625 [details] [diff] [review]
fix up

Sure.
Attachment #275625 - Flags: superreview?(bzbarsky)
Attachment #275625 - Flags: superreview+
Attachment #275625 - Flags: review?(bzbarsky)
Attachment #275625 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Steps to reproduce I got from Neil via irc:
1. click star icon on address bar. 
2. open the menulist. 
3.click the bookmarks panel. The menulist should close but the panel should stay open

This regressed between 2007-09-18 and 2007-09-19:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-09-18+04&maxdate=2007-09-19+09&cvsroot=%2Fcvsroot
I guess a regression from bug 392652?
(note that I'm seeing some other, incorrect behavior in those older builds, namely that the window loses focus after step 3)
Blocks: 400019
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: