AUI Crashes when Dragging

Hi,

I just had a look through the bug database and couldn't find this in the
AUI list, but it seems so bad it must be known, so I thought I'd check
here - maybe someone can point me to the right bug, or explain what is
wrong?

AUI crashes when something an element is dragged over other elements which
should move to accommodate the element being dragged (as far as I can
tell). This is easy to repeat - in the demo you can:

1 - Book Controls / AUI Notebook - grab a tab and move it back and forth
over the other tabs. The application crashes after a few movements: The
program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 559449 error_code 3 request_code 15 minor_code 0)

2 - Frames and Dialogs / AUI_DockingWindowMgr - select the "All panes"
perspective, grab a pane and move it around. Again, application quickly
crashes:
The program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 150550 error_code 3 request_code 15 minor_code 0)

This is on Linux, SuSE 10.3 (x86_64), Python 2.5.1, wxPython 2.8.7.1
(wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.29).

It would be excellent if there was a workaround as this otherwise looks
pretty good....

Cheers,
Andrew

Thank-you!

No crashes if I change the hints to "None" or "Rectangle".

And this was with KDE, with translucency enabled. Disabling translucency
also seems to fix the problem (this via a dialog that warns translucency
may cause crashes in X...)

So I guess this is indded because of compositing window managers, and
seems more likely an X/Compiz bug than something in wxWindows.

Thanks again,
Andrew

···

AUI crashes when something an element is dragged over other elements
which
should move to accommodate the element being dragged (as far as I can
tell). This is easy to repeat - in the demo you can:

I see crashes for all dock/undock/drag operations where the dock hints
use "fading" (i.e. transparency) and while I'm using a compositing
window manager (XFWM4 in my case).

As a work-around, using only outline-hints seems to work OK. Also,
turning off compositing in the Window-manager also avoids the crash (I
switch to Metacity and the crashes go away).

I've never seem this crashing behaviour on WinXP. I think this is a
Xlib / compositing problem.

BC

This is on Linux, SuSE 10.3 (x86_64), Python 2.5.1, wxPython 2.8.7.1
(wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.29).

It would be excellent if there was a workaround as this otherwise looks
pretty good....

Cheers,
Andrew

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users