I have a custom boolean property on a dropdown list component in vision titled mouseHovering. I use scripts on the mouse entered and exited events to trigger this property true/false. When I drag the mouse over the arrow to use the drop down list however I get the below error. I am using b2019030702.
Traceback (most recent call last):
File “event:mouseEntered”, line 1, in
AttributeError: ‘javax.swing.plaf.synth.SynthArrowButton’ object has no attribute ‘mouseHovering’
Ignition v8.0.0-beta0 (b2019030702)
Java: Azul Systems, Inc. 11.0.2
I wasn’t able to replicate your issue. Please look over my steps and let me know if you did something differently.
- Place Dropdown on Window and supply valid options/values.
- Place Label on Window.
- Make new Boolean custom property for Dropdown, named “mouseHovering”
- Configure new mouseEntered and mouseExited events, which set event.source.mouseHovering to True/False respectively.
- Bind Label.text to Dropdown.mouseHovering.
- Place Designer in Preview Mode.
ACTION: Hover over Dropdown.
RESULT: Label text becomes “true”
ACTION: Move mouse away from Dropdown component.
RESULT: Label text becomes “false”.
If I just hover over the text portion of the drop down list it works perfectly. If I move the mouse over the triangle component of the drop down I get the error everytime.
There it is. Thank you. I’ll open a ticket right now.
This issue was fixed in the build uploaded today (4/10).
Normally we have the nightly builds accessible via https://inductiveautomation.com/downloads/ignition, but in the meantime you can find it via this post:
8.0.1 Nightlies - Temporary Place to Download the Latest Builds
Let us know if you have any issues.