Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.1.X

Votes

0

Found in

2019.3.7f1

2019.4

2020.2

Issue ID

1262838

Regression

No

Interaction is broken when EditorGUI.indentLevel is set to 1 or higher and ParticleSystem.MinMaxGradient interface is used

IMGUI

-

How to reproduce:
1. Open user's attached "tooling-test.zip" project
2. Go to Test -> Windows Testing
3. Click the dropdown arrow in the center of the button
4. Click the edge of the dropdown arrow button
5. Open "WindowTesting.cs" script
6. Change the line 31 from "EditorGUI.indentLevel++;" to "EditorGUI.indentLevel = 0;"
7. Repeat 2-4 steps

Expected result: Properties panel opens when the dropdown arrow button is pressed on the center of it with both EditorGUI.indentLevel set to 0 or 1 and there is no need to press on the edge of the dropdown arrow button for the properties panel to open
Actual result: If the EditorGUI.indentLevel is higher than 0, the dropdown arrow button becomes only clickable by the edge of the button (step 4). After the 6th step, the properties panel opens when clicking the center of the dropdown arrow button

Reproducible with: 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Could not test with: 2018.4.25f1 (ParticleSystem.MinMaxGradient doesn't have color selection)

  1. Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.0b1

  2. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.7f1

  3. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.13f1

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.