Same id menus mess up the labels, but not the submenus

Bug #389423 reported by Ara Pulido
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Confirmed
Low
Unassigned
libdbusmenu (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Having several menus with the same id, mess up the labels, but not the submenus.
I would had expect an error when using the same id, but if no error is raised, at least I would expect to have a consistent behaviour.

I have attached a json file that shows this.

The three submenus of the top menu have the same id, but different labels and different submenus, but when it shows up, all of them will be showing label "value5", but they will keep their own submenus.

Revision history for this message
Ara Pulido (ara) wrote :
Ted Gould (ted)
affects: turkey-pop-up → dbusmenu
visibility: private → public
Revision history for this message
Ted Gould (ted) wrote :

Marking as low as we currently don't have anyone creating menu items with the same ID. Will be important when the library is used more widely.

Changed in dbusmenu:
importance: Undecided → Low
status: New → Confirmed
Ted Gould (ted)
Changed in libdbusmenu (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.