<p></p>
<blockquote>
<p dir="auto">Does it mean the session information will be lost if the project directory is moved somewhere else? The whole point of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1063720786" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/3021" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/3021/hovercard" href="https://github.com/geany/geany/pull/3021">#3021</a> is to preserve the session when the project directory is moved to some other place (which, right now, is quite annoying).</p>
</blockquote>
<p dir="auto">If the project config and session are split, any scheme that is able to distinguish projects with different paths, but same basename, will risk allowing the session to be orphaned.</p>
<ul dir="auto">
<li>There could be an option to <em>not</em> split the session from the project.  In that case, relative paths would continue to work.</li>
<li>The scheme may be extensible to allow it to work with relative paths, at the risk of being unable to distinguish between projects that share the same basename.</li>
<li>If Project Preferences is extended to be able to move project files, the session files could also be updated.</li>
<li>Project files could contain a copy of the hash to enable locating and moving old session files.</li>
<li>You can suggest other ideas.</li>
</ul>

<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/3015#issuecomment-979876697">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5JQLF5T3F7OJOTUTLUN5RCDANCNFSM5ISB55XQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ3KQL2DSG5YT4ZC3ZLUN5RCDA5CNFSM5ISB55X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHJT3WWI.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/3015#issuecomment-979876697",
"url": "https://github.com/geany/geany/issues/3015#issuecomment-979876697",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>