Rhythmbox desktop launcher icon appears too small

Bug #122937 reported by Jeffrey Knockel
20
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

After the gutsy update to Rhythmbox 0.11.1, when creating a desktop icon for Rhythmbox, the icon appears way too small. To reproduce, go to Applications -> Sound & Video -> Right click on Rhythmbox -> Add this launcher to desktop. This issue was not present prior the update to Rhythmbox 0.11.1.

Revision history for this message
Jeffrey Knockel (jeff250) wrote :
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Thanks for your bug report.

Well, As a workaround you can always right-click it and use the "expand the icon" feature.

Changed in rhythmbox:
importance: Undecided → Wishlist
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What icon theme do you use? I don't get the bug using gutsy

Changed in rhythmbox:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
Jeffrey Knockel (jeff250) wrote :

I use tango. However, I can reproduce this from a fresh Tribe-4 live cd boot-up, so human as well. In fact, I've been playing around, and I've found some other icons that do this too. I've attached a screenshot that shows all of the icons of the default ones in the menus that have this problem for me (on the left) and a portion of the ones that don't have this issue (on the right).

Changed in rhythmbox:
importance: Wishlist → Low
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Same issue here with gutsy full upgraded.

Changed in nautilus:
status: New → Confirmed
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

See Bug 46836 (the same for Sound Juicer).

Revision history for this message
Sebastien Bacher (seb128) wrote :

not something that should delay gutsy

Revision history for this message
libertyernie (libertyernie) wrote :

The stretch corners behave opposite when you drag them.

Revision history for this message
libertyernie (libertyernie) wrote :

I just realized that whether or not the icons behave correctly depends on if they are in PNG or XPM format. Firefox has a PNG icon, Rhythmbox uses an XPM icon.
Also: check out ~/.nautilus/metafiles. The one for your desktop contains XML entries for each icon; I added
icon_scale="2.56"
for the misbehaving icons. This makes it exactly 32x32, at least for Rhythmbox and Movie Player.

Revision history for this message
libertyernie (libertyernie) wrote :
Revision history for this message
libertyernie (libertyernie) wrote :

Also as #35065.
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/35065
These two should be marked as duplicates of this bug.
Coming from KDE this is extremely annoying to me when I'm using GNOME.

Revision history for this message
Andreas Nilsson (andreasn) wrote :

This issue can be avoided by having the application install a png in /hicolor/48x48/apps
Will file bugs towards the apps that don't.

Revision history for this message
Andreas Nilsson (andreasn) wrote :
Revision history for this message
Andreas Nilsson (andreasn) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Wouldn't the right way be to fix nautilus to use svg icons correctly rather than to add new variants to every application to workarounding the bug?

Revision history for this message
Andreas Nilsson (andreasn) wrote :

Yes, probably. As I told you on irc, when I spoke to Alexander Larsson about this, he suggested we should solve it this way. I'll check with him again and investigate this a bit deeper though.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

There is no need to provide 48x48 pixel png icons for each application. As described in bug #46836 Rhythmbox, Sound Juicer and other applications svg icons have an initial size of 48x48 pixels.

But /usr/share/icons/hicolor/index.theme contains the following:

[scalable/apps]
MinSize=1
Size=128
MaxSize=256
Context=Applications
Type=Scalable

So the gnome icon theme implementation thinks that icons in the scalable/apps directory have a nominal size of 128 pixels. For Rhythmbox, Sound Juicer, ... icon the actual size is 48x48 pixels, so the icon appears 2.67 times smaller than expected.

There are two possible solutions:
1. edit index.theme and set the nominal size of icons in scalable/apps to 48 pixels.
2. edit the SVG files so that they have an intial size of 128x128 pixels.

I would recommend (1) because 48x48 is used in gnome as initial display size for desktop and folder icons. Furthermore the tango project also suggests 48x48 pixel size for svgs. Most of the scalable icons in /usr/share/icons/<theme>/scalable already use this size.

Jorge Castro (jorge)
Changed in nautilus:
status: Confirmed → Fix Released
Changed in nautilus:
status: Unknown → Fix Released
Changed in nautilus:
importance: Unknown → Medium
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.