The codebase underlying the GNOME 50 release has been updated with a set of changes that implement a setting for managing the restoration of applications launched in the previous session. A switch has been added to the Configurator that allows you to disable the option to save the list of running applications when you log off and restore their windows in the next session.

In May, the gnome-session session manager removed the old session persistence code, which was incompatible with systemd-based session management components. The old implementation saved the list of active applications before terminating a session in the ~/.config/gnome-session/saved-session directory and was controlled via the "auto-save-session" gconf parameter, but did not work on systems running systemd.
At the end of September, a new session persistence system based on systemd was introduced for GNOME. Additionally, the GsmSessionSave object was added, enabling the state of individual applications to be saved. In addition to preserving window positions after restoration, GNOME applications can also include logic for restoring state. For example, GNOME Calculator can restore the selected calculation mode (basic, advanced, or programmer), but does not restore the operation history.
Source: opennet.ru
