Gtk2: OnMouseDown does not get triggered if focus was changed after previous OnMouseDown
Original Reporter info from Mantis: Vladimir
-
Reporter name: Vladimir Zhirov
Original Reporter info from Mantis: Vladimir
- Reporter name: Vladimir Zhirov
Description:
Steps to reproduce:
- Compile and run the attached test application.
- Do a mouse click on TreeView or ListBox. Message box appears.
- Click the same widget once again.
Expected behavior: the same message box should appear.
Actual behavior: no reaction on second mouse click.
If you do one more click on the same widget it reacts as expected again.
The problem seems to occur when widget looses focus after MouseDown but before MouseUp. OnMouseUp works as expected.
I can reproduce the problem on Linux with GTK 2.16.6, Lazarus 0.9.29 fixes (r29207) and Lazarus 0.9.31 trunk (r28924).
Mantis conversion info:
- Mantis ID: 18614
- Version: 0.9.29 (SVN)
- Fixed in revision: 34021 (#c98a4639)
- Target version: 1.0.0
- LazTarget: 1.0