MouseLeave isn't executed if mouse goes directly from a control to another overlying application
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
LCL application is not active (doesn't have focus), mouse goes to some control that is partly hidden by another application window, mouse goes back to another application -> MouseLeave (CM_MOUSELEAVE) is not triggered.
Due to this phenomenon, hints are not hidden for inactive LCL application.
Steps to reproduce:
1.) Create a form with an edit. Set a custom hint text to the edit and enable ShowHint.
2.) Run it.
3.) Overlay some other external application window over the edit so that it is only partly visible.
4.) Place mouse cursor on the edit (don't click).
5.) Edit hint is shown.
6.) Move the cursor back to the external application window.
7.) The hint text is not hidden and is shown forever - until you switch back to the LCL application.
Mantis conversion info:
- Mantis ID: 31510
- OS: Windows
- Version: 1.7 (SVN)
- Fixed in revision: 54371 (#3a47676b)