Bug 164886 - "Image as application background" in the new UI theme feature doesn't work on Windows
Summary: "Image as application background" in the new UI theme feature doesn't work on...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.2.0.1 rc
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UI-Theming
  Show dependency treegraph
 
Reported: 2025-01-28 08:31 UTC by Ming Hua
Modified: 2025-01-28 14:02 UTC (History)
3 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 Ming Hua 2025-01-28 08:31:35 UTC
The revamped UI theme feature in version 25.2 added the possibility of setting an image as the background of the whole application.  However it doesn't seem to work for me on Windows 11.

Steps to Reproduce:
1. Tools > Options > LibreOffice > Appearance page, use "New" button to create a new theme.

2. In "Customizations" section, choose "Application background" for Items, then choose "Image" radio button, and pick any image.

3. Press "Apply" or "OK" button, restart LibreOffice if needed.

Expected Result:
See selected image in place of the gray background outside of the page area.

Actual Result:
Nothing changes, still the gray background.

Version Information:
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: en-US
Calc: CL threaded

Also tried zh-CN UI. This feature never worked for me, and I tested 25.2.0 RC1 and RC2.
Comment 1 Ming Hua 2025-01-28 08:37:42 UTC
This new "Appearance" page doesn't have its own meta bug yet, so I'll just add UI-Theming as the meta bug and put #163620 in See Also.
Comment 2 Heiko Tietze 2025-01-28 10:01:13 UTC
Have you played with the stretched vs. filled option? The feature works for me not only in Linux but also on Windows, see https://design.blog.documentfoundation.org/2024/12/20/libreoffice-themes-will-replace-the-color-customization/
Comment 3 Ming Hua 2025-01-28 11:34:19 UTC
(In reply to Heiko Tietze from comment #2)
> Have you played with the stretched vs. filled option?
Just tried stretched option, still doesn't work.

Also tried safe mode (so no Skia), doesn't work either.

One difference could be that my 25.2 version was installed via "msiexec /a" command, which installs on D: drive and doesn't write registry.

FWIW, the color options of this new theme feature work fine, including setting application background to a new color. Setting images as page background in Format > Page Style > Area > Image also works.
Comment 4 Regina Henschel 2025-01-28 12:37:53 UTC
I does not work with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 85c8901dc2710e91bccb64cd7d8068441f42f65b
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 5 Sahil Gautam (allotropia) 2025-01-28 14:02:41 UTC
The reason is that Themes is disabled by default and just changing the theme won't work. The user also has to enable it from the expert configuration. The registry entry is LibreOfficeTheme, set it to 1 to enable.

Pushed a patch to master for enabling themes by default + some UI changes https://gerrit.libreoffice.org/c/core/+/179406.

Added Sophie and Olivier as reviewers as the patch has a string change which might be a blocker for cherry-picking it to 25-2-1.