Skip to content
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

SetToolTip #71

Open
glikar opened this issue Nov 10, 2021 · 8 comments
Open

SetToolTip #71

glikar opened this issue Nov 10, 2021 · 8 comments

Comments

@glikar
Copy link

glikar commented Nov 10, 2021

I started using DockigFrames 10 years ago. It's beautiful, and I especially love the externalized frame. The only issue I have is that tooltips won't show after setting a toolbar on a docking frame. If I make the frame not visible, then visible again, the icon tooltips show on hover.
Is there anything that pops into mind that could be the cause? Thanks for the fantastic library, by the way!

@Benoker
Copy link
Owner

Benoker commented Nov 10, 2021

Your tooltip most likely is copied by GlassedPane.createToolTip. Tooltips are copied because some transparent Component are painted over the frames (and thus over your toolbar too).

I did not do any debugging, but I would start by checking if GlassedPane.over is actually the Component which should provide your tooltip.

Next question would be: what exactly does "setting a toolbar on a docking frame" mean? You do this with some kind of drag&drop operation?

@glikar
Copy link
Author

glikar commented Nov 10, 2021

Lol, no, I was being inarticulate. I wrote the application years ago but was unable to complete it fully. Now that I have some spare time, I'm trying to bring it back to life, along with my programming skills.
Thanks for the suggestion, although I didn't use the Glass library.

@Benoker
Copy link
Owner

Benoker commented Nov 11, 2021

GlassedPane is not from the Glass library - it's on of the Components that's just placed all over the place to deal with MouseEvents. Well, it's just the first idea that went through my mind, could be a red herring :-)

A piece of code to reproduce the issue would be nice... ;-)

And knowing which JRE and OS you are using might also help.

@glikar
Copy link
Author

glikar commented Nov 11, 2021

Okay, will do. I try and put together the relevant snips. The OS is Linux, and I've tried different JRE's. Now that you mention it, the ToolTips worked the first time when I compiled it in VS rather than Intellij. I'll look into that also. Thanks!

@glikar
Copy link
Author

glikar commented Nov 11, 2021

VisualATS
Found it. I screwed up the ToolTip Delay. I had it set to a ridiculously long time.
Thanks for your time and patience!

@glikar
Copy link
Author

glikar commented Nov 11, 2021

To clarify, the first chart loaded used the default setting I set up. The following chart used a tooltip delay setting in a user menu option.

@glikar
Copy link
Author

glikar commented Nov 11, 2021

As an aside, has anyone published a dark theme?

@Benoker
Copy link
Owner

Benoker commented Nov 11, 2021

Hehe, good to see you solved the issue :-)

I know some people did play around with colors, but as far as I know nothing ever was officially published.

All the colors can be changed, they are all stored in an interface called ColorScheme (the tutorial app should contain some examples, also the guide http://www.docking-frames.org/dockingFrames_v1.1.2/core.pdf contains some information at page 46)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants