Closed Bug 51094 Opened 24 years ago Closed 24 years ago

Problems when using sortStaticsLast="true" in XUL menus

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 48774

People

(Reporter: cata, Assigned: waterson)

References

Details

I first discovered this when trying to reorder the charset menu with the statics 
last and the template-generated items first. But then I noticed that the problem 
was already there in the only other menu using this ordering: View > Languages 
and Web Content

So, in order to see this bug, go to the View > Languages and Web Content submenu 
and you'll notice that the static items are duplicated. While this normally is 
just a nuissance, if those items happen to be submenus (as is the case in the 
charset menu), I get assertions because of duplicate nodes and the submenus fail 
to get filled up with items.

Some source code pointers: 
/rdf/content/src/nsXULSortService.cpp, line 333
/xpfe/browser/resources/content/navigatorOverlay.xul, line 260

This is pretty serious, as it is blocking a nsbeta3+ bug: 47343. I am assigning 
to Chris, but please reassign to whomever is owning this.
Severity: normal → major
Blocks: 47343

*** This bug has been marked as a duplicate of 48774 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified dup. (Moved dependency to bug 48774, and added CC's).
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.