| Summary: | SessionPrettyContents in sessionrc of new session written as "(no projects)" after project is opened | ||
|---|---|---|---|
| Product: | [Developer tools] kdevplatform | Reporter: | Eike Hein <hein> |
| Component: | session | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | 1.2.3 | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Eike Hein
2012-03-07 23:58:20 UTC
It's odd though, ProjectController::projectImportingFinished() calls saveListOfOpenedProjects() before emitting the projectOpened() signal that causes SessionController::updateSessionDescriptions() to run, and saveListOfOpenedProjects() does take care to sync() the KConfig group. In theory the sequence is correct, yet for some reason Session::updateDescription() winds up with an empty project list. Git commit 13275264b9d9bf18bb6b2e641f3b8a033b9c5654 by Eike Hein. Committed on 08/03/2012 at 01:20. Pushed by hein into branch 'master'. Write proper SessionsPrettyContents value to disk immediately. M +1 -0 shell/session.cpp http://commits.kde.org/kdevplatform/13275264b9d9bf18bb6b2e641f3b8a033b9c5654 |