The Object Mode drop down menu in the 3D viewports is not reactive to larger font point settings. #69544

Open
opened 2019-09-05 16:21:24 +02:00 by Jeff Hanna · 13 comments

System Information
Operating system: Windows 10 1803
Graphics card: nVidia RTX 2070

Blender Version
Broken: v 2.80 as found on the splash screen

The Object Mode drop down menu in the 3D viewports does not properly resize itself if the user picks a larger font point size in the Themes section of the preferences. Instead of resizing the control truncates the overrunning text with a square character.

Exact steps for others to reproduce the error
Start Blender
In Preferences \Themes \ Text Style change the Widget Points setting from the default of 11 to a larger value. I used 15.

Object_Mode_Text_Truncated.png

**System Information** Operating system: Windows 10 1803 Graphics card: nVidia RTX 2070 **Blender Version** Broken: v 2.80 as found on the splash screen The Object Mode drop down menu in the 3D viewports does not properly resize itself if the user picks a larger font point size in the Themes section of the preferences. Instead of resizing the control truncates the overrunning text with a square character. **Exact steps for others to reproduce the error** Start Blender In Preferences \Themes \ Text Style change the Widget Points setting from the default of 11 to a larger value. I used 15. ![Object_Mode_Text_Truncated.png](https://archive.blender.org/developer/F7718346/Object_Mode_Text_Truncated.png)
Author

Added subscriber: @jeff_hanna

Added subscriber: @jeff_hanna

#72065 was marked as duplicate of this issue

#72065 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I could not reproduce the problem.
In my case appears .. which seems to be a reasonable way to indicate that there is more text in front.
Sem título.png

Can you better describe how you got that result?

I could not reproduce the problem. In my case appears `..` which seems to be a reasonable way to indicate that there is more text in front. ![Sem título.png](https://archive.blender.org/developer/F7826307/Sem_título.png) Can you better describe how you got that result?
Author

Sure. I changed the UI font to Segoe UI, as I'm on Windows and I find that font easier to read (50 year old eyes). I raised the font size to make everything a bit easier for me to resolve on my 35" 2560 x 1440 monitor. I was hoping the mode dropdown would resize horizontally to fit the full string "Object Mode", but the UI is not that dynamic. It would be nice if it was.

Sure. I changed the UI font to Segoe UI, as I'm on Windows and I find that font easier to read (50 year old eyes). I raised the font size to make everything a bit easier for me to resolve on my 35" 2560 x 1440 monitor. I was hoping the mode dropdown would resize horizontally to fit the full string "Object Mode", but the UI is not that dynamic. It would be nice if it was.
Member

Added subscribers: @WilliamReynish, @lichtwerk

Added subscribers: @WilliamReynish, @lichtwerk
Member

Usually dropdown boxes scale with the widget font size.

However in this case, this is explicitly constrained to a fixed size, see https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_ui/space_view3d.py$557

@WilliamReynish : any particular reason we are doing this? (if I scale the Widget Font size I see all sorts of enum dropdown scale happily with the font, I dont see why we need an exception here?)

Usually dropdown boxes scale with the widget font size. However in this case, this is explicitly constrained to a fixed size, see https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_ui/space_view3d.py$557 @WilliamReynish : any particular reason we are doing this? (if I scale the Widget Font size I see all sorts of enum dropdown scale happily with the font, I dont see why we need an exception here?)

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Can confirm this with SegoeUI font and scaled interface on multiple places.

1.png
2.png

Can confirm this with SegoeUI font and scaled interface on multiple places. ![1.png](https://archive.blender.org/developer/F8268819/1.png) ![2.png](https://archive.blender.org/developer/F8268821/2.png)
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

Note that the Segoe UI font, like almost all fonts, does have the “horizontal ellipsis” character that should be used for continuation character. But it, like many fonts, does not have the “two dot leader” character we are using for continuation, hence why you get that white block “tofu” character.

We are using this incorrect character just because the ellipsis in our default fonts is too wide. That character’s width is corrected in the following patch: https://developer.blender.org/D6055

Note that the Segoe UI font, like almost all fonts, does have the “horizontal ellipsis” character that should be used for continuation character. But it, like many fonts, does not have the “two dot leader” character we are using for continuation, hence why you get that white block “tofu” character. We are using this incorrect character just because the ellipsis in our default fonts is too wide. That character’s width is corrected in the following patch: https://developer.blender.org/D6055

Added subscriber: @mrvanes

Added subscriber: @mrvanes
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:25:11 +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
6 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#69544
No description provided.