In https://help.libreoffice.org/7.2/en-US/text/shared/01/01020000.html, it is written:
"When you open a document that was created from a "sticky template" (as defined above), LibreOfficeDev checks to see if the template has been modified since the document was last opened. If the template was changed a dialog is shown where you can select which styles to apply to the document."
Main Question for this bug: Is the user supposed to be able to "select which styles to apply" or is this help page wrong on this point?
As noted in the next two lines in the help page, the user can choose to "Update Styles" or "Keep Old Styles", but then all styles are imported, without an opportunity for selecting among them.
Here are the two lines in question.
"To apply the new styles from the template to the document, click Update Styles.
To retain the styles that are currently used in the document, click Keep Old Styles."
Secondary question for this bug: In the first of those two lines, shouldn't "apply the new styles" actually be written as "import the new styles" or just "import the styles"?
Rafael, you implemented the dialog in 2012. Remember how it was supposed to work?
Have tried, without success, to find the relevant place in the source code where "template-checking" is done, when documents are opened.
In this way, it may be possible to give an empirical "answer" to the question about the accuracy of the help page, so that its updating can be finished.
[Automated Action] NeedInfo-To-Unconfirmed
I believe this functionality, of selecting which styles to import, used to exist, see bug 60589, but was dropped (or converted) to the current "Load Styles" dialog (which allows selection among different style categories).
But even that slightly less differentiated possibility (offered in "Load Styles") is not offered in the "open file" dialog, which is the question here.
(In reply to sdc.blanco from comment #2)
> Have tried, without success, to find the relevant place in the source code
> where "template-checking" is done, when documents are opened.
sfx2/source/doc/objcont.cxx #527 (-> class QueryTemplateBox #403)
Quite some todo remarks below. Was it ever working?