I don't know if this only happens on Windows VCL or not, and it probably is not Tip-of-the-Day specific (but I don't know of other places that has long text that relies on system's line wrapping), but that's where I've seen this bug. The line wrapping for the tips in TotD dialog on my Chinese Windows 10 is very bad, for both Chinese and English (untranslated) text. Punctuation marks at start of a line, line break in the middle of an English word, etc. I'll attach a few screenshots to illustrate specific problems. Is there an option that can be tweaked to improve the system's line wrapping? Or can this only be fixed by employing the complicated logic that Writer uses for line wrapping?
Created attachment 157799 [details] A Chinese comma at the start of a line
Created attachment 157801 [details] A Chinese period on a line all by itself
Created attachment 157802 [details] linebreaks in the middle of English words
Works OK for me on Linux, Fedora 31. 版本: 7.0.0.0.alpha0+ Build ID: a092262a573d185171b00d2848cc25c14ad33b6e CPU 线程: 4; 操作系统: Linux 5.4; UI 渲染: 默认; VCL: gtk3; 区域语言: zh-CN (zh_CN.UTF-8); UI 语言: zh-CN Calc: threaded And Version: 6.3.6.0.0+ Build ID: cb957e35f54d6c4e9b8b13cd014a09bdf74327b0 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; Locale: zh-CN (zh_CN.UTF-8); UI-Language: en-US Calc: threaded
Hello Ming Hua, Is this issue still reproducible with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Still reproducible in 7.0.0 RC2: Version: 7.0.0.2 (x64) Build ID: c01aa64b6c3d89ebe5fe69c28c7adb24eb85249c CPU 线程: 2; 操作系统: Windows 10.0 Build 18363; 界面渲染: Skia/点阵; VCL: win Locale: zh-CN (zh_CN); 界面: zh-CN Calc: threaded
Further investigation reveals that this bug is not confined to Tip-of-the-Day dialog, but is prevalent in all multi-line UI elements. Seems to be something specific about the Windows API used for Chinese UI. I'll attach two more screenshots, one for "About > License Information" dialog, one for "Insert > Special Characters..." dialog. Both screenshots are from 7.0.0 final release on Windows 10: Version: 7.0.0.3 (x64) Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e CPU 线程: 2; 操作系统: Windows 10.0 Build 18363; 界面渲染: Skia/点阵; VCL: win Locale: zh-CN (zh_CN); 界面: zh-CN BTW another user in the Chinese LO user chat group has reproduced this bug, and I disagree with the "trivial" importance classification, but oh well.
Created attachment 164013 [details] About > License Information dialog 1. Opening Chinese quotation mark at the end of line 2. Line-breaking in the middle of an English URL
Created attachment 164016 [details] Insert > Special Characters dialog Line-breaking in the middle of a English word And since character description is not translated, this is the evidence that it's a Chinese-UI specific bug, as simply changing the UI language to English will make the line-breaking correct, even on the same Chinese Windows system.
Hello Ming Hua, A new major release of LibreOffice is available since this bug was reported. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Still reproducible in: Version: 7.1.0.3 (x64) / LibreOffice Community Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c CPU threads: 2; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win Locale: zh-CN (zh_CN); UI: zh-CN Calc: threaded As I've said in comment #7, this was reproduced by another Chinese Windows user in a local chat group when I asked. It should be 100% reproducible in the right environment. It's just that there are too few Chinese Windows user here on Bugzilla.
Ming Hua: Is this still an issue on newer versions on Windows? The display of Chinese characters for Tips of The Day looks good on Linux UI for me now.
(In reply to Kevin Suo from comment #12) > Ming Hua: Is this still an issue on newer versions on Windows? Yes, still reproducible with: Version: 7.6.3.2 (X86_64) / LibreOffice Community Build ID: 29d686fea9f6705b262d369fede658f824154cc0 CPU threads: 12; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: en-US (zh_CN); UI: zh-CN Calc: CL threaded