Mouse hover on intraline adornment causing tooltip flickering problem

SyntaxEditor for WPF Forum

Posted 7 years ago by Shiouliang Quek
Version: 17.2.0661
Platform: .NET 4.7
Environment: Windows 10 (32-bit)
Avatar

Hi,

We are facing some tooltip flickering problem when using the intraline adornment.

When we mouse hover on the intraline adornment, we are showing a tooltip, but the SyntaxEditor appears to pass the mouse hover event to the text line before/after the adornment as well, which for our case, also will show tooltip. This is causing the editor attempt to show both tooltips and hence the flickering effect.

To illustrate the cause of the issue, please follow the steps:

1. Open the sample project "Adornment 9 - Intra-Line Code Lens"

2. Mouse hover at the adornment between line 12, and line 13, around the area just after the 'Documentation' link, above the 'Class' text of next line. ( The mouse position is on adornment, not line 13).

3. Observe that the tooltip for 'FirstClass' at line 13 is shown.

Visual Studio does not exibit this behaviour. Please note that for Visual Studio, even though it does not show the tooltip for the next line when hovering at the adornment area, clicking around that adornment area can set the cursor to the line correctly.

Please advise if there is any workaround or a hotfix for this.

Thanks.

Comments (3)

Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Thanks for letting us know about this.  We've updated the hit testing mechanism for the next build to add a result type for when over an intra-text spacer.  This is the only thing that will resolve the problem, and I tested that it is resolved with that change.  The fix will be in build 662.


Actipro Software Support

Posted 7 years ago by Shiouliang Quek
Avatar

Hi,

Thanks for the fast response. May I know when build 662 will be available?

Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello, 

We don't have a target date just yet since 661 recently came out.  If you write our support address, we can give you a preview build with the fix in it though, so you can test it.


Actipro Software Support

The latest build of this product (v24.1.1) 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.