Bug 445522

Summary: Cannot fully show "Background color:" in status bar (in Chinese)
Product: [Applications] gwenview Reporter: Guo Yunhe <i>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns
Priority: NOR    
Version: 21.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Status bar of Gwenview in Chinese

Description Guo Yunhe 2021-11-15 11:35:52 UTC
Created attachment 143572 [details]
Status bar of Gwenview in Chinese

SUMMARY

In Chinese, the label for background color is translated to "背景色". However, unlike English, the translation text was cut. See attachment. Maybe it is because Gwenview calculate width by string length while Chinese characters are wider than English characters?

STEPS TO REPRODUCE
1. Install Chinese (zh_CN) translations and fonts
2. Run "LANG=zh_CN gwenview photo.jpg"
3. Resize the window, and check the status bar

OBSERVED RESULT
"背景色" was always cut

EXPECTED RESULT
"背景色" should be fully shown when the window is big enough

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211111
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-2-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2021-11-15 20:23:37 UTC

*** This bug has been marked as a duplicate of bug 442595 ***