<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cloned file status breaks after N++ restart]]></title><description><![CDATA[<p dir="auto">Try this, in 8.7.9:</p>
<ul>
<li>Press Ctrl+n to create a new tab (<code>new 2</code> appears, for example)</li>
<li>Modify the tab by typing a few random characters</li>
<li>Right-click the tab, choose <em>Move Document</em> &gt; <em>Clone to Other View</em> (editing viewport splits and now two tabs are visible with captions of <code>new 2</code>)</li>
<li>Type a few more random characters (see that the new typing is appearing in <em>both</em> tabs)</li>
<li>Exit and restart Notepad++</li>
<li>Type yet more random characters into one of the <code>new 2</code> tabs (see that the new typing is NOT appearing in both <code>new 2</code> tabs)</li>
</ul>
<p dir="auto">Does anyone else see this as a bug?<br />
I’d think that the cloned status of a file should persist over a restart.<br />
Additionally, in the scenario supplied, the result is two samed-named tabs (normally this is a “not permitted” state) exist concurrently.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26772/cloned-file-status-breaks-after-n-restart</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 14:59:55 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26772.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Apr 2025 11:28:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Fri, 18 Apr 2025 08:30:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a></p>
<p dir="auto">Thanks, I used that info while fixing: <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/actions/runs/14523769611/artifacts/2966500943" rel="nofollow ugc">x64 Release binary for testing</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/101105</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/101105</guid><dc:creator><![CDATA[xomx]]></dc:creator><pubDate>Fri, 18 Apr 2025 08:30:41 GMT</pubDate></item><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Thu, 17 Apr 2025 13:31:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xomx" aria-label="Profile: xomx">@<bdi>xomx</bdi></a><br />
As far as I can tell <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/commit/a51e62c16dc45160afe6c7deb19096e98ad18372" rel="nofollow ugc">this commit</a> is the most recent fix.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/101092</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/101092</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Thu, 17 Apr 2025 13:31:58 GMT</pubDate></item><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Thu, 17 Apr 2025 13:04:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mark-olson" aria-label="Profile: Mark-Olson">@<bdi>Mark-Olson</bdi></a> said in <a href="/post/100948">Cloned file status breaks after N++ restart</a>:</p>
<blockquote>
<p dir="auto">this a bug, I’m pretty sure it was a regression. IIRC this bug was fixed a few months ago.</p>
</blockquote>
<p dir="auto">Can you point me to that previous fix, I could not find that?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/101089</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/101089</guid><dc:creator><![CDATA[xomx]]></dc:creator><pubDate>Thu, 17 Apr 2025 13:04:55 GMT</pubDate></item><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Fri, 11 Apr 2025 10:58:49 GMT]]></title><description><![CDATA[<p dir="auto">I opened an official bug report on this: <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16412" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16412</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/100955</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100955</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 11 Apr 2025 10:58:49 GMT</pubDate></item><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Thu, 10 Apr 2025 21:50:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/100933">Cloned file status breaks after N++ restart</a>:</p>
<blockquote>
<p dir="auto">Does anyone else see this as a bug?</p>
</blockquote>
<p dir="auto">Not only is this a bug, I’m pretty sure it was a regression. IIRC this bug was fixed a few months ago. No idea why it’s broken again.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100948</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100948</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Thu, 10 Apr 2025 21:50:26 GMT</pubDate></item><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Thu, 10 Apr 2025 21:00:22 GMT]]></title><description><![CDATA[<p dir="auto">I don’t use sessions, nor do I ordinarily have any backup options enabled, but as a test I enabled and tried with a debug compilation. For what it’s worth, the glitch appears to happen here:</p>
<p dir="auto"><a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/a23955742cd4422b2365d6fde7a82b4ff0311bd2/PowerEditor/src/NppIO.cpp#L2536" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/blob/a23955742cd4422b2365d6fde7a82b4ff0311bd2/PowerEditor/src/NppIO.cpp#L2536</a></p>
<p dir="auto">Before checking to see if a file to be opened in the secondary view is a duplicate of a file in the first view, the code first checks to see if the file exists. Since “new 1” doesn’t exist, the check isn’t performed.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100946</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100946</guid><dc:creator><![CDATA[Coises]]></dc:creator><pubDate>Thu, 10 Apr 2025 21:00:22 GMT</pubDate></item><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Thu, 10 Apr 2025 20:24:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mkupper" aria-label="Profile: mkupper">@<bdi>mkupper</bdi></a> said:</p>
<blockquote>
<p dir="auto">Notepad++ should be able to detect that it’s a cloned file and to set up the internal linkage so that changes to one of the clones are reflected in the other(s) in real time.</p>
</blockquote>
<p dir="auto">I <em>suppose</em> this could happen, but it seems like it would be simpler for Notepad++ to note the fact of a clone when it writes the session file, and then of course when it reads the session file at next startup it could prepare the cloning state.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/100945</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100945</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Thu, 10 Apr 2025 20:24:30 GMT</pubDate></item><item><title><![CDATA[Reply to Cloned file status breaks after N++ restart on Thu, 10 Apr 2025 19:26:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan-kilborn" aria-label="Profile: Alan-Kilborn">@<bdi>Alan-Kilborn</bdi></a> said in <a href="/post/100933">Cloned file status breaks after N++ restart</a>:</p>
<blockquote>
<p dir="auto">Does anyone else see this as a bug?</p>
</blockquote>
<p dir="auto">I’d agree that seems like a bug. The <code>backupFilePath</code> values are identical in the <code>&lt;File ...&gt;</code> records in for both the main and secondary views within session.xml. Thus, Notepad++ should be able to detect that it’s a cloned file and to set up the internal linkage so that changes to one of the clones are reflected in the other(s) in real time.</p>
<p dir="auto">As they are sharing the same backup file there is some “cloning” in that you can type in one of the tabs, exit/restart Notepad++, and the new material appears in both tabs.</p>
<p dir="auto">Another issue is that if you close the former clone/tab (picking <code>No</code> to the save prompt) and then exit Notepad++ then Notepad++ reports</p>
<pre><code class="language-txt">---------------------------
Save
---------------------------
Your backup file cannot be found (deleted from outside).
Save it otherwise your data will be lost
Do you want to save file "new 2" ?
---------------------------
Yes   No   Cancel   
---------------------------
</code></pre>
<p dir="auto">If you pick <code>Yes</code> then it will want to save this as a normal file.<br />
If you pick <code>No</code> and then exit/restart Notepad++ then Notepad++ pops up:</p>
<pre><code class="language-txt">---------------------------
File inaccessible
---------------------------
Some files from your past session are inaccessible. They can be opened as empty and read-only documents as placeholders.

Would you like to create those placeholders?

NOTE: Choosing not to create the placeholders or closing them later, your session WILL BE MODIFIED ON EXIT! We suggest you backup your "session.xml" now.
---------------------------
Yes   No   
---------------------------
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/100944</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/100944</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Thu, 10 Apr 2025 19:26:10 GMT</pubDate></item></channel></rss>