GNOME Bugzilla – Bug 113507
Inverted colours for some icons
Last modified: 2018-01-24 13:22:14 UTC
Applications like Emacs and Acrobat Reader (and xclock!) that have black and white icons get their colours inverted in task list and window manager. The same icons display normally in KDE. Steps to reproduce: 1. Start xclock (or "emacs -i" to make emacs have an icon, or acroread). 2. Observe the xclock icon by pressing alt-tab (or look at the task list) Expected: The xclock icon should be a black circle with white interior. Actual: The xclock icon is a white circle with a black interior. The icons for emacs and acroread are also obviously inverted. Reproductible: Every time, since at least Gnome 2.0. I believe that this worked correctly in Gnome 1.4, but I am not 100% sure.
Created attachment 16719 [details] Tasklist under GNOME with inverted icons for xclock and emacs
Created attachment 16720 [details] Tasklist under KDE with correct icons for xclock and emacs
Created attachment 16721 [details] Inverted "emacs -i" icon in alt-tab window
*** Bug 124872 has been marked as a duplicate of this bug. ***
Still seeing this here with 2.6.0.
See the gdk_pixbuf_get_from_drawable() doc: "If the drawable is a bitmap (1 bit per pixel pixmap), then a colormap is not required; pixels with a value of 1 are assumed to be white, and pixels with a value of 0 are assumed to be black." I'm pretty sure that's because of this. Now, I've looked in GDK for too long without finding a way to have this working, so I'll let someone else come up with a patch. Everything is happening in xutils.c, and it starts in _wnck_read_icons().
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libwnck/issues/26.