ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #02277
[Bug 1451160] [NEW] Pavucontrol doesn't resize icons
Public bug reported:
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
** Affects: pavucontrol (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "Patch which fixes the bugs reported."
https://bugs.launchpad.net/bugs/1451160/+attachment/4389964/+files/0006-Scale-icons-before-displaying-them.patch
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to pavucontrol in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1451160
Title:
Pavucontrol doesn't resize icons
Status in pavucontrol package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pavucontrol/+bug/1451160/+subscriptions
Follow ups
References