[Libreoffice-commits] online.git: loolkitconfig.xcu

Pranav Kant pranavk at collabora.co.uk
Wed Jan 3 11:10:18 UTC 2018


 loolkitconfig.xcu |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 831c79c0acbca6a7053080061b14381640c4abb7
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Wed Jan 3 16:34:10 2018 +0530

    lookitconfig.xcu: Set a work path which is valid in chroot
    
    Since the variables are set outside of chroot, workdir directory is
    wrongly picked up as /home/username/Documents or something else. But it
    is not guarranteed that this directory would exist in the chroot. Any
    attempt to access such an invalid directory, eg. during filepicker
    button in hyperlink dialog, freezes the dialog.
    
    Change-Id: I83bfc5787a4f3bd66d8abd30b6204cb1e74e5287

diff --git a/loolkitconfig.xcu b/loolkitconfig.xcu
index 6edaacc3..ae2cd1ed 100644
--- a/loolkitconfig.xcu
+++ b/loolkitconfig.xcu
@@ -10,4 +10,7 @@
 <!-- Save memory by avoiding collecting autocompletion words  -->
 <item oor:path="/org.openoffice.Office.Writer/AutoFunction/Completion"><prop oor:name="Enable" oor:op="fuse"><value>false</value></prop></item>
 
+<!-- Set a work path which is valid in chroot -->
+<item oor:path="/org.openoffice.Office.Paths/Variables"><prop oor:name="Work" oor:op="fuse"><value>file:///home</value></prop></item>
+
 </oor:items>


More information about the Libreoffice-commits mailing list