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 617344 - gnome-session fails to honour second-phase request for local save
gnome-session fails to honour second-phase request for local save
Status: RESOLVED OBSOLETE
Product: gnome-session
Classification: Core
Component: gnome-session
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-01 02:09 UTC by Ben Hutchings
Modified: 2021-06-14 18:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (1.22 KB, text/plain)
2010-05-01 02:09 UTC, Ben Hutchings
Details

Description Ben Hutchings 2010-05-01 02:09:54 UTC
Created attachment 160037 [details]
proposed fix

I found that Ion3's "restart" command fails to work when managed
by gnome-session-manager.  It requests to be saved using:

        SmcRequestSaveYourself(sm_conn, SmSaveBoth, False,
                               SmInteractStyleAny, False, False);

gnome-session immediately sends it a save request.  Ion3 responds
by asking to be saved in the second phase.  This is a bit silly in
this context but makes sense in general.  gnome-session ignores this
response and Ion3 never restarts.

The attached patch fixes this, and appears to be applicable to the
master branch.
Comment 1 André Klapper 2021-06-14 18:22:26 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of gnome-session, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-session/-/issues/

Thank you for your understanding and your help.