GNOME Bugzilla – Bug 114880
Theme selector thumbnails are garbled
Last modified: 2004-12-22 21:47:04 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.
*** Bug 114878 has been marked as a duplicate of this bug. ***
[ 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?
Created attachment 17412 [details] Output of xdpyinfo
No, this does not happen when using the nv driver. I'll send a bug report to linux-bugs@nvidia.com.
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.
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?
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; }
2003-06-12 Anders Carlsson <andersca@codefactory.se> * gtk/gtkwidget.c: (event_window_is_still_viewable): Special case pixmaps. (#114880)
This theme selector bug went away now even with the nvidia driver; desktop and menu icons still get garbled.
*** Bug 115307 has been marked as a duplicate of this bug. ***
*** Bug 118891 has been marked as a duplicate of this bug. ***