[pulseaudio-tickets] [Bug 86398] New: displays some application icons in huge size

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 17 06:48:41 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86398

            Bug ID: 86398
           Summary: displays some application icons in huge size
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pavucontrol
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: fsateler at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Created attachment 109625
  --> https://bugs.freedesktop.org/attachment.cgi?id=109625&action=edit
screenshot

Forwarding a bug from the debian bug tracker.

== Begin paste

there is a problem with GTK 3.14 in jessie which results in some [1] (svg?)
application icons in pavucontrol being displayed in huge size which also
affects pavucontrol, see:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765069#49
(tested with jessie from 2014-11-08)

[1] i.e. scummvm

debian-gtk-gnome at lists.debian.org told me to file a bug against each
application that shows this issue:

> Apparently this was an intentional change in GTK+ 3.14, see
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765069#49
>
> I haven't looked at the impact of it and whether it's reasonable and
> feasible to revert it for Jessie. For now, it's probably best to file bugs
> for the applications that broke.
>
> Emilio

== End paste

I can confirm that scummvm in debian creates a huge icon (see attached image.
The bug is fixed if I apply the following diff:

diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index ec07b96..c39588e 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -243,7 +243,7 @@ static void set_icon_name_fallback(Gtk::Image *i, const
char *name, Gtk::IconSiz
     theme = Gtk::IconTheme::get_default();

     try {
-        pixbuf = theme->load_icon(name, width,
Gtk::ICON_LOOKUP_GENERIC_FALLBACK);
+        pixbuf = theme->load_icon(name, width,
Gtk::ICON_LOOKUP_GENERIC_FALLBACK | Gtk::ICON_LOOKUP_FORCE_SIZE);

         if (pixbuf)
             i->set(pixbuf);


However I do not know if there are wider consequences to forcing the size.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141117/20c15097/attachment.html>


More information about the pulseaudio-bugs mailing list