[Bug-13046]Vision Dropdown Arrow Button Registers As Event Source

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

1 Like

I wasn’t able to replicate your issue. Please look over my steps and let me know if you did something differently.

  1. Place Dropdown on Window and supply valid options/values.
  2. Place Label on Window.
  3. Make new Boolean custom property for Dropdown, named “mouseHovering”
  4. Configure new mouseEntered and mouseExited events, which set event.source.mouseHovering to True/False respectively.
  5. Bind Label.text to Dropdown.mouseHovering.
  6. 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”.

1 Like

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.

1 Like

There it is. Thank you. I’ll open a ticket right now.

1 Like

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.