Gnome/KDE applications.menu collision resolution breaks searching in applications-merged dir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kde4libs (Ubuntu) |
Fix Released
|
High
|
Harald Sitter | ||
Intrepid |
Won't Fix
|
High
|
Roderick B. Greening | ||
Jaunty |
Fix Released
|
High
|
Harald Sitter | ||
kdebase-workspace (Ubuntu) |
Invalid
|
High
|
Roderick B. Greening | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
Jaunty |
Invalid
|
High
|
Roderick B. Greening |
Bug Description
Since Gnome uses the default applications.menu to house its menu structure, KDE is forced to use an alternate prefix like kde4-applicatio
To make this happen, a simple patch was introduced to tell KDE to use the new prefix. Unfortunately, the inadvertant side effect is that the prefix is inherited, and used to for DefaultMergeDirs, which means applications-merged never gets searched for new menu entries.
A proper fix needs to be introduced to allow KDE to use the DefaultMergeDirs directive correctly.
For now, if you manually insert a MergeDir directive into the kde4-applicatio
The issue is caused by kbuildsycoca4 (the component responsible for parsing desktop files and creating the menu tree) using the variable which holds the default file name ($XDG_CONFIG_
Since Ubuntu includes GNOME, KDE 3 and KDE 4 we have applications.menu (GNOME) kde-application
Quoting about the applications-merged directory [1]:
Note that a system that uses either gnome-applicati
use must still use applications-merged as the default merge directory in both cases.
KDE 4 doesn't do this because it composes kde4-applicatio
However, this approach would still not follow the specification completely. The very first section of [1] describes the most accurate way to handle multiple desktop installation.
Applied to KDE this means: revising the affected to patch to only change the installation path to kde4-applicatio
In addition to this GNOME should use the very same approach and most importantly use gnome-applicati
[1] http://
description: | updated |
Changed in kde4libs: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in kdebase-workspace: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in kde4libs: | |
assignee: | nobody → roderick-greening |
Changed in kdebase-workspace: | |
assignee: | nobody → roderick-greening |
Adding two test patches below.
1) kubuntu_ 65_kde4_ applications_ menu.diff replaces 11_kde4_ applications_ menu.diff in kde4libs 54_use_ xdg_menu_ prefix. diff new in kdebase-workspace
2) kubuntu_
The above implements XDG_MENU_PREFIX for kde4.