Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96494

Summary: gnome-menus-2.10.1 adds unwanted/duplicate entries to the Applications and Desktop menus
Product: Gentoo Linux Reporter: Scott McKenzie <nzgreen>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: trivial CC: xoen.gnu
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Menu with duplicate entries

Description Scott McKenzie 2005-06-18 19:01:29 UTC
Since installing gnome-menus-2.10.1 I now have the following categories in the
Application menu that were not there previously.  These entries have a normal
folder icon that would be visible if using Nautilus, unlike the other entries
that have picture icons i.e. a typewriter for the Office category:
Applications
Multimedia
Settings
The following categories have been added to the Desktop menu:
Applications
Graphics
Internet
Multimedia
Settings

When selecting items in either of the Settings menus (they are identical) the
old GNOME Control Center opens (1.4.0.5).

This has been discussed in the following forum thread:
http://forums.gentoo.org/viewtopic-p-2507638.html

Reproducible: Always
Steps to Reproduce:
1. emerge -v =gnome-menus-2.10.1

Actual Results:  
New categories appear in the Applications and Desktop menus.

Expected Results:  
Not added those extra categories.

Portage 2.0.51.19 (default-linux/x86/2004.2/gcc34, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Jun 14 2005, 20:46:11)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://192.168.1.5/gentoo/
http://premium.planetmirror.com/pub/gentoo/
http://mirror.pacific.net.au/linux/Gentoo/"
LANG="en_AU"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/opt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 avi bash-completion berkdb bitmap-fonts bonobo cdr
crypt cups curl dbus divx4linux dvd dvdr eds emboss encode esd flac font-server
foomaticdb fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile
hal imagemagick imap imlib jack java jpeg junit libg++ libwww mad mikmod mmx
mono motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly odbc ogg oggvorbis
opengl oss pam pdflib perl pic png ppds python quicktime readline ruby samba sdl
slang spell sqlite sse sse2 ssl svga tcltk tcpd theora truetype truetype-fonts
type1-fonts usb vorbis xine xml xml2 xmms xprint xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Scott McKenzie 2005-06-18 19:21:09 UTC
Downgrading to gnome-menus-2.10.0 removes extra menu categories and the menus
return to their state before 2.10.1 was installed.
Comment 2 foser (RETIRED) gentoo-dev 2005-06-20 00:38:42 UTC
i'm not quite clear on what entries you refer to are new or changed.

Anyway, afaics the menus have been corrected to improve detection of older
desktop entries. If you don't want those, you should consider removing those
applications.
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-20 02:31:25 UTC
The problem in the 'Desktop' menu looks like
http://bugzilla.gnome.org/show_bug.cgi?id=300499

Please try editing /etc/xdg/menus/settings.menu and removing the following lines:

  <KDELegacyDirs/>
  <LegacyDir>/etc/X11/applnk</LegacyDir>
  <LegacyDir>/usr/share/gnome/apps</LegacyDir>

.. and let us know how it goes :).

Regarding the entries in the 'Application' menu, those new entries with the
folder icon simply show the default behaviour for legacy menus, not really a
bug, unless your problem refers to something else, like duplicate entries
(http://bugs.gnome.org/show_bug.cgi?id=171366).

These problems might be worth patching in our tree until a new stable version of
gnome-menus is released, including a fix for an important memory leak
(http://bugs.gnome.org/show_bug.cgi?id=172472).
Comment 4 Aldo "xoen" Giambelluca 2005-07-11 14:27:47 UTC
Created attachment 63176 [details]
Menu with duplicate entries

This is the menu with the problem of duplicate entries...the duplicate entries
are  not translated, the other entries are in italian.
Comment 5 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-11 19:00:06 UTC
Aldo,
What version of gnome-menus do you have? If you're not using it yet, please
upgrade to gnome-menus-2.10.2 and let us know if the problem persists.

Thanks.
Comment 6 Aldo "xoen" Giambelluca 2005-07-11 22:57:54 UTC
Hi, I've installed gnome-menus 2.10.2 (~x86) and the problem persist.

Gnome-menus 2.10.0 haven't this problem. I'm no using an AMD64, if you think is
necessary I can post my emerge info.
Comment 7 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-13 02:55:08 UTC
What items appear in those menus (Applications, Development and Settings)?
What do you get if you run the following?

  find /usr/share/gnome/ -name '*.desktop'

Also, just to be sure, did you restart your gnome session after upgrading
gnome-menus? I'm just a little confused, this looks like the same issue from
http://bugzilla.gnome.org/show_bug.cgi?id=300499 and it should be fixed in
gnome-menus-2.10.2.
Comment 8 mschaeuble 2005-07-21 05:25:02 UTC
With gnome-menus-2.10.2 the problem is solved on my pc. When do you expect to
release 2.10.2 (as stable)?
Comment 9 Leonardo Boshell (RETIRED) gentoo-dev 2005-08-07 06:30:24 UTC
No reply from original reporter. Presumably fixed in gnome-menus-2.10.2.