Bug 74838 - Unable to set work path with new registry configuration backend
Summary: Unable to set work path with new registry configuration backend
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 4.2.0.4 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 12:58 UTC by Dennis Lichtenthäler
Modified: 2014-02-23 23:00 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
minimal registrymodifications.xcu to change the workdir (529 bytes, text/plain)
2014-02-11 12:58 UTC, Dennis Lichtenthäler
Details
registry export derived from registrysettings.xcu (1.78 KB, text/plain)
2014-02-11 12:59 UTC, Dennis Lichtenthäler
Details

Description Dennis Lichtenthäler 2014-02-11 12:58:24 UTC
Created attachment 93862 [details]
minimal registrymodifications.xcu to change the workdir

I'm trying to set a couple of configuration options via the new registry configuration backend, especially the default work path.

I've narrowed the required settings down to what is show in the attached registrymodifications.xcu. Translating that to the registry settings, I end up with what is shown in the attached workdir.reg.

With the registry modifications applied, I see an empty field in the options dialog where the workdir should be. Removing the LibreOffice\org.openoffice.Office.Common\Path\Current\Work tree, the NamedPath['Work'] setting is ignored altogether.
Comment 1 Dennis Lichtenthäler 2014-02-11 12:59:01 UTC
Created attachment 93863 [details]
registry export derived from registrysettings.xcu
Comment 2 Stephan Bergmann 2014-02-11 18:07:50 UTC
> [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office\Paths\org.openoffice.Office:NamedPath['Work']]
> 
> [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office\Paths\org.openoffice.Office:NamedPath['Work']\WritePath]
> "Value"="file:///H:/Daten"

For one, these entries should have a "org.openoffice.Office.Paths" segment instead of just "org.openoffice.Office", and for another, if it still doesn't work then, it might help to simplify the set member notation, using just "Work" instead of "org.openoffice.Office:NamedPath['Work']".
Comment 3 Dennis Lichtenthäler 2014-02-12 07:22:54 UTC
(In reply to comment #2)
> For one, these entries should have a "org.openoffice.Office.Paths" segment
> instead of just "org.openoffice.Office", and for another, if it still
> doesn't work then, it might help to simplify the set member notation, using
> just "Work" instead of "org.openoffice.Office:NamedPath['Work']".

I tried all permutations of your suggestions (changing to org.openoffice.Office:Paths and changing org.openoffice.Office.NamedPath['Work'] to Work) but the field was still blank and nothing regarding the work path was written to the registrymodifications.xcu.
Comment 4 bfoman 2014-02-12 17:48:09 UTC
A complete LibreOffice adm(x) template file (or at least wiki page) would help a lot with this bug or the other features like in https://bugs.freedesktop.org/show_bug.cgi?id=33655#c12.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.