Bug 167987 - Don't ask for a restart on removal of an unused theme
Summary: Don't ask for a restart on removal of an unused theme
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: UI-Theming
  Show dependency treegraph
 
Reported: 2025-08-17 11:21 UTC by Eyal Rozenberg
Modified: 2025-08-17 17:05 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 Eyal Rozenberg 2025-08-17 11:21:36 UTC
When I remove an unused theme via the LO extensions dialog, I'm told that LibreOffice needs to restart for the theme to work properly, or something along those lines.

That does not make sense; if the theme is not in use, there should be nothing about it the absence of which hinders the current LO session.

Build:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8ffeca7af4302da21d33494342017c3737d540e1
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: CL threaded
Comment 1 V Stuart Foote 2025-08-17 13:14:09 UTC
Confirmed.

STR are: 

1. Install several >= 25.8 appearance themes, either the Tools -> Options -> Appearance mini-dialog or the full extension manager.

2. Leave the Appearance theme in automatic.

3. Open the full Tools -> Extensions manager dialog

4. locate one of the newly installed appearance themes

5. select it highlighted, and use the 'Remove' button

6. the extension is removed, but get the "Restart LibreOffice" popup, with message: "For the extension to work properly, LibreOffice must be restarted".

7. OK out closes LibreOffice, but with this build does not actually restart.

8. On start, the theme Extension(s) are removed, and can be reinstalled (so bug 164452 seems corrected).


Still, if a restart is necessary to fully remove and resync the themes available in the Appearance framework, then I am fine with the restart requirement.  

But if restart is actually not necessary (and a theme or os/DE colors fully apply), then it should probably be eliminated if possible. But I would rather have reliable theme handling (keeping the restart if needed) than simply not prompting a restart and leaving residuals in user profile.

Version: 25.8.0.2 (X86_64)
Build ID: 80a8bc2ef75d415a197e282da0ebf917315d5e24
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded


@Sahil, what's your take on current state and need for restart (which actually does not fully restart, just closes out)?