[Bug 1833863] Re: Incorrect logic for <Merge type="all">
Launchpad Bug Tracker
1833863 at bugs.launchpad.net
Sat Nov 9 18:02:31 UTC 2019
This bug was fixed in the package xubuntu-default-settings - 20.04
---------------
xubuntu-default-settings (20.04) focal; urgency=medium
* debian/control:
- Bump Standards-Version to 4.4.0
- Add Rules-Requires-Root: no
- Update Vcs- locations
* debian/control, debian/compat:
- Bump debhelper to version 12
* debian/live/*:
- Move live config files to subdirectory
* debian/live/whiskermenu-1.rc,
debian/xubuntu-live-settings.install:
- Remove lock menu option in live since locking is disabled (LP: #1835668)
* debian/live/light-locker.desktop,
debian/xubuntu-live-settings.install:
- Remove light-locker autostart entry since we no longer ship it
* debian/source/lintian-overrides:
- Add override for testsuite-autopkgtest-missing
* etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml:
- Drop workspace labels, inconsistent with 5+ workspaces (LP: #1829778)
* etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:
- Set the Xubuntu wallpaper as default for up to 4 displays
* etc/xdg/xdg-xubuntu/menus/xfce-applications.menu,
etc/xdg/xdg-xubuntu/menus/xfce-settings-manager.menu:
- Workaround menu handling errors in pyxdg (LP: #1833863)
-- Sean Davis <smd.seandavis at gmail.com> Sat, 09 Nov 2019 11:42:38
-0500
** Changed in: xubuntu-default-settings (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pyxdg in Ubuntu.
https://bugs.launchpad.net/bugs/1833863
Title:
Incorrect logic for <Merge type="all">
Status in PyXDG:
New
Status in garcon package in Ubuntu:
New
Status in pyxdg package in Ubuntu:
New
Status in xubuntu-default-settings package in Ubuntu:
Fix Released
Bug description:
XFCE & Xubuntu use <Merge type="all" /> in their menu files, which
python-xdg currently (all current versions) does not handle correctly:
https://gitlab.freedesktop.org/xdg/pyxdg/issues/12
I think the fix is as simple as
--- Menu.py.a 2019-06-23 17:44:24.992850139 +0100
+++ Menu.py.b 2019-06-23 17:44:41.052807584 +0100
@@ -997,7 +997,7 @@
for menuentry in menu.MenuEntries:
if menuentry not in tmp_e:
menu.Entries.append(menuentry)
- elif order[1] == "menus" or order[1] == "all":
+ if order[1] == "menus" or order[1] == "all":
menu.Submenus.sort()
for submenu in menu.Submenus:
if submenu.Name not in tmp_s:
But as it can also be trivially worked around by replacing <Merge
type="all" /> with <Merge type="menus" /><Merge type="files" />, I
wonder if this should be done in XFCE/Xubuntu?
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyxdg/+bug/1833863/+subscriptions
More information about the foundations-bugs
mailing list