Excluding Filenames broken in kde4-applications-merged

Bug #275740 reported by Ariszló
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdelibs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This is a bug in Kubuntu Intrepid Ibex with packages upgraded on September 29, 2008.

Say you want to hide some application from your kids in the Applications menu. Surely, it will not be Firefox but let's use it as an example so that everyone can easily reproduce the bug. Copying single-entry-test.menu quoted below into /etc/xdg/menus/kde4-applications-merged should hide Firefox but it does not.

### single-entry-test.menu begins
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
 "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

<Menu>
  <Menu>
    <Name>Internet</Name>
    <Exclude>
      <Filename>firefox.desktop</Filename>
    </Exclude>
  </Menu>
</Menu>
### single-entry-test.menu ends

Firefox will only be excluded from the menu if you duplicate its menu entry:

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
 "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

### double-entry-test.menu begins
<Menu>
  <Menu>
    <Name>Internet</Name>
    <Exclude>
      <Filename>firefox.desktop</Filename>
      <Filename>kde4-firefox.desktop</Filename>
    </Exclude>
  </Menu>
</Menu>
### double-entry-test.menu ends

Revision history for this message
Ariszló (ariszlo) wrote :
Revision history for this message
Ariszló (ariszlo) wrote :

Somebody must have fixed this between Alpha 6 and Release because single-entry-test.menu works fine in Kubuntu Intrepid Ibex final.

Changed in kdelibs:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.