TListView: pressed keys are not reflected in Shift variable inside OnMouseUp event
Original Reporter info from Mantis: Maxim @ganmax
-
Reporter name: Maxim Ganetsky
Original Reporter info from Mantis: Maxim @ganmax
- Reporter name: Maxim Ganetsky
Description:
When using TListView, pressed keys are not reflected in Shift variable inside OnMouseUp event. They are reflected OK in OnMouseDown/OnMouseMove events, though.
Steps to reproduce:
- Compile and run attached example.
- Press and keep pressed Shift key.
- Click inside ListView, but not on items. Shift state is detected OK in all three events.
- Click on any ListView item. Shift state is not detected in OnMouseUp event.
Additional information:
I use FPC 3.0.0. Bug can be reproduced in Lazarus 1.6.1 too.
Mantis conversion info:
- Mantis ID: 30234
- OS: Windows
- OS Build: 7 64-bit
- Build: r52426 i386-win32-win32/win64
- Platform: Win32
- Version: 1.7 (SVN)
- Fixed in revision: 52440 (#95bf15ee)