"Hints" on non-active window are shown
Original Reporter info from Mantis: IPGuy
-
Reporter name: John Repucci
Original Reporter info from Mantis: IPGuy
- Reporter name: John Repucci
Description:
When a secondary window is active and when the mouse is hovered over a hinted object on the main window, the balloon hint for that object is displayed. In addition, if the tStatusBar is enabled on the secondary window, the hint from the main window shows up in the hint bar of the secondary window.
My preference: hints for objects on non-active windows should be suppressed.
I can tolerate the balloon hints for non-active windows appearing, but when the hints from another form start showing up on the active form, I think that is a bug.
0.9.31-31848-2.5.1, win32-Vista
Additional information:
Steps to reproduce:
New project, add a button
Second window, add a button to it.
Both windows: ShowHint := True
Form1 button: hint := 'Form1.Button1 Hint'
Form2 button: hint := 'Form2.Button1 Hint'
Form1.Button.OnClick := Form2.Show. (need to add Form2 to Form1's uses clause.
run:
hover over Form1-Button - verify balloon hint shows up
Click on Form1-Button - Form2 opens.
hover over Form2-Button - verify balloon hint shows up
with Form2 still the active window, hover the mouse over the Form1 Button, it's hint appears.
--- And I think it should not appear
Mantis conversion info:
- Mantis ID: 20086
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Target version: 1.2.0
- LazTarget: 1.2