GNOME Bugzilla – Bug 614624
GtkEntry in GtkNotebook tabs fails to draw
Last modified: 2014-12-22 15:59:52 UTC
Created attachment 157725 [details] Test program The attached sample program places GtkEntry widgets in notebook tabs. This works beautifully under Linux. Under Windows, it does not. (I have only tested this sample with wine, but the problem in the context of gnumeric has been observed on proper win32 too.) In most cases the window comes up right, but if obscured and exposed the GtkEntry widget generally do not paint. The notebook does and the tabs are therefore empty. gtk+-2.18.5
When run with GDK_NATIVE_WINDOWS=1, things appear to work, but I get a boat load of these at exit: (testnotebookdnd.exe:32): Gdk-CRITICAL **: gdk_window_is_viewable: assertion `GDK_IS_WINDOW (window)' failed (testnotebookdnd.exe:32): Gdk-CRITICAL **: _gdk_window_destroy_hierarchy: assertion `GDK_IS_WINDOW (window)' failed (testnotebookdnd.exe:32): Gdk-CRITICAL **: gdk_window_is_viewable: assertion `GDK_IS_WINDOW (window)' failed (testnotebookdnd.exe:32): Gdk-CRITICAL **: _gdk_window_destroy_hierarchy: assertion `GDK_IS_WINDOW (window)' failed (Ignore the program name -- the contents is as attached.)
The client-side-windows code on Windows is suspected to be somewhat buggy but nobody (me included) is apparently interested in attempting to fix it. The same holds for the GDK_NATIVE_WINDOWS feature. For now, GTK+ 2.16 is/was the most reliable version on Windows.
I can reproduce when using the ms-windows theme, but not when not using it. Sigh...
It's another variant of bug 598299. https://bugzilla.gnome.org/show_bug.cgi?id=598299#c22
since that one was fixed, I assume this is too