Incorrect logic for <Merge type="all">
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Garcon |
Fix Released
|
Unknown
|
|||
PyXDG |
New
|
Unknown
|
|||
garcon (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
pyxdg (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
xubuntu-default-settings (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
XFCE & Xubuntu use <Merge type="all" /> in their menu files, which python-xdg currently (all current versions) does not handle correctly:
https:/
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 @@
- elif order[1] == "menus" or order[1] == "all":
+ if order[1] == "menus" or order[1] == "all":
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?
Changed in pyxdg: | |
status: | Unknown → New |
Changed in garcon (Ubuntu): | |
status: | New → Triaged |
Changed in garcon: | |
status: | Unknown → New |
Changed in garcon: | |
status: | New → Fix Released |
This bug was fixed in the package xubuntu- default- settings - 20.04
--------------- default- settings (20.04) focal; urgency=medium
xubuntu-
* debian/control: Root: no live/whiskermen u-1.rc, xubuntu- live-settings. install: live/light- locker. desktop, xubuntu- live-settings. install: source/ lintian- overrides: autopkgtest- missing xdg-xubuntu/ xfce4/xfconf/ xfce-perchannel -xml/xfwm4. xml: xdg-xubuntu/ xfce4/xfconf/ xfce-perchannel -xml/xfce4- desktop. xml: xdg-xubuntu/ menus/xfce- applications. menu, xdg/xdg- xubuntu/ menus/xfce- settings- manager. menu:
- Bump Standards-Version to 4.4.0
- Add Rules-Requires-
- Update Vcs- locations
* debian/control, debian/compat:
- Bump debhelper to version 12
* debian/live/*:
- Move live config files to subdirectory
* debian/
debian/
- Remove lock menu option in live since locking is disabled (LP: #1835668)
* debian/
debian/
- Remove light-locker autostart entry since we no longer ship it
* debian/
- Add override for testsuite-
* etc/xdg/
- Drop workspace labels, inconsistent with 5+ workspaces (LP: #1829778)
* etc/xdg/
- Set the Xubuntu wallpaper as default for up to 4 displays
* etc/xdg/
etc/
- Workaround menu handling errors in pyxdg (LP: #1833863)
-- Sean Davis <email address hidden> Sat, 09 Nov 2019 11:42:38 -0500