Search Issue Tracker

Fixed

Fixed in 2020.3.44f1, 2021.3.17f1, 2022.2.3f1, 2023.1.0a17

Votes

0

Found in

2020.3.39f1

2021.3.9f1

2022.1.14f1

2022.2.0b6

2023.1.0a9

Issue ID

UUM-12808

Regression

No

[Windows] Custom EditorWindow height is 6 pixels longer than the maxSize/minSize when its set to the biggest/smallest size

--

-

Reproduction steps:
1. Open the attached project
2. Open “Window/My Window” in the menu bar
3. Increase the size of “My Window” to the maximum

Expected result: “800” is logged in the Console window
Actual result: “806” is logged

Reproducible with: 2020.3.39f1, 2021.3.9f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a9

Reproducible on: Windows 10
Not reproducible on: macOS 12.4 (Intel)

  1. Resolution Note (fix version 2023.1.0a17):

    When calculating the border size of a window on Windows, we now scale the value correctly according to the active monitor's scale factor

  2. Resolution Note (fix version 2022.2.3f1):

    When calculating the border size of a window on Windows, we now scale the value correctly according to the active monitor's scale factor

  3. Resolution Note (fix version 2021.3.17f1):

    When calculating the border size of a window on Windows, we now scale the value correctly according to the active monitor's scale factor

  4. Resolution Note (fix version 2020.3.44f1):

    When calculating the border size of a window on Windows, we now scale the value correctly according to the active monitor's scale factor

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.