Package: openbox-menu
Version: 0.7.0-1
Severity: normal

Dear Maintainer, if top level menu is added on user level (in alacarte), then
only this menu will be listed in output of openbox-menu. Other top-level menus
from parent data are not shown.

If custom  user-level menu is added inside other menu, it is handled properly.

Structure created by alacarte seems valid and is handled correctly by other
implementations.

Alacarte created this structure in $XDG_CONFIG_HOME/menus/lxqt-applications.menu
(comments added):
--------------------------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE Menu
  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
  'http://standards.freedesktop.org/menu-spec/menu-1.0.dtd'>
<Menu>
        <Name>Applications</Name>
        <MergeFile 
type="parent">/etc/xdg/menus/lxqt-applications.menu</MergeFile>
        <DefaultLayout inline="false"/>
        <Menu> <!--only this menu is shown among top-level menus by 
openbox-menu -->
                <Name>alacarte-made</Name> 
                <Directory>alacarte-made.directory</Directory>
                <Include>
                        <Filename>alacarte-made.desktop</Filename>
                </Include>
                <Layout>
                        <Merge type="menus"/>
                        <Merge type="files"/>
                </Layout>
        </Menu>
        <Layout> <!-- i've tried to comment out the whole layout section, it 
does not make any difference -->
                <Merge type="menus"/> <!-- all of these disappear if custom 
top-level menu above present -->
                <Filename>lxqt-lockscreen.desktop</Filename>
                <Filename>lxqt-about.desktop</Filename>
                <Menuname>Multimedia</Menuname>
                <Menuname>Graphics</Menuname>
                <Menuname>Games</Menuname>
                <Menuname>Internet</Menuname>
                <Menuname>Hamradio</Menuname>
                <Menuname>Education</Menuname>
                <Menuname>Office</Menuname>
                <Menuname>Development</Menuname>
                <Menuname>Other</Menuname>
                <Menuname>System</Menuname>
                <Menuname>Universal Access</Menuname>
                <Menuname>Accessories</Menuname>
                <Menuname>Electronics</Menuname>
                <Separator/>
                <Menuname>DesktopSettings</Menuname> <!-- surprisingly, this 
menu and the separator above it are shown -->
                <Separator/>
                <Menuname>X-Leave</Menuname>
                <Merge type="files"/>
        </Layout>
</Menu>
--------------------------------------------------------------------------------

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openbox-menu depends on:
ii  gnome-menus          3.13.3-6
ii  libatk1.0-0          2.16.0-2
ii  libc6                2.19-19
ii  libcairo2            1.14.2-2
ii  libfontconfig1       2.11.0-6.3
ii  libfreetype6         2.5.2-4
ii  libgdk-pixbuf2.0-0   2.31.5-1
ii  libglib2.0-0         2.44.1-1.1
ii  libgtk2.0-0          2.24.28-1
ii  libmenu-cache3       1.0.0-1
ii  libpango-1.0-0       1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3
ii  libpangoft2-1.0-0    1.36.8-3
ii  lxmenu-data          0.1.4-1
ii  openbox              3.6.1-1

openbox-menu recommends no packages.

openbox-menu suggests no packages.

-- no debconf information

Reply via email to