! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Fix inheritance with default merge rules in xfce-applications.menu
Status:
RESOLVED: MOVED

Comments

Description Sean Davis editbugs 2019-05-30 04:40:36 CEST
Created attachment 8601 
Patch for the default applications menu

Downstream bug: https://bugs.launchpad.net/ubuntu/+source/garcon/+bug/1213518

the file /etc/xdg/menus/xfce-applications.menu has the <DefaultMergeDirs/> at the beginning of the file where it is processed and the extra files are merged before the rest of the default file are read. This means that the default layouts etc. will override the merged file but the freedesktop standard is that the merged in files (in the user's direcory for example) should override the default file. This affects any package like alacarte that edits the menu, or a package that customizes the menu from /etc/xdg/menus/applications-merged/ directory. This can be corrected by moving the <DefaultMergeDirs/> line to the second last line just one line bfore the very last </Menu> line.

The attached patch seems to resolve this issue.
Comment 1 Git Bot editbugs 2020-05-25 22:34:17 CEST
Simon Steinbeiss referenced this bugreport in commit 5007d4d12da54336c789c56a20d0e73bf3fa669c

Fix default merge rules in xfce-applications.menu (Bug #15504)

https://gitlab.xfce.org/xfce/garcon/commit/5007d4d12da54336c789c56a20d0e73bf3fa669c
Comment 2 Git Bot editbugs 2020-05-25 22:48:33 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/garcon/-/issues/9.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15504

Reported by:
Sean Davis
Reported on: 2019-05-30
Last modified on: 2020-05-25

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

Additional information