Opened 6 years ago

Last modified 4 years ago

#17243 new defect

sample/auidemo doesn't draw the program correctly

Reported by: mattator Owned by:
Priority: normal Milestone:
Component: wxAui Version: 3.0.2
Keywords: Cc:
Blocked By: Blocking:
Patch: no

Description

Hi,

I reported this problem first in:
http://forums.codeblocks.org/index.php/topic,20643.msg140578.html#msg140578
and reproduced it with the libwxbase3 installed from ubuntu's 15.10 repositories via apt-get source.

I use a tiling window manager called i3 (www.i3wm.org), here are the steps to reproduce it:
1/ launch sample/auidemo
2/ open a terminal
3/ focus the terminal and change the layout from splitted to stacked
4/ focus the auidemo program
Then you see this (auidemo doesn't expand the widget, it remains at the same size then when windows were splitted):
https://transfer.sh/194saR/2015-11-04-003158-1920x1080-scrot.png

If I change layout with sample/auidemo, it correctly redraws everything.
This could be a bug in i3 but all applications work flawlessly except for codeblocks with wxwidget 3 (older codeblocks versions with wxwidget 2 worked).

Change History (2)

comment:1 Changed 6 years ago by mattator

Also I have this output (if that may help):
(auidemo:16274): Gdk-CRITICAL : _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_draw_rectangle: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(auidemo:16274): Gtk-CRITICAL : IAgtk_paint_arrow: assertion 'style->depth == gdk_drawable_get_depth (window)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(auidemo:16274): Gtk-CRITICAL : IAgtk_paint_arrow: assertion 'style->depth == gdk_drawable_get_depth (window)' failed

(auidemo:16274): Gdk-CRITICAL : _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(auidemo:16274): Gdk-CRITICAL : _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_draw_rectangle: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(auidemo:16274): Gtk-CRITICAL : IAgtk_paint_arrow: assertion 'style->depth == gdk_drawable_get_depth (window)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(auidemo:16274): Gtk-CRITICAL : IAgtk_paint_arrow: assertion 'style->depth == gdk_drawable_get_depth (window)' failed

(auidemo:16274): Gdk-CRITICAL : _gdk_pixmap_new: assertion '(width != 0) && (height != 0)' failed

(auidemo:16274): Gdk-CRITICAL : IAgdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

comment:2 Changed 4 years ago by ojwb

mattator - the link you gave to the screenshot no longer works (https://transfer.sh/194saR/2015-11-04-003158-1920x1080-scrot.png) - you should probably attach the file here instead.

Note: See TracTickets for help on using tickets.