Bug 168394 - In template manager, can't reset default template when set to a non-existent file
Summary: In template manager, can't reset default template when set to a non-existent ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Template-Manager Default-Template
  Show dependency treegraph
 
Reported: 2025-09-13 16:01 UTC by Eyal Rozenberg
Modified: 2025-09-13 16:14 UTC (History)
0 users

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-09-13 16:01:02 UTC
If I open the template manager (and filter by my current module), but my default template is set to a non-existent file:

* The template manager will not indicate this fact.
* User will not be actively offered to reset the default template.
* Right-clicking a template, or the empty area between templates, will not show a "Reset Default" item (it will show a "Set to Default" for actual templates).

That's just not right.

Possible fixes:

* Fix bug 101404 more robustly, so that opening the template manager would also automatically reset a default template set to a non-existent path - before any user interaction.
* Add some visual indication of the default template situation: Warning bar, a "dummy item" marked as default but with hatching, or partial transparency etc representing it being missing.

(and perhaps something I've not thought of.)