Closed Bug 21477 Opened 25 years ago Closed 25 years ago

Bookmarks menu unusable due to repeated resize, reloc, redraw

Categories

(SeaMonkey :: Bookmarks & History, defect, P2)

x86
Linux

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: trudelle, Assigned: mikepinkerton)

References

Details

(Whiteboard: [PDT+])

Attachments

(3 files)

I have a large bookmarks file, with >100 bookmarks at the top level, and many folders that also have lots of bookmarks. Using today's opt comm bits on RH 6.0, P166: Click on Bookmarks menu (not the one in toolbar). Wait about a minute or so for it to resize and redraw itself endlessly. When it finally pops up, try to mouse over a folder that contains a lot of bookmarks. * A grey rect is drawn where the submenu should be, the size of one menu item. * Then the parent menu shifts vertically by one item, and back. * Then the grey rect for the submenu is drawn with two items. These dance steps are repeated many times as the menu slowly tangoes its way down the screen. The whole process takes a bit longer than it is taking me to type this bug report. If the menu has to grow to accomodate a longer menu item, or if it hits the bottom and starts relocating itself back up the screeen (or both!), the effect would be quite comical, if you didn't have equity in the company expecting to ship this product. I could not tell if the menu actually worked, since my RSI had kicked in by the time the menu finished drawing.
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: M13
hyatt thinks i'm sending the frame construction code too many notifications.
Whiteboard: [PDT-]
Putting on PDT- radar. You can still use Sidebar.
rjc: i am going to attach a mongo fix for this. i added an |nsIContent** aFirstGeneratedChild| parameter to several of the methods, which, if non-null, receives the first content node that is generated from template construction. We then use this in |OpenContainer()| and |RebuildContainer()| to figure out where to tell layout to start appending content. This allows us to avoid "noisy" content creation where we notify layout for each new content node that is created (and e.g. causes menus to "unfurl"). Can you review?
Attached patch proposed fixSplinter Review
Chris, can you attach a copy of your nsRDFGenericBuilder.cpp file? "patch" (on both Unix and Windows) seems to have several problems applying your diff (for me, anyway). <sigh>
(Sorry for the delay.) This looks good to me, Chris.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fix checked in, r=rjc
Status: RESOLVED → REOPENED
hey trudelle, i know your busy but I wouldn't feel right if I didn't allow you the chance to verify this. Now that I look at it on my p133 linux box though, I'm not convinced it's fixed. Granted my machine allows me the benefit of slow-mo but based on my reading of waterson's description of his patch I thought a submenu would get the size right first before it populated itself. I still see the 'unfurling' behavior.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
you might see "two" unfurls, but not an unbounded number, as before. unfortunately, that's as good as it's gonna get for now.
I see what's going on. Restart your browser. The FIRST time you access the bookmarks menu and submenus, we see the glorious unfurling that scales with the size of your bookmarks. Every subsequent access results in the menus being displayed hella fast. So where does that leave us?
Status: RESOLVED → REOPENED
I now have a PII-500 running RH 6.1, but this is still completely unusable, although the show is not as long, nor nearly as entertaining. reopening.
Resolution: FIXED → ---
Target Milestone: M13 → M14
ok, gimme your bookmarks file. out of curiosity, do you notice a difference between the personal toolbar's "bookmarks" menu and the main menu bar's menu? Do you notice a difference between the first and second times you drop the main menu?
Attached file bookmarks file
Okay, I attached it to this bug. Other than placement and style, I don't see much difference between the menus. The main menu does come up fast after the first time, but when I try to select from it, the submenus start to dance and I can't use it at all.
*** Bug 22627 has been marked as a duplicate of this bug. ***
*** Bug 22155 has been marked as a duplicate of this bug. ***
*** Bug 24632 has been marked as a duplicate of this bug. ***
Depends on: 22155
reluctantly moving from dogfood radar to beta1 radar
Keywords: beta1
Summary: Dogfood: Bookmarks menu unusable due to repeated resize, reloc, redraw → Bookmarks menu unusable due to repeated resize, reloc, redraw
Whiteboard: [PDT-]
pink: this has now become a positioning problem. when you open the menu code, it causes the menu to reposition wildly. some kind of evil feedback loop where the mouseover is triggering the menu to reflow which is triggering the menu to move which is triggering another mouseover ad infinitum. hyatt recommended you as the man for the job.
Assignee: waterson → pinkerton
Status: REOPENED → NEW
Putting on the pdt+ radar for beta1.
Whiteboard: [PDT+]
*** Bug 25717 has been marked as a duplicate of this bug. ***
fixed.
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
while there are still problems i believe this specific behavior has been dealt with. marking VERIFIED. trudelle, pls reopen if you do not concur.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: