Closed
Bug 564885
Opened 14 years ago
Closed 14 years ago
Bookmarks toolbar folders take ~1/2 second to open
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: dholbert, Assigned: mak)
References
Details
(Keywords: regression)
Attachments
(3 files)
STEPS TO REPRODUCE:
1. Start Firefox [with a fresh profile, for simplicity]
2(a). Click "most visited" or "latest headlines" pseudo-folders on your bookmarks toolbar.
OR:
2(b) Right-click bookmarks toolbar, and choose "New Folder", click "Add", and then try to open the folder.
ACTUAL RESULTS:
Folder takes ~1 sec to open.
First bad build is:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a5pre) Gecko/20100506 Minefield/3.7a5pre
Regression range:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=29bc8f25685d&tochange=014349e11696
in which this push looks most suspicious:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=d7393e28fb2d
Assignee | ||
Comment 1•14 years ago
|
||
We special handle toolbar menus opening on Linux to allow drag&drop without a key modifier, could be something broke there in the bindings rewrite.
Blocks: 560198
Reporter | ||
Comment 2•14 years ago
|
||
Here's a screencast of the broken behavior, with the 20100506 nightly. The menu item "blinks" when I click it -- note the delay from the "blink" to the menu actually opening.
(Maybe it's ~1/2 second rather than a full second, but it's still very tangible & slow from a user's perspective.)
Assignee | ||
Comment 3•14 years ago
|
||
Yeah, if it's half a second, is what i was talking about in comment 1, we delay menu opening to allow drag&drop, but as soon as you mouseup it should open instantly (and this is probably the part that broke)
Blocks: 528884
Reporter | ||
Comment 4•14 years ago
|
||
and here's the working behavior, with the 20100502 nightly. (I meant record the 20100505 nightly, but accidentally did this one -- I've verified that the 20100505 behavior matches this, though.)
Here, the menu opens before the "blink" even completes, I think.
Reporter | ||
Updated•14 years ago
|
Summary: Bookmarks toolbar folders take ~1 second to open → Bookmarks toolbar folders take ~1/2 second to open
Assignee | ||
Comment 5•14 years ago
|
||
yep there is a missing onMouseUp handler in
http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/browserPlacesViews.js#982
Actually we should not even have those on other platforms, thus that probably needs some ifdef love too.
I'll take this for now.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•14 years ago
|
||
This should make it, but I have to test it
Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 444874 [details] [diff] [review]
patch v1.0
ok, tested on ubuntu 64, looks good.
I guess a test for this timings would be hard or too much prone to randomness.
Attachment #444874 -
Flags: review?(mano)
Comment 8•14 years ago
|
||
Comment on attachment 444874 [details] [diff] [review]
patch v1.0
r=mano
Attachment #444874 -
Flags: review?(mano) → review+
Assignee | ||
Comment 9•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in
before you can comment on or make changes to this bug.
Description
•