Indicator-loader uses incorrect serialisation for indicator-network menu icons

Bug #1407720 reported by Jussi Pakkanen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libindicator (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Confirmed
Undecided
Nick Dedekind

Bug Description

Currently indicator-network exports icons to show like this (gdbus dump):

'icons': <
          [
           <('themed', <['gsm-3g-full']>)>,
           <('themed', <['nm-signal-50-secure']>)>
          ]
         >,

That is they are an array of variants (that happen to be tuples). However this seems to be incorrect. At least if you use the indicator-loader it chokes on these and refuses to draw them. The form that it accepts looks like this:

'icons': <
          [
           ('themed', <['gsm-3g-full']>),
           ('themed', <['simcard-locked']>),
           ('themed', <['nm-signal-75-secure']>)
          ]
         >

That is, an array of tuple variants. One of these two gets it wrong and since indicator-loader is the older of the two, I'm guessing that is the correct one. Feel free to reassign as appropriate if you feel that Unity8 is doing the right thing here.

Michał Sawicz (saviq)
summary: - Dash uses incorrect serialisation for indicator-network menu icons
+ Panel uses incorrect serialisation for indicator-network menu icons
Changed in unity8 (Ubuntu):
assignee: nobody → Nick Dedekind (nick-dedekind)
Revision history for this message
Nick Dedekind (nick-dedekind) wrote : Re: Panel uses incorrect serialisation for indicator-network menu icons

the indicator-loader is supplied by libindicator3-tools.

no longer affects: libindicator
Changed in unity8 (Ubuntu):
status: New → Invalid
summary: - Panel uses incorrect serialisation for indicator-network menu icons
+ Indicator-loader uses incorrect serialisation for indicator-network menu
+ icons
Revision history for this message
Ted Gould (ted) wrote :

indicator loader is correct here, by the spec:

https://wiki.ubuntu.com/SystemComponents#Root_Item

Changed in unity8 (Ubuntu):
status: Invalid → Confirmed
Changed in libindicator (Ubuntu):
status: New → Invalid
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.