Tooltips remain when focus is somewhere else

SyntaxEditor for Windows Forms Forum

Posted 17 years ago by Joris Koster - Paragon Decision Technology
Version: 3.1.0222
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Avatar
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.

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks Joris, this appears to have already been fixed in v4.0 but I'll add it to the TODO list for v3.1.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.