Posted 18 years ago
by Joris Koster
-
Paragon Decision Technology
Version: 3.1.0222
Platform: .NET 2.0
Environment: Windows XP (32-bit)

The tooltip remains when the focus is somewhere else; steps to reproduce:
1) Open up the example application
2) Alter the Layout.Size property to 540,34
3) Use the scrollbar to scroll to line number 19 (with 'Declarations')
4) Hover above 'Declarations' and see the tooltip appear
5) Use a bit fast mouse motion to get the cursor over the tooltip
6) Move the mouse downwards outside the tooltip into e.g. the message window; the tooltip remains
Next you can move the mouse around in any window (except the editor) with the tooltip still being displayed.
I would expect (like e.g. in VS2005) that the hover-rectangle condition is also checked on a timer base. Each view would regularly (besides on mouse move events) check if the mouse position is still in the rectangle that gave rise to displaying that tooltip. I'm assuming you're right now just checking the mouse position on mouse move, but since those messages are only captured by the window directly beneath it you cannot check that way when the mouse is outside the window that created the tooltip.
1) Open up the example application
2) Alter the Layout.Size property to 540,34
3) Use the scrollbar to scroll to line number 19 (with 'Declarations')
4) Hover above 'Declarations' and see the tooltip appear
5) Use a bit fast mouse motion to get the cursor over the tooltip
6) Move the mouse downwards outside the tooltip into e.g. the message window; the tooltip remains
Next you can move the mouse around in any window (except the editor) with the tooltip still being displayed.
I would expect (like e.g. in VS2005) that the hover-rectangle condition is also checked on a timer base. Each view would regularly (besides on mouse move events) check if the mouse position is still in the rectangle that gave rise to displaying that tooltip. I'm assuming you're right now just checking the mouse position on mouse move, but since those messages are only captured by the window directly beneath it you cannot check that way when the mouse is outside the window that created the tooltip.