Wrong font is shown in formula bar (a.k.a. input line)
Steps to Reproduce:
1. Open the attached file. Cell A1 is Thai text with Arial font.
1.1 Clicking in formula line (input line) makes the font in input line correct (see picture)
1.2 Not change anything, just press Enter on the keyboard
1.3 Now the cursor is in cell A2
1.4 Click on cell A1; the text in formula line is switched back to wrong font
The text in formula line is shown with another font "Purisa" (see picture)
The text in formula line is shown with "Arial" font
User Profile Reset: Yes
OpenGL enabled: Yes
Version: 220.127.116.11 (x64)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win;
Locale: th-TH (th_TH); UI-Language: en-US
Created attachment 154311 [details]
test file in ods
Created attachment 154312 [details]
screenshot of wrong font in formula line
Created attachment 154313 [details]
correct font when clicking formula line
Created attachment 154315 [details]
animated gif file demonstrating the bug
And the font Purisa, if needed, can be downloaded from ftp://linux.thai.net/pub/thailinux/software/fonts-tlwg/fonts/otf-tlwg-0.7.1.zip
confirm behavior in
Version: 18.104.22.168.alpha0+ (x64)
Build ID: 06925c1230cd6269fa5189ac3f4d608c9edf68e9
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-17_00:45:28
Locale: ru-RU (ru_RU); UI-Language: en-US
Not reproducible in
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.15; UI Render: default;
Locale: ca-ES (ca_ES.UTF-8)
I can't reproduce it in
Build ID: b9d6ea1dd7541c4bd866571f9e3f0aa894687c07
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11;
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
@Korrawit Pruegsanusak, Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Thanks. Anyway, I still reproduce on this Daily Build:
> Build ID: 67ee8818e68a2793d89331dd715989c468fe5680
> CPU threads: 2; OS: Windows 10.0 Build 17763; UI render: GL; VCL: win;
> Locale: th-TH (th_TH); UI-Language: en-US
> Calc: CL
The following step should be added to reproduce this bug:
0. Install all fonts from this link ftp://linux.thai.net/pub/thailinux/software/fonts-tlwg/fonts/otf-tlwg-0.7.1.zip
This could be OTF or TTF fonts, located at the same FTP folder ftp://linux.thai.net/pub/thailinux/software/fonts-tlwg/fonts/
You may need to restart your machine, with resetting LibO user profile.
1. Continue with the step on the bug description (comment 0)
**General description of this problem**
1. This bug is that: LibreOffice selects the wrong font to display in the formula bar in the not-editing stage.
When the formular bar is in editing stage, LibO seems to use Arial font, if I understand correctly, which is what supposed to be.
The wrong font doesn't limit to Purisa font; sometimes LibO uses another font in the above zip file. I still can't figure which font LibO will use.
2. If the CTL option is enabled and set to Thai, or is disabled, this bug appears.
If the CTL option is enabled and set to anything but Thai (such as Hindi or Telugu), font will not flip between editing and non-editing stage. Instead, LibO will use the wrong font in both editing and non-editing stage.
Correcting status to NEW as this was confirmed by Roman.
Narrowed this down to bibisect-win32-5.3, so it seems to be the move to HarfBuzz.
Dear Korrawit Pruegsanusak,
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
Still reproducible using the following version; and I've resetted my user profile already.
Version: 22.214.171.124 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 4; OS: Windows 10.0; UI render: GL;
Locale: en-US (en_US); Calc: CL
So I set the version field accordingly.
In this 6.0 version, the behavior is same as in attachment 154315 [details]. The font switches between correct and wrong font when clicking formular bar.
Created attachment 180689 [details]
animated gif file version 126.96.36.199 - no bug
In version 188.8.131.52, the behavior and the font were correct.
The font in the formula bar is the default system font and it was not switching.
Created attachment 180690 [details]
animated gif version 5.3 and 5.4 -- half of the bug
In version 184.108.40.206 and 220.127.116.11, the bug was introduced.
The font in formula bar is wrong, as it is not the default system font as in version 5.2. Anyway, the font is not switching as in version 6.
So, the bug was introduced in version 5.3 (wrong font, no font switching), and it was worse in version 6 and later (wrong font and font switching when click).
Yep, Korrawit, see my comment 11 :)
The layout engine has no influence on font selection, and there is nothing HarfBuzz related here. Per comment 9, this is somehow related to the CTL font settings
I can’t reproduce this either (even after installing the fonts, and even on a fresh LO profile), so I suggest narrowing the Hardware fields to the OS where this has been reproduced (font selection and fallback are very OS-specific).
Still repro on Windows
Version: 18.104.22.168.alpha0+ (x64) / LibreOffice Community
Build ID: 7716a43e76fe26ba31393b31cfa967f5fcb6e747
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo