! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
XFCE 4.8 panel fails to load old config and crashes
Status:
RESOLVED: WORKSFORME
Severity:
critical
Product:
Xfce4-panel
Component:
Applications Menu

Comments

Description Denis Rutkov 2011-04-14 19:43:44 CEST
The XFCE panel migrating assistant does not change xfce-applications.menu file location in /home/user/.config/xfce4 files, when converting old config.

This leads to panel crashing right after trying to open the menu.

xsession-errors message:

garcon-Message: Could not load menu file data from file:///etc/xdg/xubuntu/menus/xfce-applications.menu: Error opening file: No such file or directory
Comment 1 Nick Schermer editbugs 2011-04-16 20:35:02 CEST
Could be related to 7470. Also could you attach the old 4.6 config file of the menu?
Comment 2 Denis Rutkov 2011-04-16 21:36:48 CEST
(In reply to comment #1)
> Could be related to 7470. Also could you attach the old 4.6 config file of the
> menu?

No, I've already upgraded to the 4.8.

It doesn't seem related to me.

In my old config in my home directory I had this path set to the .menu file:

/etc/xdg/xubuntu/applications.menu (note that it didn't use any environment variables)

In new Xubuntu 11.04 with XFCE 4.8 this path is changed to

/etc/xdg/xdg-xubuntu/applications.menu

As XFCE panel migrating assistant didn't change this string in my old config, the panel crashed, and I had to manually edit it.

It'd be better to resolve this bug before the Xubuntu 11.04 release, or many users which upgrade their old XFCE might suffer this.
Comment 3 Lionel Le Folgoc 2011-04-18 09:55:55 CEST
(In reply to comment #2)
> (In reply to comment #1)
> > Could be related to 7470. Also could you attach the old 4.6 config file of the
> > menu?
> 
> No, I've already upgraded to the 4.8.
> 
> It doesn't seem related to me.
> 
> In my old config in my home directory I had this path set to the .menu file:
> 
> /etc/xdg/xubuntu/applications.menu (note that it didn't use any environment
> variables)
> 
> In new Xubuntu 11.04 with XFCE 4.8 this path is changed to
> 
> /etc/xdg/xdg-xubuntu/applications.menu

/etc/xdg/xubuntu/menus/applications.menu is the old config file path, used before Lucid (10.04). Starting from lucid, it has been changed to /etc/xdg-xubuntu/menu/applications.menu. I don't really understand how you can still have this path in your config if you upgraded properly lucid -> maverick -> natty...

> 
> As XFCE panel migrating assistant didn't change this string in my old config,
> the panel crashed, and I had to manually edit it.
> 

This is not the role of garcon nor the panel to update to the new path anyway.

> It'd be better to resolve this bug before the Xubuntu 11.04 release, or many
> users which upgrade their old XFCE might suffer this.

It's not easily reproducible (and this is a downstream issue until clarified, we'll continue on launchpad, thanks), and we'd have received more duplicates otherwise.
Comment 4 Lionel Le Folgoc 2011-04-18 09:57:10 CEST
> /etc/xdg-xubuntu/menu/applications.menu

sorry, /etc/xdg/xdg-xubuntu/menu/applications.menu

Bug #7500

Reported by:
Denis Rutkov
Reported on: 2011-04-14
Last modified on: 2011-04-18

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

Additional information