Pavucontrol doesn't resize icons

Bug #1451160 reported by Tasos Sahanidis on 2015-05-03
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pavucontrol (Ubuntu)
Undecided
Unassigned

Bug Description

Running Ubuntu 15.04, pavucontrol 2.0-3.
There is a known bug where pulseaudio doesn't resize big icons. Might be related to this https://launchpad.net/bugs/1175416.

However after upgrading to 15.04 I also noticed that some system icons (sound card icon) were bigger than normal as well, which is another bug.

https://vps.tasossah.com/misc/pavucontrol_bug.jpg
In the above screenshot, the Rhythmbox icon is normal, the soundcard icon is bigger than normal (happened only after the upgrade), and the steam icon is huge.

In the attached patch, the code responsible for setting the icons has been altered to scale icons to the appropriate sizes, so both bugs are fixed by it.

To be a bit more detailed, for the first issue, instead of the icon being loaded from the path directly, it gets loaded into a pixbuf and scaled to the appropriate size.

For the second issue, the flag ICON_LOOKUP_FORCE_SIZE is specified in order to return theme icons in the resolution that was requested, instead of returning a similar one.

The result after the patch:
https://vps.tasossah.com/misc/pavucontrol_bug_fix.jpg

Tasos Sahanidis (tatokis) wrote :

The attachment "Patch which fixes the bugs reported." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers