VTVDragManager unneccesarily created on non-Windows with DragType=dtVCL
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
VTVDragManager is created on non-Windows even with DragType=dtVCL but it is not implemented and after drag&drop operation it for example prevents scrolling in DoTimerScroll (DoSetOffsetXY is not called).
VTVDragManager is created in TBaseVirtualTree.DragOver because there is a missing check for FDragManager <> nil.
You can test with attached project on Linux, but you need to hardcode InRect to True in DoTimerScroll because MapWindowPoints is not implemented:
- Move mouse at the bottom of the Tree, scrolling should start.
- Start dragging some node and after dragging starts release mouse.
- Move mouse at the bottom of the Tree, scrolling does not start anymore.
Patch against trunk is attached.
Mantis conversion info:
- Mantis ID: 21976
- OS: Debian
- OS Build: Sid
- Build: trunk/2420
- Platform: Linux i386