Bug 445522 - Cannot fully show "Background color:" in status bar (in Chinese)
Summary: Cannot fully show "Background color:" in status bar (in Chinese)
Status: RESOLVED DUPLICATE of bug 442595
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 21.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-15 11:35 UTC by Guo Yunhe
Modified: 2021-11-15 20:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Status bar of Gwenview in Chinese (5.42 KB, image/png)
2021-11-15 11:35 UTC, Guo Yunhe
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***