UI: Wrong text cut-off without "…" #95048

Open
opened 2022-01-19 10:07:14 +01:00 by Garek · 5 comments

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: 34d424fd64
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.
    Wrong cut-off with ...2022-01-19 14-02-00.mp4
**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: `34d424fd64` 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. [Wrong cut-off with ...2022-01-19 14-02-00.mp4](https://archive.blender.org/developer/F12811252/Wrong_cut-off_with_...2022-01-19_14-02-00.mp4)
Author

Added subscriber: @Garek

Added subscriber: @Garek
Contributor

Added subscribers: @mont29, @RedMser

Added subscribers: @mont29, @RedMser
Contributor

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

Seems to be caused by c5a8a4e9d8 as removing the line `okwidth += 1.0f + UI_DPI_FAC;` seems to fix this issue. CC @mont29

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Removed subscriber: @mont29

Removed subscriber: @mont29
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:22:17 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#95048
No description provided.