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 114880 - Theme selector thumbnails are garbled
Theme selector thumbnails are garbled
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.2.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
: 115307 118891 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-06-10 20:41 UTC by Vesa Halttunen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
Output of xdpyinfo (7.88 KB, text/plain)
2003-06-10 21:28 UTC, Vesa Halttunen
Details

Description Vesa Halttunen 2003-06-10 20:41:26 UTC
After upgrading to GTK+ 2.2.2 from 2.2.1 the thumbnails in the theme selector
are garbled. 

A screenshot of the problem is at http://tik.cs.hut.fi/~vesuri/pixmapbug.png
- notice the theme selector thumbnails.

The bug seems to be in GTK because I can use all other components from GTK+
2.2.2 except libgtk-x11-2.0.so.0.200.2. When using libgtk-x11-2.0.so.0.200.1 
the thumbnails are rendered correctly.

Please note that the icon rendering problem seen in the screenshot seems to
be a separate problem. I've filed another bug about it.
Comment 1 Owen Taylor 2003-06-10 21:05:12 UTC
*** Bug 114878 has been marked as a duplicate of this bug. ***
Comment 2 Owen Taylor 2003-06-10 21:06:36 UTC
[ These are not going to be two separate problems ]

A) Can you attach the output of xdpyinfo
B) Can you try using a different video driver - say the
   'vesa' driver or the open-source 'nv' driver and
   see if the bug is reproducable that way?
Comment 3 Vesa Halttunen 2003-06-10 21:28:45 UTC
Created attachment 17412 [details]
Output of xdpyinfo
Comment 4 Vesa Halttunen 2003-06-10 21:36:22 UTC
No, this does not happen when using the nv driver. I'll send a bug
report to linux-bugs@nvidia.com.
Comment 5 Marinus Schraal 2003-06-11 23:08:47 UTC
I've had reports of this and similar problems, switching to nv doesn't
help. gnome-theme-manager just hangs, but epiphany for example crashes.

Relavant Gentoo bug with backtrace from epiphany :
http://bugs.gentoo.org/show_bug.cgi?id=22576 .

Based on that backtrace i did some checking and reverting changes in
gtkwidget.c (which seems one set) solves the problems for me. Owen
suggested on IRC it might have todo with xshm setting for x11, but
disabling xshm didn't fix the problem for me.
Comment 6 Owen Taylor 2003-06-12 13:54:20 UTC
I think I'm going to have to eat my words about these
not being two separate bugs. The theme manager problem
is a gtkwidget.c issue. (Well, really a theme manager
issue...) The relevant missing information in this
report is all the debug spew that is generated:

 (gnome-theme-manager:12388): Gdk-CRITICAL **: file gdkwindow.c: line
788 (gdk_window_is_viewable): assertion `GDK_IS_WINDOW (window)' failed

The garbled icon issue is probably an nvidia driver
bug - Vesa - when you switched to the nv driver, did
the theme manager issue go away or just the garbled
icons?
Comment 7 Owen Taylor 2003-06-12 19:44:01 UTC
Quoting myself from IRC in case anyone wants to fix, test:

<owen> The fix is in event_window_is_still_viewable () - it needs to
have at the top
<owen> if (GDK_IS_PIXMAP (event->window)) { return event->type ==
GDK_EXPOSE; }
Comment 8 Anders Carlsson 2003-06-12 20:54:27 UTC
2003-06-12  Anders Carlsson  <andersca@codefactory.se>

	* gtk/gtkwidget.c: (event_window_is_still_viewable):
	Special case pixmaps. (#114880)
Comment 9 Vesa Halttunen 2003-06-12 23:31:34 UTC
This theme selector bug went away now even with the nvidia driver;
desktop and menu icons still get garbled.
Comment 10 Marco Pesenti Gritti 2003-06-17 00:15:47 UTC
*** Bug 115307 has been marked as a duplicate of this bug. ***
Comment 11 Owen Taylor 2003-08-01 19:18:26 UTC
*** Bug 118891 has been marked as a duplicate of this bug. ***