-
-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ToolTip is refreshing multiple times when cursor is moving #832
Comments
Not sure what you're doing. Please provide a self-contained test app that demonstrates the problem. Also try disabling rounded border. Then maybe light-weight tooltips are used (when the tooltip fits into the frame). UIManager.put( "ToolTip.borderCornerRadius", 0 ); |
@mellmann has posted a test case to reproduce the issue here: #672 (comment) This is actually a general Swing problem and occurs as soon as "heavy weight" popups (based on @mellmann you should see the same flickering tooltip in other Lafs when you move the mouse near the bottom or right window edge so that the tooltip is displayed outside of the test window. Moving a popup/tooltip is only possible by hiding the old popup and showing a new popup at a new location (see javadoc of Because "heavy weight" popups use a This is not easy to fix, but I have an idea how it could work... 😄 |
Fixed in latest |
@DevCharly thanks for the quick reaction! I'm looking forward to trying out the fix in the next few days. I'm not sure if it's helpful but, I noticed that the delays only appear with the native libraries. If the native library is deactivated then everything is fast (of course, some modern decorations like the round corners disappear as well). System.setProperty( "flatlaf.useNativeLibrary", "false" ); |
Yes, but only on Windows and only as long as the tooltip fits into the containing windows. |
Attaching a video for better understanding
tooltipIssue.mp4
Can we get any suggestions on how to fix this tooltip rendering issue in flatlaf , Thanks in advance.
The text was updated successfully, but these errors were encountered: