After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 165010 - User menu items lost after upgrade
User menu items lost after upgrade
Status: RESOLVED DUPLICATE of bug 165799
Product: gnome-panel
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-23 19:15 UTC by Thomas Nilsson
Modified: 2005-01-31 13:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Thomas Nilsson 2005-01-23 19:15:04 UTC
Distribution: Debian 3.1
Package: control-center
Severity: normal
Version: GNOME2.8.1 unspecified
Gnome-Distributor: Debian
Synopsis: User menu items lost after upgrade
Bugzilla-Product: control-center
Bugzilla-Component: general
Bugzilla-Version: unspecified
Description:
Description of Problem:
All user added menu items disappeared after upgrade

Steps to reproduce the problem:
1. Use dselect to automatically upgrade all your packages.
2. Reboot your computer...
3. 

Actual Results:
None of the user added menu items in the main menu are there. Seems like
only the original items are there. A complete reset of the menus  to
scratch.

Expected Results:
I expected to have the same items in the menu as before the upgrade.

How often does this happen?
At least today...

Additional Information:




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-01-23 14:15 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "control-center".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Vincent Noel 2005-01-24 18:29:02 UTC
You mean menus items in the panel menu bar, right ?
The menu system now uses the freedesktop menu specs, I'm not sure how user-added
items fall into this plan.
I'm reassigning to gnome-panel.
Comment 2 Vincent Untz 2005-01-25 20:21:42 UTC
Thomas: are you using gnome 2.8.x or 2.9.x?
Comment 3 Thomas Nilsson 2005-01-25 20:44:46 UTC
It is a Debing testing mix of 2.8.x (Some components are 2.8.0, some 2.8.1 and
some 2.8.2) Any specific package you are after?

BR

/Thomas
Comment 4 Thomas Nilsson 2005-01-25 20:51:05 UTC
And regarding the first question. Yes, it is the "menu bar". (I had to revert to
English to figure out. Normally I run it localized to Swedish :-)

/Thomas
Comment 5 James Lademann 2005-01-28 12:57:25 UTC
I get this problem with gnome 2.8.2.  It actually appears to be caused by glib-
2.6.1 since reverting to glib-2.6.0 returns all the user created items to the 
application menu.

Cheers,
James
Comment 6 Vincent Untz 2005-01-28 13:30:43 UTC
There are two points here:
  + if James is right, there might be a glib bug. Thomas, can you confirm that
downgrading glib helps?
  + user menu items will have bigger problems during the 2.8 => 2.10 transition
since we now use the freedesktop menu spec.

If point 1 is confirmed, then it'd be great to track down the problem.
Point 2 is a bigger fish and we'll probably need to handle it soon...
Comment 7 Thomas Nilsson 2005-01-28 16:55:27 UTC
Confirmed. Downgrading fixes it. It is even reproducable :-)
Comment 8 Vincent Untz 2005-01-28 17:36:08 UTC
Is there some patches in the glib debian packages (for both 2.6.0 & 2.6.1 versions)?

Looking at the ChangeLog, I don't see what could change the behaviour here...
http://cvs.gnome.org/viewcvs/glib/ChangeLog?&only_with_tag=glib-2-6&view=auto

It'd be great to track this regression.
Comment 9 Thomas Nilsson 2005-01-28 17:53:36 UTC
Well,

I have not been studying the code. But here is a link to the Debian diff-file:

http://snapshot.debian.net/archive/2005/01/09/debian/pool/main/g/glib2.0/glib2.0_2.6.1-1.diff.gz

If you search for glib2 on the following page in the package name pattern field

http://snapshot.debian.net/

you will find the archive for the package. There you will have the all recent
releases. Looking at the diff file it is mostly Makefile changes and some Debian
 specific items. Strangely enough I see no changes to the glib2 itself...

There are a few intermediate version which I can give a try if you are
interested? (One thing though: They are going to shutdown some of the Debian
package sites this weekend due to a planned power interruption)
Comment 10 Thomas Nilsson 2005-01-28 18:37:57 UTC
I went thru all of the intermediate packages and it is between 2.6.0 and 2.6.1-1
something happens. 
Comment 11 James Lademann 2005-01-30 05:03:07 UTC
Just thought I'd add that it isn't Debian specific since I'm using Gentoo.  As
far as I can see from the ebuild there's no patches to the gentoo version, just
a straight compile from the source tarball.
Comment 12 Vincent Untz 2005-01-30 09:16:32 UTC
cc'ing Matthias because he might know what have changed between glib 2.6.0 and
glib 2.6.1 that can cause this

Matthias: it seems a glib upgrade is breaking the menu editing in GNOME 2.8.x.
Comment 13 Matthias Clasen 2005-01-31 03:40:37 UTC
I have no idea; almost all changes between 2.6.0 and 2.6.1 are related to
handling of filename encoding on win32. I think the first step would be to
identify what glib interfaces are used when loading menus. 
Comment 14 Vincent Untz 2005-01-31 13:03:12 UTC
Ok, Debian people found the fix. It's because the behaviour of
g_find_program_in_path was corrected for 2.6.1.

*** This bug has been marked as a duplicate of 165799 ***