Bug 493245
Summary: | Failed to read saved session file warning on new sessions. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomislav Vujec <tvujec> | ||||
Component: | metacity | Assignee: | Owen Taylor <otaylor> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 11 | CC: | sandmann | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.28.0-13.fc12 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-12-27 20:27:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping metacity-2.28.0-12.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/metacity-2.28.0-12.fc12 metacity-2.28.0-12.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update metacity'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13084 metacity-2.28.0-13.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update metacity'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13084 metacity-2.28.0-13.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 337438 [details] Proposed patch to remove the warning. Description of problem: When started without session related command line parameters (e.g. from gnome-session), metacity picks up client_id from the DESKTOP_AUTOSTART_ID environment variable. Unfortunately, there is no way to distinguish if this was passed from a config file, representing old saved session, or generated by gnome-session, therefore load_state is attempted in each case. If the client_id is generated, there will be no session file, and metacity will report a warning. Since use case of starting new fresh session is much more common than loading existing saved session, most users will find a warning in their session log file (e.g. .xsession-errors), which can be fairly confusing. Warning should be either removed or changed to a debug message. Alternatively, there should be a method to distinguish between generated and restored IDs, but that might require changes to the autostart specs. Version-Release number of selected component (if applicable): 2.26.0-1 How reproducible: Log into gnome desktop without any saved sessions. Actual results: metacity reports warning: Window manager warning: Failed to read saved session file <HOME>/.config/metacity/sessions/<ID>.ms: Failed to open file '<HOME>/.config/metacity/se ssions/<ID>.ms': No such file or directory Expected results: No warning.