Bug 145047 - Unchecking "Apply user data" => LO doesn't know if the template has been changed
Summary: Unchecking "Apply user data" => LO doesn't know if the template has been changed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Templates File-Properties
  Show dependency treegraph
 
Reported: 2021-10-10 19:52 UTC by larson
Modified: 2024-01-09 04:58 UTC (History)
1 user (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 larson 2021-10-10 19:52:45 UTC
Description:
As I have noticed, unchecking "Apply user data" in template properties (File > Properties > General) makes it impossible for Writer to detect if the template has been changed when I open documents based on it.

I'm sure this is wrong, and there should not be such a thing. Leaving out user data should not affect whether LO detects that the template has been changed.

Steps to Reproduce:
-

Actual Results:
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No



Additional Info:
-
Comment 1 larson 2021-10-12 21:45:31 UTC
Probably a duplicate of

https://bugs.documentfoundation.org/show_bug.cgi?id=88121
Comment 2 Dieter 2021-10-30 04:21:53 UTC
I can't confirm with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 273a25c796fca9afa0dfadac57dc3f336831221c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL

Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? To be certain the reported issue is not related to corruption in the user profile, could you also please reset your Libreoffice profile (https://wiki.documentfoundation.org/UserProfile) and re-test?

=> NEEDINFO
Comment 3 John 2022-01-08 14:18:47 UTC
I can reproduce it with 7.2.4.1

The detailed workflow:

1. Create a new document based on the default Writer template
2. Click File, then Properties, and then clear the Apply User Data check box.
3. Change the color of the Text Body style to red
4. Save the file as a template and place it in the LibreOffice templates directory (on Windows, it is %AppData\LibreOffice\4\user\template). Close it.
5. Create a new document based on it and save it on the desktop (C:\Users\YourName\Desktop). Close it.
6. Open the template and change the color of the Text Body style from red to blue. Save and close the template.
7. Open your document. You **won't** see a warning that the temlate has changed.

Version: 7.2.4.1 (x86) / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 4 Dieter 2022-01-08 14:40:54 UTC
(In reply to John from comment #3)
> I can reproduce it with 7.2.4.1

=> status NEW
Comment 5 Dieter 2022-01-08 14:41:10 UTC Comment hidden (obsolete)
Comment 6 sdc.blanco 2022-01-08 14:57:43 UTC
Reproduced effect using STR in comment 3, plus additional steps

8.  Open saved template and enable "Apply user data" (in File > Properties)
9.  Save template
10. Open test file created in step 5

Result:  Get expected warning about changed template.

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: e63fe68fb1d0915b64fdf63f7fa6eed866fa3a0d
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL
Comment 7 QA Administrators 2024-01-09 03:11:48 UTC
Dear larson,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug