On Tue, 4 Nov 2014, Walter Lapchynski wrote:

> calling this invalid due to not meeting the specifications.

Which specification are you looking at? Any setting in 
/etc/xdg/menus/applications-merged, ~/.config/menus should be able to 
override the system menu config.

http://standards.freedesktop.org/menu-spec/latest/ar01s05.html Par.12

"Merged menu elements are kept in order because <Include> and <Exclude> 
elements later in the file override <Include> and <Exclude> elements 
earlier in the file. This means that if the user's menu file merges the 
system menu file, the user can always override what the system menu 
specifies by placing elements after the <MergeFile> that incorporates the 
system file."

So, the way to test this is, is that a *.menu file in ~/.config/menus/ can 
change the layout of the menu. Right now this does not happen. Another sub 
menu can be added, but the layout of the main menu can not be changed as 
it should be able to be. For example, the user installs a number of apps 
that pertain to the user's primary use of their computer. But it ends up 
part way doen the menu and they wish to have it at the top. They should be 
able to change the layout without editting the system menu file.

ubuntustudio uses a group of sub menus that should be grouped for easy 
user reference in the /etc/xdg/menus/applications-merged/ directory. It 
groups the 5 submenus for audio, graphics, photography, pubplishing and 
video. The stock *menu file does not merge this correctly. That is to the 
spec.

priority:

system menu file is default and therefore has the lowest priority.

/etc/xdg/menus/applications-merged/ files are installed by other 
applications or meta files. This should have a higher priority that the 
system menu file.

~/.config/menus/ is the user's version of things how they would like to 
see it. Therefore, it should have the highest priority and be able to 
override anything else.

in http://standards.freedesktop.org/menu-spec/latest/ar01s05.html 
paragraph 5  the first bulletted item (1) we see that the last item read 
is prioritized.

So the <DefaultMergeDirs> must be near the bottom of the system menu file 
in order to work to specification. KDE (BTW) has this right and it does 
work to specification, nobody else does.

--
Len Ovens
www.ovenwerks.net

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1191530

Title:
  Menu config file merge menus from standard locations too soon so
  defaults override merges.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxlauncher/+bug/1191530/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to