[Mono-bugs] [Bug 349922] New: After Drag & Drop no controls can be clicked
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Dec 19 16:57:20 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=349922
Summary: After Drag & Drop no controls can be clicked
Product: Mono: Class Libraries
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at ximian.com
ReportedBy: gnorton at novell.com
QAContact: mono-bugs at ximian.com
Found By: ---
Download sharpchess (www.sharpchess.com) and drag & drop a piece. Afterwords
no controls can be clicked.
It appears that what is happening is the following:
When the StartDrag call returns SharpChess attempts to redraw the board with
the new piece position.
This calls PictureBox.set_BorderStyle from frmMain.RenderBoard ().
Which in turn causes Control to call RecreateHandle (eventually).
However the next event in the pipeline beofre the handle is created is the
WM_LBUTTONUP, but since the handle has been destroyed the window->hwnd mapping
in NativeWindow.cs (window_collection) cannot find the control to direct the
message to.
In turn the WM_LBUTTONUP never gets to the Control which never unsets
InternalCapture which never releases the Grab on the window.
Ping me if thats not clear enough
-g
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list