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 614624 - GtkEntry in GtkNotebook tabs fails to draw
GtkEntry in GtkNotebook tabs fails to draw
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.18.x
Other Windows
: Normal critical
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
csw
Depends on:
Blocks: 603667
 
 
Reported: 2010-04-01 23:33 UTC by Morten Welinder
Modified: 2014-12-22 15:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test program (1.63 KB, text/x-csrc)
2010-04-01 23:33 UTC, Morten Welinder
Details

Description Morten Welinder 2010-04-01 23:33:24 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
Comment 1 Morten Welinder 2010-04-01 23:46:43 UTC
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.)
Comment 2 Tor Lillqvist 2010-04-05 08:10:22 UTC
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.
Comment 3 Tor Lillqvist 2010-05-25 16:59:28 UTC
I can reproduce when using the ms-windows theme, but not when not using it. Sigh...
Comment 4 Morten Welinder 2010-05-25 18:05:04 UTC
It's another variant of bug 598299.

https://bugzilla.gnome.org/show_bug.cgi?id=598299#c22
Comment 5 Matthias Clasen 2014-12-22 15:59:52 UTC
since that one was fixed, I assume this is too