Search Issue Tracker

Active

Votes

1

Found in

2018.2.9f1

Issue ID

1089911

Regression

Yes

[Bolt] GUI Text Width is not calculated correctly when moving from one Resolution to another and GUIStyle uses Word Wrap

IMGUI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

To reproduce:

1. Download the attached project "Word wrap bug.zip" and open in Unity - make sure you have two Displays with different Resolutions
2. Select "Here!.asset" from Assets folder in Project window
3. In Inspector click "Edit Graph" button
4. In opened Flow Graph window zoom to 1x
5. Observe that Texts in Units fits correctly no matter what Zoom value is
5. Drag Flow Graph window or whole Unity Editor to second Display

Expected result: The Texts in Units fits correctly
Actual result: The Texts in Units does not Wrap correctly and sometimes gets cut off completely

Notes:
- This issue appears on both Windows and macOS
- I successfully reproduced this issue when dragging Flow Graph window or whole Unity Editor from 2560 x 1440 Display to 5120 x 2880 Display
- Link to the Forum: https://support.ludiq.io/communities/5/topics/2204-flickering-not-fully-visible-texts-on-units#comment-8044
- Workaround: Move the Zoom in slider just a little to decrease the value
- This issue might be related to this issue: https://issuetracker.unity3d.com/issues/high-dpi-gui-text-width-not-calculated-correctly-when-guistyle-uses-word-wrap

Reproduced on Unity 2018.1.0a5, 2018.1.9f2, 2018.2.12f1, 2018.3.0b6 and 2019.1.0a5
Not reproduced on Unity 2017.4.13f1 and 2018.1.0a4
Regression on Unity 2018.1.0a5

Comments (1)

  1. A22c0c5aa4ca8b27947c3741bb8e18b8?d=mm

    Ludiq

    Jan 07, 2019 19:46

    Hi, Bolt developer here!

    We still haven't been able to reproduce this internally on our development machines, but from the reports, it seems directly related to resolution and scaling. We are getting frequent reports from:

    - 4K displays and High-DPI screens (> 96 DPI)
    - Scaled up text (from the Windows display settings, e.g. 125%, 150%, 175%)

    Also, our users do not report having to move the window between two resolutions for the bug to occur. It appears to be constantly there on their screen/display/resolution setup.

    Hope that can help you isolate it!

All about bugs

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