[Patch] GTK2: Dragging TLabel/TPanel with TDockImageWindow does not work
Original Reporter info from Mantis: biloky @biloky
-
Reporter name: Joeny Ang
Original Reporter info from Mantis: biloky @biloky
- Reporter name: Joeny Ang
Description:
When DragKind=dkDock and DragMode=dmAutomatic, TLabel and TPanel (others?) cannot be dragged if TDockImageWindow (widgetsets that supports hints and alphablend) is used.
Problem: TGtk2WidgetSet.SetVisible() is calling ReleaseMouseCapture() for forms.
Patch: Don't call ReleaseMouseCapture() if form is a TDockImageWindow.
Steps to reproduce:
Using the test project, try dragging the different controls around.
Mantis conversion info:
- Mantis ID: 37371
- Build: trunk
- Version: 2.1 (SVN)
- Fixed in revision: r63572 (#6d6cea00)