Bug 157276 - [UI] Presenter mode does not use system font
Summary: [UI] Presenter mode does not use system font
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Presenter-Console
  Show dependency treegraph
 
Reported: 2023-09-16 18:23 UTC by Faisal
Modified: 2023-09-28 09:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Faisal 2023-09-16 18:23:54 UTC
Description:
The UI font for the presenter mode interface does not use the system UI font set by the desktop environment.

Steps to Reproduce:
1. Open presenter mode in any presentation.

Actual Results:
Presenter mode UI uses a font that looks like DejaVu Sans (I cannot be sure).

Expected Results:
UI uses the system font set by the desktop environment, just like other parts of the LO UI.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 60(Build:3)
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
7.6.0-3
Calc: threaded
Comment 1 Faisal 2023-09-16 18:25:08 UTC
UX team, please have a look at this enhancement. Thank you.
Comment 2 Heiko Tietze 2023-09-18 10:57:52 UTC
Why do you expect the system font? Sounds like a design wish rather an issue.
Comment 3 Faisal 2023-09-19 08:37:39 UTC
I have now marked this as an enhancement. But to me, using a non-system font breaks user expectation when the rest of the UI everywhere uses system font from menus to toolbars.
Comment 4 Heiko Tietze 2023-09-28 09:36:46 UTC
We discussed the topic in the design meeting.

Looking into the code it seems the presenter console has a lot of room for customization. It should be possible to set background image/color, font size, name, color etc. via registry - and consequently allowing to set a theme per extension.

The fallback is however to use Tahoma.

PresenterTheme::FontDescriptor::CreateFont() {
...
  if (msFamilyName.isEmpty())
     aFontRequest.FontDescription.FamilyName = "Tahoma";

And the majority of participants agree on the request to use the system font as long nothing is defined per theme.