After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 113507 - Inverted colours for some icons
Inverted colours for some icons
Status: RESOLVED OBSOLETE
Product: libwnck
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
: 124872 (view as bug list)
Depends on:
Blocks: 155905
 
 
Reported: 2003-05-22 08:03 UTC by Håvard Wigtil
Modified: 2018-01-24 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Tasklist under GNOME with inverted icons for xclock and emacs (3.65 KB, image/png)
2003-05-22 08:05 UTC, Håvard Wigtil
Details
Tasklist under KDE with correct icons for xclock and emacs (3.65 KB, image/png)
2003-05-22 08:06 UTC, Håvard Wigtil
Details
Inverted "emacs -i" icon in alt-tab window (6.15 KB, image/png)
2003-05-22 08:09 UTC, Håvard Wigtil
Details

Description Håvard Wigtil 2003-05-22 08:03:58 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.
Comment 1 Håvard Wigtil 2003-05-22 08:05:39 UTC
Created attachment 16719 [details]
Tasklist under GNOME with inverted icons for xclock and emacs
Comment 2 Håvard Wigtil 2003-05-22 08:06:22 UTC
Created attachment 16720 [details]
Tasklist under KDE with correct icons for xclock and emacs
Comment 3 Håvard Wigtil 2003-05-22 08:09:23 UTC
Created attachment 16721 [details]
Inverted "emacs -i" icon in alt-tab window
Comment 4 Vincent Untz 2003-10-20 09:15:29 UTC
*** Bug 124872 has been marked as a duplicate of this bug. ***
Comment 5 Kjartan Maraas 2004-04-18 21:30:31 UTC
Still seeing this here with 2.6.0.
Comment 6 Vincent Untz 2007-05-19 15:00:33 UTC
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().
Comment 7 GNOME Infrastructure Team 2018-01-24 13:22:14 UTC
-- 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.