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 593345 - [status icon] "playing" icon on 24 pixels gnome-panel is somehow distorted
[status icon] "playing" icon on 24 pixels gnome-panel is somehow distorted
Status: RESOLVED DUPLICATE of bug 524488
Product: rhythmbox
Classification: Other
Component: Plugins (other)
0.12.x
Other Linux
: Normal trivial
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-28 00:42 UTC by Pelle K
Modified: 2009-09-05 07:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
image that shows the problem (3.80 KB, image/png)
2009-08-28 00:42 UTC, Pelle K
Details

Description Pelle K 2009-08-28 00:42:19 UTC
Created attachment 141905 [details]
image that shows the problem

In "neutral" mode, the status icon show a clear crisp icon of rhythmbox, while
the playing icons seems to be a downsized (i belive) version of the "playing"
icon. This is using a 24 pixels high gnome-panel.
If you use a gnome-panel 26 pixels in height, the "neutral" icon is the exact
same as with a 24 pixel gnome-panel, and the "playing" icon is a clear crisp
version of that.

To sum it up, in < 26 pixels, the "playing" icon does not seem to be of the
proper/native size, but downscaled from another size. I'm attaching an image
where the problem is quite apparent.

This is tested on ubuntu 9.04 (package recompiled from 9.10). Rhythmbox
version: 0.12.4.
Comment 1 Jonathan Matthew 2009-08-28 01:16:36 UTC

*** This bug has been marked as a duplicate of bug 524488 ***
Comment 2 Milan Bouchet-Valat 2009-08-28 21:56:25 UTC
So you mean that the playing icon and the neutral icon are not displayed the same... Something really great to fix that GTK+ bug would be to get the code that creates the two icons, and see what is different. Rhythmbox devs, any idea?
Comment 3 Jonathan Matthew 2009-09-05 07:43:02 UTC
This is the code that changes the icon:

static void
rb_tray_icon_playing_changed_cb (RBShellPlayer *player, gboolean playing, RBTrayIcon *tray)
{
        const char *icon_name;

        icon_name = playing ? RB_STOCK_TRAY_ICON_PLAYING : RB_STOCK_TRAY_ICON_NOT_PLAYING;
        gtk_status_icon_set_from_icon_name (tray->priv->icon, icon_name);
}


the icon is originally created like this:

        tray->priv->icon = gtk_status_icon_new_from_icon_name (RB_STOCK_TRAY_ICON_NOT_PLAYING);

so I don't really know how we end up with different behaviour for the two icons.