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 332486 - gnome-panel should ignore --profile command line argument
gnome-panel should ignore --profile command line argument
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 331769 332743 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-24 20:03 UTC by Ray Strode [halfline]
Modified: 2006-03-13 21:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ignore unknown panel options (435 bytes, patch)
2006-02-27 17:29 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2006-02-24 20:03:00 UTC
Hi,

Apparently at some point gnome-panel supported a --profile command line option.  This option has gotten into users ~/.gnome2/session files.  gnome-panel now complains about --profile being an unknown option, and so some users aren't getting their panels on login.  Presumably this breakage started when gnome-panel was switched to use GOption.

See 

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182734

for more details.
Comment 1 Ray Strode [halfline] 2006-02-27 17:29:46 UTC
Created attachment 60245 [details] [review]
ignore unknown panel options
Comment 2 Vincent Untz 2006-02-27 18:03:27 UTC
Thanks for the patch. I think it'd be better to just 'handle' the --profile option (ie, tell GOption we understand it and then just ignore it). What do you think of this solution?
Comment 3 Ray Strode [halfline] 2006-02-27 18:54:55 UTC
I think that solution could work as well, provided we are sure --profile is the only option that's been dropped over the years.

To some extent, though, I don't understand why we would want to exit if the user passes invalid command line options.   What does it gain us?

If another command-line option ever gets added, we could end up with a situation down the road where a user with a network mounted home directory can't log in on an older machine when saving sessions on a newer one.
Comment 4 Vincent Untz 2006-03-06 20:10:50 UTC
Ok, so you're definitely right see the other bugs I'll mark as duplicate :-)

Committed.
Comment 5 Vincent Untz 2006-03-06 20:11:05 UTC
*** Bug 331769 has been marked as a duplicate of this bug. ***
Comment 6 Vincent Untz 2006-03-06 20:11:22 UTC
*** Bug 332743 has been marked as a duplicate of this bug. ***