Closed Bug 656865 Opened 13 years ago Closed 8 years ago

"Recently used Folder" pull-down menu does not toggle open/hide by clicking button/menulist.

Categories

(Core :: XUL, defect)

2.0 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression)

Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/2a0fbd6eedbd
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110512 Firefox/6.0a1 ID:20110512030634
http://hg.mozilla.org/releases/mozilla-aurora/rev/8c6e0aeb35ee
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.2) Gecko/20110508 Firefox/5.0a2 ID:20110512042003
http://hg.mozilla.org/releases/mozilla-2.0/rev/f43e15acc6ca
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.2pre) Gecko/20110512 Firefox/4.0.2pre ID:20110512030229

"Recently used Folder" pull-down menu does not toggle open/hide by clicking button/menulist.

Screen capture : http://www.youtube.com/watch?v=8uMfB7fhW68&hd=1

Reproducible: Always

Steps to Reproduce:
1. Start Minefield with new profile
2. Open any bookmark 
3. Double Click Star Button in LocationBar

4. Click "Recently used folder" button/menulist.
    --- then "Recently used Folder" pull-down menu will be opened.
5. Click the button/menulist again

Actual Results:
 The pull-down menu flickers.
 And the pull-down menu would not disappear.

Expected Results:
 The pull-down menu should disappear.
 The pull-down menu should toggle open/hide by clicking button/menulist.


Regression window(cached m-c hourly):
Works:
http://hg.mozilla.org/mozilla-central/rev/3bb695b1a788
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101124 Firefox/4.0b8pre ID:20101124102854
Fails:
http://hg.mozilla.org/mozilla-central/rev/df43d548da49
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101124 Firefox/4.0b8pre ID:20101124103604
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3bb695b1a788&tochange=df43d548da49
Triggered by:
4d4cbab267d9	Neil Deakin — Bug 511010, don't activate panels when clicking on one to close a menu, fixes flickering when closing menulist in bookmarks panel, r=jmathies,a=bsmedberg
OS: All → Windows 7
In this situation, the popup is being rolled up upon a WM_MOUSEACTIVATE message. For menus not in a panel, the popup is rolled up upon a WM_LBUTTONDOWN message.

Perhaps we should just not roll up on WM_MOUSEACTIVATE in this case.
User Agent 	Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID 	20160525030215

Works for me on latest Nightly (49.0a1) so I will close this bug. If anyone can still reproduce the issue on a current build fell free to reopen it.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.