Page MenuHome

Problem with Panel class in layout and with translation texts
Open, Needs Triage by DeveloperPublic

Description

Targeting Project
GUI Development

System Information
Operating system:
Linux, Kernel: 4.15.0-20-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.8
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic

Graphics card:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Hewlett-Packard driver: i915 v: kernel
Device-2: NVIDIA GK208M [GeForce GT 740M] vendor: Hewlett-Packard driver: nouveau v: kernel bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: modesetting,nouveau unloaded: fbdev,vesa
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.0.5 direct render: Yes

Blender Version
Blender 2.80 (sub 75)
build date: 2019-07-29
build time: 17:17:04
build commit date: 2019-07-29
build commit time: 14:47
build hash: f6cb5f54494e
build platform: Linux
build type: Release

Short description of error
On the 3D Viewport, the main screen of 'Layout', you see the drop down list of 'Object Types Visibility' where English texts are all visible and well spaced.

When switched to the Vietnamese translation language, it looks like this:

Where 'heading' and item texts are BOTH obscured to the right, trailing with two dots ('..')

The code for this module is at:

and the piece of text translation is this:

Please take this 'blender.mo' file of Vietnamese I translated and compiled locally:

and drop in to the location:

2.80/datafiles/locale/vi/LC_MESSAGES

of your binary before switching to Vietnamese, select to turn on translation only for 'Interface' and 'Tooltips' while testing (because I only turning on these options on my pc).

Questions

Can 'Panel's be able to calculate their size and extendable at run time to cater for the size of the 'Longest' string of text (based on the dpi of font chosen and configuration scale) and aligning themself away from the edge of the parent windows (so do not overlapped the underneath) as in this situation:

Exact steps for others to reproduce the error

  • Run Blender
  • Drop the translation 'blender.mo' file into the directory mentioned
  • Edit (Biên Soạn) ->Preferences (Cấu Hình) -> Interface (Giao Diện) and click on Translation (Phiên Dịch). In the language combo box, select 'Vietnamese' (Tiếng Việt). Then click to turn on 'Tooltips' (Chú Thích Công Cụ) and 'Interface' (Giao Diện).
  • Click on drop down panels as shown in the images and notice their contents and layout.

Details

Type
Bug

Event Timeline