<?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[Unnecessary Pop-Up after manual file reload.]]></title><description><![CDATA[<p dir="auto">v8.6.7<br />
Still Pop-up widget with a question to reload file that was modified in another app after my manual reload with Ctrl+R<br />
N++ should fix it</p>
<p dir="auto">Also you can improve on monitoring file that modified outside.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25836/unnecessary-pop-up-after-manual-file-reload</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 17:21:04 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25836.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Jun 2024 09:29:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unnecessary Pop-Up after manual file reload. on Tue, 04 Jun 2024 10:51:10 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></p>
<p dir="auto">Sure…but that’s why I said “reasonably”.<br />
It’s certainly easy to just talk about it and not try to implement it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95182</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95182</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 04 Jun 2024 10:51:10 GMT</pubDate></item><item><title><![CDATA[Reply to Unnecessary Pop-Up after manual file reload. on Tue, 04 Jun 2024 02:08:21 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/95170">Unnecessary Pop-Up after manual file reload.</a>:</p>
<blockquote>
<p dir="auto">Please make this feature request to a higher power than the author of N++ (because I don’t really see how both things – editing and an external app making changes – can reasonably be accomplished).</p>
</blockquote>
<p dir="auto">If you type a character then the edit buffer is dirty. If npp detects a change by an external app then you get the pop-up asking if you want to keep your changes or reload.</p>
<p dir="auto">To do it right, saving your changes would require some cleanup to the npp code as we want to lock the file open and while locked do the final check of the size and time stamps for changes by external apps. If the file is unchanged you then write the data. This makes the save an atomic operation.  At present npp is using wrappers that end up doing multiple checks and then doing the final open for writing. There’s a timing window within the wrapper where an external apps changes could be lost. That’s why npp currently does not allow you to make changes to the file when it’s in monitor mode.</p>
<p dir="auto">The Win32 API has always had good support for safely allowing multiple processes or threads to make changes to a shared file. Starting with Windows Vista file locking also works on network shares.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95175</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95175</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Tue, 04 Jun 2024 02:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Unnecessary Pop-Up after manual file reload. on Tue, 04 Jun 2024 01:47:25 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> ,<br />
It can’t, not without the box coming up like you say. I do it all the time using NPP and the dBASE IDE editor.</p>
<p dir="auto">What he mentioned about it coming up later, and I can’t/won’t test this as I have no interest in cloud based backups, is that maybe he has MS OneDrive being used unaware to him and it’s having a delay between the app being notified or it changing it on the drive, and then the One drive and it then triggering the box…otherwise, I’ve explained prior how I use both apps at the same time, and fortunately, once you do it once and realize how the monitor works, you remember to save the changed file so as to not lose changes.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95172</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95172</guid><dc:creator><![CDATA[Lycan Thrope]]></dc:creator><pubDate>Tue, 04 Jun 2024 01:47:25 GMT</pubDate></item><item><title><![CDATA[Reply to Unnecessary Pop-Up after manual file reload. on Tue, 04 Jun 2024 00:24:16 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 in <a href="/post/95165">Unnecessary Pop-Up after manual file reload.</a>:</p>
<blockquote>
<p dir="auto">If you have a need to edit and monitor at the same time then you should make a feature request.</p>
</blockquote>
<p dir="auto">Please make this feature request to a higher power than the author of N++ (because I don’t really see how both things – editing and an external app making changes – can reasonably be accomplished).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95170</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95170</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Tue, 04 Jun 2024 00:24:16 GMT</pubDate></item><item><title><![CDATA[Reply to Unnecessary Pop-Up after manual file reload. on Mon, 03 Jun 2024 21:44:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/izbae-bav1" aria-label="Profile: Izbae-Bav1">@<bdi>Izbae-Bav1</bdi></a> said in <a href="/post/95099">Unnecessary Pop-Up after manual file reload.</a>:</p>
<blockquote>
<p dir="auto">Modified this file in different app</p>
</blockquote>
<p dir="auto">Are you doing this while Notepad++ remains the main foreground app that has focus?</p>
<p dir="auto">If so, then enable Notepad++'s monitoring.  It’s the <code>eye</code> icon on Notepad++'s toolbar or it is the last/bottom option in Notepad++ <code>View</code> menu.</p>
<p dir="auto">Normally when you switch to another app and then back to Notepad++ then it checks the file for changes by other apps on the spot. That’s why I asked <code>Are you doing this while Notepad++ remains the main foreground app that has focus?</code>.  If so, Notepad++'s monitoring thing should work well for you.</p>
<p dir="auto">Notepad++'s monitoring thing also disables the file-changed pop-ups for that file.  A downside of monitoring is that it also puts the file in read-only mode from Notepad++'s perspective. You can’t edit a file using Notepad++ that you are monitoring via that same instance of Notepad++. If you have a need to edit and monitor at the same time then you should make a <a href="https://community.notepad-plus-plus.org/topic/15741/faq-feature-request-or-bug-report/1">feature request</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95165</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95165</guid><dc:creator><![CDATA[mkupper]]></dc:creator><pubDate>Mon, 03 Jun 2024 21:44:06 GMT</pubDate></item><item><title><![CDATA[Reply to Unnecessary Pop-Up after manual file reload. on Sun, 02 Jun 2024 12:41:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/izbae-bav1" aria-label="Profile: Izbae-Bav1">@<bdi>Izbae-Bav1</bdi></a></p>
<p dir="auto">For me, in 8.6.7, the step-by-step doesn’t work to show a problem.</p>
<p dir="auto">After step 3, if I return input focus to N++ where the active tab is the one with the externally-modified file, I get the popup BEFORE I even have the opportunity to execute a Ctrl+r.</p>
<p dir="auto">The same happens if the active tab when returning input focus to N++ is NOT the one with the externally-modified file; if I switch to that file, I again get the popup BEFORE I even have the opportunity to execute a Ctrl+r.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95112</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95112</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sun, 02 Jun 2024 12:41:49 GMT</pubDate></item><item><title><![CDATA[Reply to Unnecessary Pop-Up after manual file reload. on Sun, 02 Jun 2024 09:55:58 GMT]]></title><description><![CDATA[<p dir="auto">To expand on this issue, I will describe step-by-step:</p>
<ol>
<li>Editing text file</li>
<li>Saved</li>
<li>Modified this file in different app</li>
<li>Reload ( Ctrl + R )
<ul>
<li>content updated in editor</li>
<li>Pop-Up with unnecessary question about “reload” useless as the decision will not change anything.</li>
</ul>
</li>
</ol>
<p dir="auto">Content already updated before Pop-Up.</p>
<p dir="auto">Please improve it, and<br />
add more sensitive monitoring of modified file when single tab/file opened.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/95099</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/95099</guid><dc:creator><![CDATA[Izbae Bav1]]></dc:creator><pubDate>Sun, 02 Jun 2024 09:55:58 GMT</pubDate></item></channel></rss>