Closed Bug 461167 Opened 16 years ago Closed 16 years ago

Bookmark groups are not showing in bookmarks menu

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0a3

People

(Reporter: misak.bugzilla, Assigned: neil)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

Attached image screenshot
Mozilla/5.0 (X11; U; Linux i686; rv:1.9.1b2pre) Gecko/20081022 SeaMonkey/2.0a2pre ID:20081022184547 Adblock Plus 0.7.5.5 Adblock Plus: Element Hiding Helper 1.0.5 ChatZilla 0.9.83 DOM Inspector 2.0.1 DownThemAll! 1.0.3 Expiry Canary 0.3 FlashGot 1.1.2 Flat Bookmark Editing 0.8.1 Image Zoom 0.3 InspectorWidget 2.11.20080214 JavaScript Debugger 0.9.87.4 keywordManager 0.6.4 MessageFaces 1.1 Nightly Tester Tools 2.0.2 Quote Colors 0.2.8 SeaMonkey Debug and QA UI 1.0pre Storage Inspector 0.5 Tab Clicking Options 0.6.9 Tabs Open Relative 0.3 Tinderstatus 0.2.11 Update Channel Selector 1.0.3 User Agent Switcher 0.6.10 xSidebar 1.0.4 Starting from today i've noticed that groupmarks are not showing in bookmarks menu. When i open bookmarks menu, my groupmarks are replaced by half-line height empty lines, but tool tip showing names of groupmark. Screenshot is available. Regression window is maximum from 20 oct, i'm using this groupmark almost every day.
I see this too on my trunk build. Occurs on both themes. One funny thing is that I can see the groupmark (icon+label) in my native menu, but not in the xul toolbar menu.
Someone is generating a menupopup child of a menuitem... naturally the template specifies no such thing!
Assignee: nobody → enndeakin
Component: Bookmarks → XUL
Product: SeaMonkey → Core
QA Contact: bookmarks → xptoolkit.widgets
After checking the nightly builds, the bug happened at "2008-10-21-00-comm-central" build. Everything is OK at "2008-10-20-07-comm-central" build. May someone find out what checkins broke that.
Verified regression from bug 450990 by local backout.
Blocks: 450990
Status: NEW → ASSIGNED
OS: Linux → All
I don't understand what this bug is about.
Summary: Groupmarks are not showing in bookmarks menu → Bookmark groups are not showing in bookmarks menu
Severity: normal → major
Flags: blocking1.9.1?
Keywords: regression
(In reply to comment #5) > I don't understand what this bug is about. The bug is that the following template rule <rule nc:FolderGroup="true" iscontainer="true"> <menupopup> <menuitem class="menuitem-iconic bookmark-group" label="rdf:http://home.netscape.com/NC-rdf#Name" group="true" uri="rdf:*" xulcontentsgenerated="true"/> </menupopup> </rule> generates incorrect content, currently: <menupopup> <!-- other bookmarks in the same folder go here --> <menuitem id="rdf:#$lrvih2" container="true" class="menuitem-iconic bookmark-group" label="Bookmark Group Name Here" group="true" xulcontentsgenerated="true"> <menupopup/> <!-- this is erroneous causing bug as reported --> </menuitem> <!-- now generates menuitems for each individual tab - new bug ? --> </menupopup>
Perhaps the old code used to honour xulcontentsgenerated="true" which faked it out into not trying to create child menuitems for each tab in the group?
Attached patch Proposed patchSplinter Review
OK, so the fix is to add another rule to stop the template builder trying to build children for menuitems. The rest of the patch is just cleanup ;-)
Assignee: enndeakin → neil
Attachment #352079 - Flags: review?(iann_bugzilla)
I didn't intend to remove support for xulcontentsgenerated="true", but if this is patch is ok then perhaps we can just leave it that way, as that confusingly-named attribute isn't particularly documented.
Why is this in Core/XUL rather than SeaMonkey/Bookmarks?
I originally treated it as a regression in the template behaviour, as it turned out of the undocumented xulcontentsgenerated attribute. However as I have subsequently discovered the workaround this makes it possible to move the bug in the manner you have described.
Component: XUL → Bookmarks
Flags: blocking1.9.1?
Product: Core → SeaMonkey
QA Contact: xptoolkit.widgets → bookmarks
Attachment #352079 - Flags: review?(iann_bugzilla) → review+
Pushed changeset cc76d0f40126 to comm-central.
D'oh, that's twice today, I'm going senile :-(
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Looks like this is already resolved for the next release following 2.0a2. However, since I already wrote it up, here is yet another account to clarify testing in 2.0a2. Issue: Bookmark this group of tabs not showing tab set name in menu following browser start Saved bookmark "tab groups" are not showing their name in the "Bookmarks" menu (both window menu and using icon in the "personal toolbar". Newly added bookmarks are showing the menu immediately after being added, however they are also lost if you quit and restart the browser. Tab group bookmarks loaded on startup do reserve a row in the menu, and work, and show the name on flyover in the menu, but the menu row is blank. Steps: 1. Open multiple tabs and "Bookmark this group of tabs". 2. Note that the bookmarks menu shows the new "name" of the tabset. 3. Quit SeaMonkey, then start it back up. 4. Note that the bookmarks menu shows empty (blank) for the name of the tabset.
(In reply to comment #16) > Issue: Bookmark this group of tabs not showing tab set name in menu following > browser start Please, file a followup bug.
Depends on: 513275
Target Milestone: --- → seamonkey2.0a3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: