indicator-application does not support Pango formated menu items

Bug #522149 reported by Jan Arne Petersen
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Application Indicators
Triaged
Wishlist
Unassigned
indicator-application (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: indicator-application

Currently indicator-application does not support formated menu items (bold).

Formated menu items are used in some of the status icons for example in gnome-settings-daemon and gnome-bluetooth.

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Thank you for helping with making Ubuntu better by reporting this bug. I've opened an upstream task and therefore this bug is now Triaged. The status is set to Wishlist because this is a proposal for the addition of a feature that isn't critical to the functioning of the Application Indicators.

Changed in indicator-application (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Jorge Castro (jorge) wrote :

mpt, any thoughts on this?

"In gnome-bluetooth, I'd like to have bold menu items to represent connected devices. "

http://mail.gnome.org/archives/desktop-devel-list/2010-February/msg00079.html

summary: - indicator-application does not support formated menu items
+ indicator-application does not support Pango formated menu items
Changed in indicator-application:
status: New → Confirmed
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

gnome-bluetooth refuses to appear on my panel, but after reading that message and looking at the screenshots on <http://live.gnome.org/GnomeBluetooth>, I don't understand why it would need bold for connected devices. That's what checkmark items are for.

Having said that, it seems reasonable to me to allow basic formatting of menu item text -- bold, italics, etc. We should be really rigorous about this, though, to avoid the headaches we have with markup in Notify OSD. Either label text is *not* markup, in which case I should be able to specify an menu item with the text "Bold <b>" and have it appear as "Bold <b>"; or label text *is* markup, in which case I should be able to specify a menu item with the text "Bold &lt;b&#62;" and have it appear as "Bold <b>".

Ted Gould (ted)
Changed in indicator-application:
status: Confirmed → Triaged
importance: Undecided → Wishlist
Revision history for this message
MartinE (martin-engbers-gmx) wrote :

There seems to be an additional inconsistency: If a menu item is specified as "<b> Foo </b>", the markup is stripped and the menu item displayed as 'Foo'. However, if a menu item is specified as "<span foreground=\"blue\"> Foo </span>" then the markup is *not* stripped, and the <span> tag is displayed as part of the label's text. This is clearly undesirable and should be fixed.

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