Bug 182734

Summary: gnome-panel doesn't handle profile argument anymore
Product: [Fedora] Fedora Reporter: Daniel Malmgren <dm>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-27 19:03:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150222    

Description Daniel Malmgren 2006-02-24 12:20:15 UTC
Description of problem:
When I tried to start my system after yesterdays rawhide update I ended up with
no panels on my screen. After some searching I found out that ~/.gnome2/session
looks like this:

---snip---
1,CloneCommand=gnome-panel --sm-config-prefix /gnome-panel-Bz42Bk/ --profile default
1,RestartCommand=gnome-panel --sm-config-prefix /gnome-panel-Bz42Bk/
--sm-client-id 117f000001000103384436800000008480002 --screen 0 --profile default
---snip---

...which doesn't work because gnome-panel says that is hasn't got any
"--profile" argument. Removing that argument made everything work again. Not
sure where to file this, but this must be a bug, right?

Version-Release number of selected component (if applicable):
gnome-session-2.13.91-1
gnome-panel-2.13.91-3

Comment 1 Ray Strode [halfline] 2006-02-24 19:58:43 UTC
Hi,

I've filed an upstream bug report here:

http://bugzilla.gnome.org/show_bug.cgi?id=332486

Comment 2 Matthias Clasen 2006-02-25 05:03:00 UTC
Hmm, --profile was removed in 2004:

2004-11-12  Mark McLoughlin  <mark>

	Back in 2.4, we messed up by not realising that the new
	configuration format didn't in fact co-exist at all well
	with the 2.2 configuration. Which means if you share a
	homedir between a GNOME 2.2 (or before) login and a
	GNOME 2.4 (or later) login, you're panel is screwed
	terribly.

	This change belatedly fixes the problem by storing the
	panel configuration in a different location from where
	we stored it in GNOME 2.2. It also removes the broken
	concept of panel profiles. The new layout is the same
	as before except its store in /apps/panel now - e.g. the
	list of panels is now /apps/panel/general/toplevel_id_list

	* Makefile.am: install the default setup in /apps/panel.

	* main.c: (main): remove the --profile command line argument.


Why does this suddenly become a problem ? Did popt silently ignore --profile ?

Comment 3 Ray Strode [halfline] 2006-02-25 22:24:29 UTC
That'd be my guess.  Popt either ignored it or just warned and Goption errors
and exits.

Comment 4 Ray Strode [halfline] 2006-02-27 19:03:58 UTC
should be fixed in tomorrow's rawhide.