https://bugs.documentfoundation.org/show_bug.cgi?id=119881
--- Comment #1 from Olivier Tilloy <[email protected]> ---
This bug was initially reported in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215.
According to the FreeDesktop Desktop Entry Specification¹, $XDG_CURRENT_DESKTOP
may contain a colon-separated list of strings.
The code in
https://github.com/LibreOffice/core/blob/master/vcl/unx/generic/desktopdetect/desktopdetector.cxx#L248
doesn't handle that well, as it tries to match (case-insensitive) on the whole
value of the variable.
This results in the desktop not being properly detected in instances where
XDG_CURRENT_DESKTOP = "ubuntu:GNOME" (which is the case in Ubuntu 18.04).
¹
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs