<p>By logging out with Geany running you have effectively crashed Geany.  Therefore it has not been able to save the configuration file to record the recent project.</p>
<p>Unfortunately there is no common portable method of interfacing to the desktop session management to be able to ask to be notified on logout and to ask for time to save configuration.</p>
<p>There was a proposal to add that using a library for X11, but it was submitted just as Gnome stopped using X11 and started using dbus for session management.  As it was a complicated change, and as it no longer addressed a major desktop in the Geany user base it wasn't merged.</p>
<p>The same thing happens with the session file list, and that is being addressed by saving the session whenever it changes, (see <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="426675796" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2114" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2114/hovercard" href="https://github.com/geany/geany/pull/2114">#2114</a>) this should also save the project MRU list at the same time at the cost of more writes to the session files.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2154?email_source=notifications&email_token=AAIOWJZVZDJ2O7I6CBLDSPTPVNO47A5CNFSM4HM3LLK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNG37Y#issuecomment-492465663">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYM4QDKZ3BVWTPUBXLPVNO47ANCNFSM4HM3LLKQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4DZJFAHELYTPOPLDDPVNO47A5CNFSM4HM3LLK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNG37Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2154?email_source=notifications\u0026email_token=AAIOWJZVZDJ2O7I6CBLDSPTPVNO47A5CNFSM4HM3LLK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNG37Y#issuecomment-492465663",
"url": "https://github.com/geany/geany/issues/2154?email_source=notifications\u0026email_token=AAIOWJZVZDJ2O7I6CBLDSPTPVNO47A5CNFSM4HM3LLK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNG37Y#issuecomment-492465663",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>