rcampa1 / rad2py

Automatically exported from code.google.com/p/rad2py
GNU General Public License v3.0
0 stars 0 forks source link

wx mouse capture assertion undocking/moving AUI pane after dialog #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open rad2py, load ej_wsfev1.py
2. Debug step-by-step from pyafipws import WSAA
3. A dialog will be raiced (see issue #20)
4. "PSP Defect log" pane will be raised (docked)
5. Try to undock/move "PSP Defect log" pane
6. Exception will raise

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/agw/aui/framemanager.py", line 9014, in OnLeftDown
    rootManager.OnGripperClicked(part.pane.window, event.GetPosition(), offset)
  File "/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/lib/agw/aui/framemanager.py", line 8610, in OnGripperClicked
    self._frame.CaptureMouse()
  File "/usr/local/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 10641, in CaptureMouse
    return _core_.Window_CaptureMouse(*args, **kwargs)
PyAssertionError: C++ assertion "!wxMouseCapture::IsInCaptureStack(this)" 
failed at ../src/common/wincmn.cpp(3271) in CaptureMouse(): Recapturing the 
mouse in the same window?

Using wxPython 3.0.0 (compiled against wxWidgets 3.0.0 dev ubuntu 14.04 package)

Original issue reported on code.google.com by reingart@gmail.com on 19 Jun 2014 at 5:31

Attachments: