Bug 81532

Summary: No icon themes are found when symlinks are used in config directory
Product: LibreOffice Reporter: Tobias Lippert <lippertto_oss>
Component: graphics stackAssignee: Tobias Lippert <lippertto_oss>
Status: RESOLVED FIXED    
Severity: major CC: drlobraf, rene
Priority: medium    
Version: 4.3.0.3 rc   
Hardware: All   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=63962
http://bugs.debian.org/752541
https://launchpad.net/bugs/1353994
Whiteboard: target:4.4.0
Crash report or crash signature: Regression By:

Description Tobias Lippert 2014-07-19 11:36:25 UTC
The Debian maintainer for LibreOffice approached me with an error in LO 4.3.0.x
(cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752531 , search for "icon selection")

When the config directory contains symlinks instead of real files, no icon themes are found, and the program closes with an error message when going to the options and clicking on "view".

An example for a symlink looks as follows.
/usr/lib/libreoffice/share/config/images.zip -> ../../../../share/libreoffice/share/config/images.zip
Comment 1 Rene Engelhard 2014-07-19 11:47:51 UTC
FTR; typo in the bug URL (from me, probably): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752541 is correct
Comment 2 Commit Notification 2014-07-21 08:14:05 UTC
Tobias Lippert committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=60954a8a96a66ff11e06b850838f3d16e8e1625f

fdo#81532 Handle symlinks to icon themes correctly



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.