GNOME Bugzilla – Bug 170516
format string problem
Last modified: 2005-03-31 20:05:57 UTC
Distribution: Debian 3.1 Package: gnome-panel Severity: normal Version: GNOME2.10.0 unspecified Gnome-Distributor: Ubuntu Synopsis: format string problem Bugzilla-Product: gnome-panel Bugzilla-Component: Panel Bugzilla-Version: unspecified Description: Description of Problem: The panel does not display tooltips containing a '%' sign. Steps to reproduce the problem: 1. Add an icon named '100%' 2. Hover mouse cursor over the icon. 3. Note lack of tooltip. Actual Results: The panel does not display tooltips if an icon name or description contains a '%' sign. Expected Results: Tooltip should be shown, with % sign. How often does this happen? Reproducable. Tooltips work fine until a '%' is inserted. Additional Information: I run Ubuntu Linux with Gnome 2.10 and an AMD64, I asked Debian Sarge user with Gnome 2.8 to verify, and they experienced the same problem. Inserting '%s' in the name or description fields does not produce any crashes and does not display a random string. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-03-15 19:47 ------- Unknown platform unknown. Setting to default platform "Other". Unknown milestone "unknown" in product "gnome-panel". Setting to default milestone for this product, '---' The original reporter of this bug does not have an account here. Reassigning to the person who moved it here, unknown@bugzilla.gnome.org. Previous reporter was gnome-bugs@cafuego.net. Setting to default status "UNCONFIRMED". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
This bug was introduced with the fix for bug #107183. I'm not sure how we can have it working in both cases...
2005-03-31 Vincent Untz <vincent@vuntz.net> * launcher.c: (setup_button): fix tooltips not appearing when it contains a %, without breaking tooltips with escaped uri * panel.c: (drop_uri): unescape the name and the comment since there's no reason to have them escaped in the launcher Fix bug #170516