Launchpad has imported 7 comments from the remote bug at https://bugs.documentfoundation.org/show_bug.cgi?id=119881.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2018-09-14T14:49:38+00:00 Olivier Tilloy wrote: Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215/comments/27 ------------------------------------------------------------------------ On 2018-09-14T14:53:50+00:00 Olivier Tilloy wrote: 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 Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215/comments/28 ------------------------------------------------------------------------ On 2018-09-14T15:03:18+00:00 Xiscofauli wrote: Hi Olivier, I think this is the same problem as in bug 119328. Do you plan to work on this? I provided this patch https://gerrit.libreoffice.org/#/c/60489/ but I'm wondering if we should use something like 'contains' instead... Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215/comments/30 ------------------------------------------------------------------------ On 2018-09-14T15:08:59+00:00 Xiscofauli wrote: *** Bug 119328 has been marked as a duplicate of this bug. *** Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215/comments/31 ------------------------------------------------------------------------ On 2018-09-14T15:09:35+00:00 Xiscofauli wrote: Output of 'echo $XDG_CURRENT_DESKTOP' in Ubuntu 18.04 with Unity 7 installed: Unity:Unity7:ubuntu Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215/comments/32 ------------------------------------------------------------------------ On 2018-09-14T15:24:44+00:00 Olivier Tilloy wrote: Hi Xisco, Without researching this further, I think what needs to happen is splitting the value of aCurrentDesktop on colons, and iterate until we find a known DE. In pseudo-code: array aCurrentDesktops = aCurrentDesktop.split(":") for (de in aCurrentDesktops) { if (de.equalsIgnoreAsciiCase("unity")) { ret = DESKTOP_UNITY; break; } else if (de.equalsIgnoreAsciiCase("gnome")) { ret = DESKTOP_GNOME; break; } else if … } I can give it a try next week if you don't beat me to it. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215/comments/33 ------------------------------------------------------------------------ On 2018-09-14T15:28:20+00:00 Xiscofauli wrote: yep, I use python too much... Definitely comment 5 is the way to go. If I have some time during the weekend I will give it a try, otherwise if you don't see any comment from me on Monday, go ahead and fix it. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1589215/comments/34 ** Changed in: df-libreoffice Status: Unknown => Confirmed ** Changed in: df-libreoffice Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589215 Title: 'Unknown Application Name' menu item in Indicator Applet Appmenu when LibreOffice is running To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1589215/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs