GNOME Bugzilla – Bug 617344
gnome-session fails to honour second-phase request for local save
Last modified: 2021-06-14 18:22:26 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.
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.