Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95745 - gnome-session default schema changes
Summary: gnome-session default schema changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-10 22:59 UTC by Nathaniel McCallum (RETIRED)
Modified: 2005-06-18 19:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gnome-session-2.10-schema_defaults.patch (gnome-session-2.10-schema_defaults.patch,648 bytes, patch)
2005-06-10 23:00 UTC, Nathaniel McCallum (RETIRED)
Details | Diff
gnome-session-2.10.0-r1.ebuild (gnome-session-2.10.0-r1.ebuild,1.67 KB, text/plain)
2005-06-10 23:01 UTC, Nathaniel McCallum (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathaniel McCallum (RETIRED) gentoo-dev 2005-06-10 22:59:05 UTC
As per my discussion with joem a few weeks ago, gnome-session needs a schema defaults change.

First off, auto_save_session needs to be turned off.  This is horribly broken for apps that dont support it (they do all kinds of funky things).  Its fine to let the user turn it on later, but since not all apps support it, I consider it broken out of the box.

Second, gdm now supports the shutdown/restart stuff out of the box.  Thus logout_prompt needs to be turned to on by default.

It should be noted that in both of these cases my proposed changes are the upstream defaults and that currently we currently move away from upstream in both cases.  Attached is an ebuild and a patch.
Comment 1 Nathaniel McCallum (RETIRED) gentoo-dev 2005-06-10 23:00:36 UTC
Created attachment 61037 [details, diff]
gnome-session-2.10-schema_defaults.patch

schema patch
Comment 2 Nathaniel McCallum (RETIRED) gentoo-dev 2005-06-10 23:01:10 UTC
Created attachment 61038 [details]
gnome-session-2.10.0-r1.ebuild
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-16 17:38:30 UTC
Thanks Nathaniel. The revision ebuild and the modified patch are now in the tree.
Comment 4 foser (RETIRED) gentoo-dev 2005-06-17 05:37:17 UTC
Care to explain how this influences non-gdm setups ? I haven't found any
reference in the changelogs on behavioral change that would validate this.

And the opinion on auto_save is just that, sessions save is a sensble thing to have.

Leonardop i know you like this feature too, but I'd like these quite extensive
behavioral changes to be discussed first.
Comment 5 Nathaniel McCallum (RETIRED) gentoo-dev 2005-06-18 19:09:23 UTC
Non-GDM setups are asked a simple "Are you sure you want to log out?"  GDM users
are given the option to Shutdown/Restart/Logout.

Regarding the auto_save option, this is considered broken by upstream and is
disabled by default for that reason.  With it enabled by default any
applications that don't support the session stuff (a good number of programs,
even gtk ones) act in wierd ways.  We should either follow upstream or fix its
broken behavior and submit that upstream.  However, to enable it by default in
its broken state is the absolute last thing we should do.  

In reality, we should try to keep our behavior as close to upstream as possible
as that keeps us consistant with what people expect.  These changes make us more
consistant with upstream.