Created attachment 150726 [details] Simple test template In Linux, LibreOffice Writer hangs when opening a simple template file. The bug is perhaps related to #124644. To reproduce: 1. Start Writer with a fresh profile 2. Open the attached template 3. Writer hangs and has to be killed System: Ubuntu Linux 18.04.2 64 bits Libreoffice 6.2.2.2 downloaded from www.libreoffice.org
I can open file without problems Version: 6.3.0.0.alpha0+ Build ID: 31ac398cfa30694b18240d31df17a58d699b5bf6 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
I can't reproduce it in Version: 6.2.3.1 (x64) Build-ID: 9ba025bafb03b962c34687cf87806cc03a3a7436 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc: To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test?
(In reply to Oliver Brinzing from comment #2) > To be certain the reported issue is not > related to corruption in the user profile, could you please reset your > Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and > re-test? => I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
I did the test with a fresh profile (see point 1). The bug is not present in Windows.
Cannot reproduce using - Version: 6.2.3.2 Build ID: aecc05fe267cc68dde00352a451aa867b3b546ac CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded Xubuntu 18.04.2 LTS
(In reply to Roland Baudin from comment #4) > I did the test with a fresh profile (see point 1). > > The bug is not present in Windows. But still in Linux like in your original bug report?
Yes, still in Linux.
I finally found the cause of the issue... and the solution. First, the problem only occurs in Linux and is indeed related to the fact that my template XDG directory in the file ~/.config/user-dirs.dirs was set to: XDG_TEMPLATES_DIR="$HOME/" I didn't pay attention to the trailing slash in "$HOME/", because everything was OK for years until LibreOffice 6.2.2.1. That trailing slash was here by mistake, I suppose... Something has changed from that version, because if I remove the trailing slash like this: XDG_TEMPLATES_DIR="$HOME" then the problem I've reported disappears, and also bug #124644 doesn't occur.
Comment #8 fixes the problem for me too. Version: 6.2.3.2 Build-ID: 20(Build:2) CPU-Threads: 4; BS: Linux 5.0; UI-Render: Standard; VCL: gtk3; Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE Calc: threaded
(In reply to Hannes from comment #9) > Comment #8 fixes the problem for me too. => RESOLVED WORKSFORME