Search Issue Tracker

By Design

Votes

0

Found in

2019.3

2019.3.0f2

2020.1

Issue ID

1204187

Regression

No

[Mac] Left Mouse Button activator does not work with ContextualMenuManipulator

UI Toolkit

-

Steps to reproduce:
1. Create a new project
2. Download attached "1204187_package.unitypackage" file
3. Drag the package into your Project window and import the TestWindow script
3. Open the test window Window->BUG->1204187
4. In the newly opened window click the 'Show Menu' button

Expected result: A menu appears showing "Item 0, Item 1, Item 2"
Actual result: On Windows the menu appears. On Mac Nothing happens, a menu doesn't appear

Reproducible with: 2019.3.0f3, 2020.1.0a17 ("Kinematica" package version preview.1 - 0.0.1)
Could not test with: 2017.4, 2018.4, 2019.2 (Not compatible with the "Kinematica" package)

  1. Resolution Note:

    Button internally uses another manipulator which will compete for the MouseDownEvent (on MacOS contextual menus are shown on mouse down).
    You can remove this manipulator (the ClickableManipulator) by setting it to null `button.clickable = null`.

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.