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

Tooltips for graphic widgets not showing up #2878

Closed
tanviash opened this issue Nov 20, 2023 · 2 comments · Fixed by #2880
Closed

Tooltips for graphic widgets not showing up #2878

tanviash opened this issue Nov 20, 2023 · 2 comments · Fixed by #2880

Comments

@tanviash
Copy link
Collaborator

tanviash commented Nov 20, 2023

Tooltips for graphics widgets (label, arc, rectangle etc.) don't seem to show up anymore. But for other types of non-graphics widgets like monitors and controls, tooltips seem to work fine. I'm trying this on Linux Debian machine.

@kasemir
Copy link
Collaborator

kasemir commented Nov 20, 2023

In the log, you probably see something like this:

Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: Widget 'Rectangle' (rectangle) has no 'pv_value' property
	at org.csstudio.display.builder.model.Widget.getProperty(Widget.java:598)
	at org.csstudio.display.builder.model.Widget.getProperty(Widget.java:563)
	at org.csstudio.display.builder.model.Widget.getPropertyValue(Widget.java:678)
	at org.csstudio.display.builder.representation.javafx.widgets.TooltipSupport.lambda$attach$0(TooltipSupport.java:100)

Part of the update to show alarm limits #2769 breaks tool tips on widgets that have no value.

@kasemir
Copy link
Collaborator

kasemir commented Nov 20, 2023

Here's the problem:

Needs to check if there is a value property

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

Successfully merging a pull request may close this issue.

2 participants