Bug 117793 - Default fonts in Base form controls cannot be changed
Summary: Default fonts in Base form controls cannot be changed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Database-Forms
  Show dependency treegraph
Reported: 2018-05-25 09:27 UTC by Vas
Modified: 2018-12-03 10:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Vas 2018-05-25 09:27:11 UTC
When I create a form, the default font is always the same for every control on there, regardless of what the page formatting, character formatting, paragraph style or Font settings for HTML, Base and SQL sources in the options are set to.

The default font is always Segoe UI, Regular, size 9. I cannot find a setting to change this anywhere.

Steps to Reproduce:
1. Amend the paragraph style to a font of choice
2. Amend the page formatting to a font of choice
3. Amend the character style to a font of choice
4. Select the font of your choice in the LO font settings for HTML, Base and SQL
5. Create a form, add a control, look at the font properties for the control

Actual Results:  
The font properties of the control are always Segoe UI, Regular, size 9

Expected Results:
I expect the control to take the properties of one of the styles that have been changed or at least be able to set the default font properties for controls.

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (x64)
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU threads: 4; OS: Windows 6.1; UI render: default; 
Locale: en-GB (en_GB); Calc: group

User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.97.1183.3
Comment 1 Robert Großkopf 2018-05-25 14:06:30 UTC
(In reply to Vas from comment #0)
> The default font is always Segoe UI, Regular, size 9. I cannot find a
> setting to change this anywhere.

This is the setting of your window-system. I have tested here with OpenSUSE 42.3 and KDE. My default font is Noto Sans 10. In form-controls the default-font is Noto Sans 10. If I switch the font in KDE the font switches also in all windows of LibreOffice. The font is the same here for the menues of LO, the dialogs for the form-controls, the content written in the form-controls ...
Comment 2 Vas 2018-05-25 14:29:21 UTC
I know you can change the font globally in openSuse as I have it installed on another machine, but I did not know it was fixed to the main OS font.

As i'm on Windows 7 currently, I'm not sure where I can change this. In a previous windows version I could change the font settings for various dialogue boxes, but I can't find it now. 

I still would like to see an option to change this though. We should have an option to either use the system font or choose your own as the default.
Comment 3 Alex Thurgood 2018-06-04 07:36:57 UTC
Per comment 1, confirming as RFE.
Comment 4 Alex Thurgood 2018-06-04 07:45:48 UTC
Point 4 in the steps to reproduce concerns Basic, and not Base. This setting defines which font will be used by default for HTML, SQL and Basic code in the Basic IDE respectively.

However, the default document template used for a database Writer form doesn't currently allow (at least not that I can see) for user modification to the fonts prior to creating a new form.
Comment 5 Alex Thurgood 2018-06-04 07:46:41 UTC
Remember that forms can also be created via Calc, so the question would need to be raised as to providing that possibility there too.