GNOME Bugzilla – Bug 332486
gnome-panel should ignore --profile command line argument
Last modified: 2006-03-13 21:45:51 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.
Created attachment 60245 [details] [review] ignore unknown panel options
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?
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.
Ok, so you're definitely right see the other bugs I'll mark as duplicate :-) Committed.
*** Bug 331769 has been marked as a duplicate of this bug. ***
*** Bug 332743 has been marked as a duplicate of this bug. ***