Search Issue Tracker

Fixed

Fixed in 2022.3.55f1, 6000.0.31f1, 6000.1.0a8, 7000.0.0a10

Votes

0

Found in

2023.2.0a6

6000.0.28f1

6000.1.0a5

7000.0.0a6

Issue ID

UUM-87579

Regression

Yes

Inconsistent behaviour when interacting with different element labels with pointer events on parent Visual Element

--

-

*Steps to reproduce:*
# Open the attached repro project (BugTest.zip)
# Open the BugScene scene (if not already open)
# Enter playmode
# Click on the label for Enum
# Click on the label for Dropdown

*Actual results:* When you click on the label for the Enum dropdown, the PointerUpEvent on its parent Visual Element is called and the log statement 'Pointer up on container' is logged to console. When you click on the label for the Dropdown field, no pointer events are called and nothing is logged to console.

*Expected results:* Both the PointerUpEvent and PointerDownEvent on the parent VisualElement should be called or not be called when the Enum dropdown's and Dropdown field's labels are clicked.

*Reproducible with versions:* 7000.0.0a6, 6000.1.0a5, 6000.0.28f1, 2023.2.0a6

*Not reproducible with versions:* 2023.2.0a5, 2022.3.54f1, 2021.3.45f1

*Can’t test with versions:* - 

*Tested on (OS):* MacOS Sonoma 14.6.1

*Notes:* 
* This bug has two regressions:
** 2023.2.0a6 is the first regression. Before this version both the Pointer Up and Pointer Down events worked on the parent Visual Element when clicking the labels for the two elements. On 2023.2.0a6 and after, only the PointerUp event is called and not the PointerDown event.
** 6000.0.28f1 is the second regression. After this version, the Dropdown Field label no longer calls the event for either PointerDown and PointerUp on its parent. The Enum Dropdown is still the same though and responds to PointerUp events but not PointerDown events on its label.

  1. Resolution Note:

    This is by design. Pointers are not supposed to show up in this case. They're stopped because they're consumed. If you want to capture them, register callback on TrickleDown.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.