Bug 170480 - inserting field of type "template" changes format after each save
Summary: inserting field of type "template" changes format after each save
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-26 10:58 UTC by Petr Smely
Modified: 2026-01-26 10:58 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 Petr Smely 2026-01-26 10:58:56 UTC
Description:
having inserted a field of type "template" does not keep its format setting (eg. "filename w/o ext", bus instead after each save steps down the list until it's empty.

Steps to Reproduce:
0. have a document with a template set
1. insert field of type "template"
2. choose any item from the list, eg. "filename w/o ext"
3. save and exit
4. reopen and the field has the format of the one below the chosen, ie "path"
5. optionally repeat save and reopen until the end of the list is reached, then the field displays nothing.

Actual Results:
field format of type "template" (the one i've tested, mybe there are others) changes format after each save.

Expected Results:
format should be kept


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 26.2.0.2 (X86_64)
Build ID: 750d5fef117734aeeb00d37a069d6c814e9eb8ce
CPU threads: 12; OS: Linux 6.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-CH (en_US.UTF-8); UI: en-US