Page MenuHome

UI: Wrong text cut-off without "…"
Confirmed, NormalPublic

Description

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: AMD Radeon HD 7800 Series ATI Technologies Inc. 4.5.14831 Core Profile Context 21.5.2 27.20.20903.8001

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-16 23:26, hash: rB34d424fd64bb
Broken: version: 2.80 (where first appeared)
Worked: never

Short description of error
When text can't fit into designated area Blender will cut off last characters and adds at the end. However in some cases it will not add it, instead plainly showing incomplete test.
Additionally with long text and limited space Blender will cut middle of a text like this: start text … end text. Issue also affecting this case and sometimes will make text to look like this: start text … end tex, without last letter.
That works for other areas like Properties Editor.

Exact steps for others to reproduce the error

  1. Open preferences, go to Keymap.
  2. Resize window carefully and look how end of a text is behaving.

Event Timeline

Garek (Garek) updated the task description. (Show Details)

Seems to be caused by rBc5a8a4e9d8bda11cd8314473b190189fd1303c98 as removing the line okwidth += 1.0f + UI_DPI_FAC; seems to fix this issue.
CC @Bastien Montagne (mont29)

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Jan 19 2022, 7:34 PM