Quicklist drawing for checked/unchecked radio/check boxes is inverted

Bug #910286 reported by Marco Trevisan (Treviño)
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Marco Trevisan (Treviño)
Unity Distro Priority
Fix Released
Undecided
Unassigned
unity (Ubuntu)
Fix Released
Medium
Marco Trevisan (Treviño)

Bug Description

If you add a checkbox or radio quicklist item to the unity launcher, using libunity then if you set a dbusmenuitem of type radio or checkbox as checked, no check is actually shown in unity. While if you set it as unchecked the proper mark is shown.

This sample code underlines the issue: http://paste.ubuntu.com/788478/

Related branches

Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity:
importance: Undecided → Medium
status: New → In Progress
importance: Medium → High
Changed in unity (Ubuntu):
status: New → In Progress
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

The bug is even worst using disabled radio/checkbox: http://paste.ubuntu.com/788515/

See attached screenshot

Omer Akram (om26er)
Changed in unity:
milestone: none → 5.0.0
Changed in unity:
milestone: 5.0.0 → 5.2.0
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Marco, will Unity automatically update states of actions when clicking on them (after your fix)? Or this is something that applications should handle themselves? Also, do we want to support submenus?

BTW, I fixed a similar bug in Unity 2D (more precisely, in libdbusmenu-qt) — now radio actions will work there.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Dmitry: no the state should still be manually handled... I'm not sure if this is the best way, but I can discuss this with other devs to define the best behavior.
Submenus, aren't something that design wants, so they won't be supported until there is a support on that side.

Changed in unity-distro-priority:
status: New → Fix Committed
Changed in unity:
milestone: 5.2.0 → 5.4.0
Tim Penhey (thumper)
Changed in unity:
status: In Progress → Fix Committed
Omer Akram (om26er)
Changed in unity:
importance: High → Medium
Changed in unity (Ubuntu):
importance: Undecided → Medium
status: In Progress → Fix Committed
Changed in unity:
status: Fix Committed → Fix Released
Tim Penhey (thumper)
tags: added: distro-priority
Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Changed in unity-distro-priority:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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