After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 170516 - format string problem
format string problem
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
unspecified
Other other
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-16 00:47 UTC by gnome-bugs
Modified: 2005-03-31 20:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description gnome-bugs 2005-03-16 00:47:31 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.

Comment 1 Vincent Untz 2005-03-31 19:50:06 UTC
This bug was introduced with the fix for bug #107183.

I'm not sure how we can have it working in both cases...
Comment 2 Vincent Untz 2005-03-31 20:05:57 UTC
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