Export to GitHub

turnip-town - issue #4

Wpos errors when moving plug-in windows


Posted on Nov 11, 2009 by Quick Bear

What steps will reproduce the problem? 1. Open a plug-in window 2. Grab the window and move it around, dagging it not by the header, but another section of the window body

What is the expected output? What do you see instead? Moves with errors on program exit.

Error message in log: Traceback (most recent call last): File "plugins\played\played.pyo", line 170, in OnMouseLeftUp

File "wx_core.pyo", line 9741, in ReleaseMouse

wx._core.PyAssertionError: C++ assertion "GetCapture() == this" failed at ....\src\common\wincmn.cpp(2536) in wxWindowBase::ReleaseMouse(): attempt to release mouse, but this window hasn't captured it

Comment #1

Posted on Nov 18, 2009 by Quick Bear

Comment deleted

Comment #2

Posted on Nov 18, 2009 by Quick Bear

added error checking: try: self.ReleaseMouse() except wx._core.PyAssertionError: pass

Status: Fixed

Labels:
Type-Defect Priority-Medium