[Libreoffice-bugs] [Bug 94857] default template location overwritten by installation

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 25 08:34:00 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=94857

--- Comment #8 from Pierre C <pierre.choffardet at free.fr> ---
(In reply to Orwel from comment #7)
> My opinion is the solution should be more user friendly. I do not think
> changing the ACL registry with an error message by each update is the right
> way.
> 
> If it is not possible to keep the right way of the default template for
> security or other reasons (I really do not understand why is this necessary
> indeed) at least some check mark for example in the Custom installation
> settings should be added ("Keep actual template" or something similar).
> 
> This behaviour is really annoying...

I Absolutely agrees with that. I was just giving a (poor) workaround

>From my little knowledge of registry.
The hkey_local_machine is a machine configuration location, and it can't be
changed by a user.

So, a solution could be :
- The LO installation process changes the ACL of theses particulars keys, and
gives user a write access
- When a user changes LO option to change the default template, this is also
changed in the registry.
- At each new first start after installation, LO keeps consistence between
registry and LO default template.

This could be a little problem. On a PC under Windows, each user can have a
different default template setting. But as this is stored in the local_machine
registry, each user has the same config by right-click --> new.

So definitively, this should be done during the installation process. In the
advanced installation process, on step could be to give the path to the default
template used.

Sorry you had my thoughts while I was writing

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170825/cd80e71b/attachment-0001.html>


More information about the Libreoffice-bugs mailing list