Created attachment 185077 [details] Writer file with 2 label fields. Both are set to 10 pt. First field appears 8 pt. Open a new Writer document. Form → Design Mode must be set. Form → Label Create a label field. Text Label Field appears very small. Have a look at the properties (right mouse click → Control Properties → General → Font). Says it is set to (Default). Press Button with … and have a look. Size should be 10 pt, but it isn't. Switch Size to 12 pt and press OK. Reopen the dialog and switch size to 10 pt. Now the font is set the right size. This bug appears in Version: 7.5.0.3 (X86_64) / LibreOffice Community Build ID: c21113d003cd3efa8c53188764377a8272d9d6de CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: en-US Calc: threaded It doesn't appear in LO 7.4.5.1. If you open the attached file in LO 7.4.5.1 you see to label fields with identical height of fonts. If you open this in LO 7.5.0.3 it will show different height. I have attached also a *.pdf-file to show the difference.
Created attachment 185078 [details] Same as first attachment, exported to pdf.
Tested with Version: 7.5.0.3 (X86_64) / LibreOffice Community Build ID: c21113d003cd3efa8c53188764377a8272d9d6de CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded Default font is Segoe UI 9pt. But I have no idea, why this should be default font and size. I don't know where I can set this default font. in Options -> LibreOffice Writer -> Basic Fonts the default font is Liberation Serif 12pt. So my question Robert is: Why do you expect 10pt? Where do you set default font size of text in label (same with text box)
(In reply to Dieter from comment #2) > > So my question Robert is: Why do you expect 10pt? Where do you set default > font size of text in label (same with text box) Open Writer. Form → Design Mode must be chosen Create a Label Field "Label Field" will appear as content. Right mouse click over this field → Control Properties General → Font: (Default) appears. Press the button with 3 points. Font → Size is shown as 10 pt. (but it is really 8 pt) This font and font size is the default of the window manager. Here, with KDE on OpenSUSE, I could set it as Default for all menu entries, headers of the windows … I could set this font to 12 pt. But if I draw the label field it is shown with 8 pt. And Font → Size will be set to 12 pt. Seems "8 pt" is hard coded somewhere in LO since LO 7.5.
I confirm it with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d7c609dbb1bd08865b43719d2fb7c316d30bcde5 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (de_DE); UI: en-GB Calc: CL threaded Setting of default font size is 9pt, but real font size 8pt
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.5. Adding Cc: to Caolán McNamara ; Could you possibly take a look at this one? Thanks f07b8d8187064c91a1f7be039f69cf8a0a94e6d4 is the first bad commit commit f07b8d8187064c91a1f7be039f69cf8a0a94e6d4 Author: Jenkins Build User <tdf@pollux.tdf> Date: Tue Oct 4 21:41:37 2022 +0200 source ea36e0502c0bc381577cfa1b1a7fedf0f05d1d72 140942: tdf#150786 use a 'standard' theme for form controls | https://gerrit.libreoffice.org/c/core/+/140942
In Ubuntu I seee Ubuntu font 10, so I do not reproduce "Size should be 10 pt, but it isn't." I remove Caolan from Regression By as this does not seem like a simple regression, if a bug at all.
(In reply to Timur from comment #6) > In Ubuntu I seee Ubuntu font 10, so I do not reproduce "Size should be 10 > pt, but it isn't." > I remove Caolan from Regression By as this does not seem like a simple > regression, if a bug at all. You will see 10 pt in the properties, but you will see 8 pt on label fields an also on buttons. Have just seen this on another system with Windows for a button I have forgotton to design by → changing the font from 10pt to 11pt. → closing the dialog → changing font from 11pt to 10pt. Only after I have done this it will appear as 10 pt. Seems you aren't creating many forms, but since LO 7.5 creating forms is a nightmare. I am creating all forms at this moment with LO 7.4.7.2, because this is the last version without problems in creating forms. This isn't the only buggy behavior, which has been introduced. And I don't know who could better fix this than the person, who has been found as the one, which introduced it with a fix… I will set back the importance.
Confirming with Version: 7.6.4.1 (X86_64) / LibreOffice Community Build ID: 60(Build:1) CPU threads: 32; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (en_US.UTF-8); UI: en-US 7.6.4-2 Calc: threaded Seems the standard theme settings are not correctly applied to the form control.