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 Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/1589215 Title: 'Unknown Application Name' menu item in Indicator Applet Appmenu when LibreOffice is running Status in LibreOffice: Confirmed Status in libreoffice package in Ubuntu: Confirmed Bug description: Sometimes I get the issue of a menu having the name of a different application and being unusable, or being an application menu for the focused window but being titled 'Unknown Application Name', with LibreOffice. I also get this with GNOME apps but was told that this is a separate issue to the one I reported here: https://bugs.launchpad.net/ubuntu/+source/gnome- calculator/+bug/1584720 (see comment #5). The issue is with using Indicator Applet Appmenu in the panel on gnome-flashback installed on standard Ubuntu (which I call Ubuntu (GNOME) Flashback). ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: libreoffice-writer 1:5.1.3-0ubuntu4 ProcVersionSignature: Ubuntu 4.4.0-23.41-generic 4.4.10 Uname: Linux 4.4.0-23-generic x86_64 ApportVersion: 2.20.1-0ubuntu4 Architecture: amd64 CurrentDesktop: GNOME-Flashback:Unity Date: Sun Jun 5 10:32:35 2016 InstallationDate: Installed on 2016-04-26 (39 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160426) SourcePackage: libreoffice UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1589215/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp