https://bugs.freedesktop.org/show_bug.cgi?id=52931

--- Comment #6 from Patrick Oltmann <[email protected]> ---
The problem is still present in LibO 3.6.2.2. 
Below you will find a procedure for Windows 7 that should allow to reproduce
the problem without requiring an Active Directory, a Windows Server or actual
roaming profiles. All you need is a normal network share with read/write access
(hereafter termed "\\server\share"). 
As it can be seen in the procedure, the critical environment variable is
apparently not APPDATA but USERPROFILE, from which LibO seems to reconstruct
the APPDATA path by appending "\AppData\Roaming".

 1. Create the following test folders on the share
    \\server\share\libotest
    \\server\share\libotest\AppData
    \\server\share\libotest\AppData\Roaming

 2. Map \\server\share to a drive letter (hereafter termed "X:)

 3. Open the Windows command line and change to the LibO program directory
    (e.g. "C:\Program Files (x86)\LibreOffice 3.6\program")

 4. Check your USERPROFILE environment variable:
    'echo %USERPROFILE%'
    -> by default this will point to "C:\Users\<username>"

 5. Set the USERPROFILE to the test directory on the mapped drive:
    'set USERPROFILE=X:\libotest'

 6. Start LibO via the command line:
    'soffice.exe'
    It is important to do this from the command line, otherwise the default 
    USERPROFILE will be used.

    -> LibO should start now, and a config directory "LibreOffice" should be 
    created in X:\libotest\AppData\Roaming

 7. Perform the test as described in the original description (2012-07-30)
    -> the modifications to the settings should be maintained
    -> In the config directory, "3\user\registrymodifications.xcu" will be 
       created

 8. Quit LibO and delete the config directory from X:\libotest\AppData\Roaming

 9. Set the USERPROFILE to the test directory using the UNC:
    'set USERPROFILE=\\server\share\libotest'

10. Again start LibO via the command line (as in 6.) and test (as in 7.):
    -> the config directory "LibreOffice" should be created in 
       \\server\share\libotest\AppData\Roaming
    -> the modifications to the settings are lost.
    -> "3\user\registrymodifications.xcu" will not be created in the config
       directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to