Closed Bug 457587 Opened 17 years ago Closed 17 years ago

[Mac] Duplicates appear in Smart Bookmarks lists

Categories

(Firefox :: Bookmarks & History, defect, P1)

All
macOS
defect

Tracking

()

VERIFIED FIXED
Firefox 3.1b2

People

(Reporter: chris.blore, Assigned: mak)

Details

(Keywords: verified1.9.1)

Attachments

(1 file, 1 obsolete file)

In the latest trunk builds, viewing Smart Bookmarks lists through the Bookmarks menu (not the "Most Visited" bookmark on the toolbar) results in a duplicate copy of the bookmarks in the list being created. This happens from the second time you open the menu in a session, adding a copy of each page/tag to the list each time you view the smart bookmark until you close Firefox. Deleting the smart bookmarks and resetting the preference in about:config to repopulate the query has no effect towards resolving the problem. I am currently running Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b1pre) Gecko/20080928020418 Minefield/3.1b1pre
Flags: blocking-firefox3.1?
Easily reproduce-able. Each time the menu is opened, the contents of the query are appended. I got beachballing as well. -> blocker
Assignee: nobody → mak77
Severity: major → blocker
Flags: blocking-firefox3.1? → blocking-firefox3.1+
Priority: -- → P1
Target Milestone: --- → Firefox 3.1b2
any idea on the regression range?
Keywords: qawanted
i can't reproduce on windows at all do you have any bookmarks related extension (like "add bookmark here 2")?
No, the only extensions I have that are enabled are Adblock Plus 0.7.5.5 and Ubiquity 0.1.2rc1 This is reproducable every time for me on OS X, although I haven't had time to track down the regression range.
i'm going to test this on osx ppc and see if i can reproduce. i have an idea about this, could be due to "empty" menuitem, and i suppose could be due to bug 418671 where i cleaned up the maker code, so please, if you have time to get a reg range, check first if that's between 2008-09-19 and 2008-09-20 or near that
ok, i can reproduce on mac, not on windows
so, aPopup._startMarker and aPopup._endMarker are undefined on Mac, so the cleanup function cannot remove old items. This only happens on Mac, on Windows and Linux the markers are correctly initialized.
Mano, it feels like the binding is not applied to submenus with placespopup attribute, markers are undefined and not initialized. I could workaround this setting markers to -1 in this case only for Mac, but do you know what is the cause of this? i suppose is somewhat due to native osx menu.
Keywords: qawanted
Attached patch patch (obsolete) — Splinter Review
the binding is not attached when we call _rebuild on the popup (onpopupshowing capturing phase), we could inizialize the markers on popup creation to ensure they are not undefined. But if you have a better idea on how to attack the problem, that would be better than workarounding it.
Attachment #343479 - Flags: review?(mano)
Attachment #343479 - Attachment is obsolete: true
Attachment #343479 - Flags: review?(mano)
Comment on attachment 343479 [details] [diff] [review] patch oops i misread the ifndef
Attached patch patchSplinter Review
Attachment #343480 - Flags: review?(mano)
Comment on attachment 343480 [details] [diff] [review] patch File a bug on the native menus issue, r=mano.
Attachment #343480 - Flags: review?(mano) → review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Summary: Duplicates appear in Smart Bookmarks lists → [Mac] Duplicates appear in Smart Bookmarks lists
filed toolkit Bug 460542 for native menus
verified: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1b2pre) Gecko/20081112 Minefield/3.1b2pre
Status: RESOLVED → VERIFIED
Keywords: verified1.9.1
Keywords: fixed1.9.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: