Discussion:
wxGTK-3.0.0: Many ASSERTS with wxAuiNotebook in auidemo
Marco DeFreitas
2014-02-10 18:35:01 UTC
Permalink
I've been seeing asserts in my application that uses wxAuiNotebook, which
can be duplicated in the auidemo sample program.

If I create a new notebook panel by:
View->Create Notebook

I get the following asset:

Gdk-CRITICAL **: gdk_window_thaw_updates: assertion
`impl_window->update_freeze_count > 0' failed

I also noticed that the "View" menu label on the menubar stays
"highlighted", and I cannot "unhighlight" it.

Also, if I dock this newly created panel, I get:

(auidemo:25393): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(width != 0)
&& (height != 0)' failed
(auidemo:25393): Gdk-CRITICAL **: gdk_draw_rectangle: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:25393): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_paint_arrow: assertion `style->depth
== gdk_drawable_get_depth (window)' failed
(auidemo:25393): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_paint_arrow: assertion `style->depth
== gdk_drawable_get_depth (window)' failed
(auidemo:25393): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(width != 0)
&& (height != 0)' failed
(auidemo:25393): Gdk-CRITICAL **: gdk_drawable_get_size: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed
(auidemo:25393): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion
`width >= -1' failed

Does anybody else see this?

Thanks!
Marco
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Vadim Zeitlin
2014-02-11 21:37:11 UTC
Permalink
On Mon, 10 Feb 2014 10:35:01 -0800 (PST) Marco DeFreitas wrote:

MD> I've been seeing asserts in my application that uses wxAuiNotebook, which
MD> can be duplicated in the auidemo sample program.
MD>
MD> If I create a new notebook panel by:
MD> View->Create Notebook
MD>
MD> I get the following asset:
MD>
MD> Gdk-CRITICAL **: gdk_window_thaw_updates: assertion
MD> `impl_window->update_freeze_count > 0' failed
MD>
MD> I also noticed that the "View" menu label on the menubar stays
MD> "highlighted", and I cannot "unhighlight" it.

I can't reproduce neither of these two problems here with the latest
trunk.

MD> Also, if I dock this newly created panel, I get:
MD>
MD> (auidemo:25393): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(width != 0)
MD> && (height != 0)' failed

I do see those. It looks like a bug in wxAuiTabContainer::Render() which
creates the off screen bitmap even when its width is 0. But maybe its size
shouldn't be 0 in the first place. I really don't know how is this code
supposed to work. And I think it's quite likely that this has been already
changed in the dynamic-notebook wxAUI branch... So I'm not going to debug
this, but perhaps it would be worth creating a ticket for this and retest
and possibly close it when the dynamic-notebook branch is merged.

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Marco DeFreitas
2014-02-11 22:26:36 UTC
Permalink
VZ> ...when the dynamic-notebook branch is merged

Is it going to be merged in 3.0.1?

Thanks,
Marco
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Vadim Zeitlin
2014-02-11 22:28:01 UTC
Permalink
On Tue, 11 Feb 2014 14:26:36 -0800 (PST) Marco DeFreitas wrote:

MD> VZ> ...when the dynamic-notebook branch is merged
MD>
MD> Is it going to be merged in 3.0.1?

No, definitely not. Hopefully in 3.2.0.

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Marco DeFreitas
2014-02-12 19:58:23 UTC
Permalink
VZ> ...perhaps it would be worth creating a ticket for this

Ticket created... #15976
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...