Package: fvwm
Version: 1:2.6.8-1+b1
Severity: normal

When starting Fvwm with default menus, I get duplicate menu entries
in "XDG Menu" and its Preferences submenu. According to strace, this
comes from fvwm-menu-desktop and can be seen by running this utility
directly:

cventin:~> fvwm-menu-desktop | grep AddToMenu
AddToMenu "XDGMenu" "XDGMenu" Title
AddToMenu "Accessories" "Accessories" Title
AddToMenu "Education" "Education" Title
AddToMenu "Games" "Games" Title
AddToMenu "Graphics" "Graphics" Title
AddToMenu "Internet" "Internet" Title
AddToMenu "Office" "Office" Title
AddToMenu "Other" "Other" Title
AddToMenu "Programming" "Programming" Title
AddToMenu "Sound & Video" "Sound & Video" Title
AddToMenu "System Tools" "System Tools" Title
AddToMenu "Accessories" "Accessories" Title
AddToMenu "Education" "Education" Title
AddToMenu "Games" "Games" Title
AddToMenu "Graphics" "Graphics" Title
AddToMenu "Internet" "Internet" Title
AddToMenu "Office" "Office" Title
AddToMenu "Other" "Other" Title
AddToMenu "Programming" "Programming" Title
AddToMenu "Sound & Video" "Sound & Video" Title
AddToMenu "System Tools" "System Tools" Title
AddToMenu "Preferences" "Preferences" Title

Submenus from "Accessories" to "System Tools" are added twice.

cventin:~> fvwm-menu-desktop | tail

DestroyMenu "Preferences"
AddToMenu "Preferences" "Preferences" Title
+ "Calc" Exec exec x-terminal-emulator -e calc
+ "NVIDIA X Server Settings (390xx legacy version)" Exec exec nvidia-settings
+ "TeXdoctk" Exec exec texdoctk
+ "Calc" Exec exec x-terminal-emulator -e calc
+ "NVIDIA X Server Settings (390xx legacy version)" Exec exec nvidia-settings
+ "TeXdoctk" Exec exec texdoctk

The 3 entries are duplicated.

Information given by the --verbose option:

Config file not found: /home/vlefevre/.fvwm/.FvwmForm-XDGMenu-Config
Using built-in defaults.

Parameters for creating menu list:
 XDG_MENU_PREFIX:  ''
 --install-prefix: ''
 --desktop:        ''
 --menu-type:      ''

Start search ...
 found in /home/vlefevre/.config/menus: []
 found in /etc/xdg/menus: ['lxde-applications.menu']

 Finding best menu in Menu List: {'/home/vlefevre/.config/menus': set(), 
'/etc/xdg/menus': {'lxde-applications.menu'}}

 DE weighting search: DE => [user menus, system menus, overall]
 gnome => [0, 0, 0]
 kde => [0, 0, 0]
 xfce => [0, 0, 0]
 lxde => [0, 1, 1]
 cinnamon => [0, 0, 0]
 mate => [0, 0, 0]
 debian => [0, 0, 0]
 others => [0, 0, 0]
 none => [0, 0, 0]

 Winner: lxde
 Menu list: ['/etc/xdg/menus/lxde-applications.menu']

 Previous used theme: gnome
 Current used theme: gnome

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-3-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fvwm depends on:
ii  libc6                   2.29-9
ii  libcairo2               1.16.0-4
ii  libfontconfig1          2.13.1-2+b1
ii  libfreetype6            2.10.1-2
ii  libfribidi0             1.0.8-2
ii  libgdk-pixbuf2.0-0      2.40.0+dfsg-2
ii  libglib2.0-0            2.62.4-1+b1
ii  libice6                 2:1.0.9-2
ii  libperl4-corelibs-perl  0.004-2
ii  libpng16-16             1.6.37-1
ii  libreadline8            8.0-3
ii  librplay3               3.3.2-17+b1
ii  librsvg2-2              2.46.4-1
ii  libsm6                  2:1.2.3-1
ii  libstroke0              0.5.1-9
ii  libtinfo6               6.1+20191019-1
ii  libx11-6                2:1.6.8-1
ii  libxcursor1             1:1.2.0-2
ii  libxext6                2:1.3.3-1+b2
ii  libxft2                 2.3.2-2
ii  libxinerama1            2:1.1.4-2
ii  libxpm4                 1:3.5.12-1
ii  libxrender1             1:0.9.10-1
ii  perl                    5.30.0-9
ii  zlib1g                  1:1.2.11.dfsg-1+b1

Versions of packages fvwm recommends:
ii  lxmenu-data  0.1.5-2
ii  python3      3.7.5-3
ii  python3-xdg  0.26-1

Versions of packages fvwm suggests:
ii  cpp                   4:9.2.1-3.1
ii  libx11-protocol-perl  0.56-7
ii  m4                    1.4.18-4
ii  perl-tk               1:804.033-2+b4
pn  stalonetray           <none>

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to