vaadin / framework

Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
http://vaadin.com/
Other
1.78k stars 729 forks source link

Component description (tooltip) can't have custom delay #9367

Open Thibstars opened 7 years ago

Thibstars commented 7 years ago

Vaadin 8.0.6

When a component (Label for example) has a description (example call: label.setDescription("Hello World!");), the delay of the tooltip to become visible isn't directly adjustable.

The only way you can adjust delays (I see at this moment) , is by adjusting the delay of the ToolTipConfiguration of the UI. But that is not really doing what I'm suggesting here.

I would expect some method on Component level that provides means to adjust the delay for the component's tooltip to become visible.

Legioth commented 7 years ago

In what kind of case would you want to have different timeouts for different components?

Thibstars commented 7 years ago

Well, I have a component in my application that contains tiny pagination control components (buttons with only 1 VaadinIcon, styled as links, so they're pretty small). Since the tooltips are hovering over the other controls, I'd like to add more delay for these specific components.

The controls should be pretty straight forward, so normally you wouldn't need to check the description. However it is provided for those who really need it. That's why I reckon the tooltips should only appear when the user really wants to see them.

Hope that makes a bit of sense.

[EDIT] Let me empower my use case with a screenshot: capture

stale[bot] commented 6 years ago

Hello there!

It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.

There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!