<?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[Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?!]]></title><description><![CDATA[<p dir="auto">Had a weird incident recently where I had multiple text (.txt) based documents that I had written myself (basically notes, reminders, scratchpad stuff) and I’m using notepad++ and with multiple tabs open. I don’t have the MS notepad open nor do I have any other editor application (such as Word etc) open/running. I only have one instance of (multi-tabbed) notepad++ open. No other applications should have been making changes to any of my text files that I had opened in notepad++.</p>
<p dir="auto">I was doing something in the web browser and switched to the notepad++ application, suddenly I get the prompt about “Reload – This file has been modified by another program. Do you want to reload it?” and out of habit/instinct I just clicked on “Yes” to get the nag dialog box out of the way, hoping then I could tab over to the text file that I had been using as a pastebin for my copy/paste clipboard of things I was copying from the firefox/chrome browser…</p>
<p dir="auto">Immediately I’m presented with another such prompt, asking me the exact same question about if I wished to Reload this new tab/ additional text file, that is when I got a bit suspicious since I new for sure I hadn’t been updating two different text files… so I took a screenshot with greenshot of it… then to my surprise after this time clicking that No I didn’t wish to reload, I’m prompted a THIRD time about if I want to reload yet ANOTHER tab/instance/textfile! I also click No…</p>
<p dir="auto">Afterwards since each time it shows the exact path of the text file in question that is asking about reload, I go to the path on the Windows Explore (I’m using Windows 10) and right click each of the text files to check the Created, Modified, Accessed etc and they were from back in late October!</p>
<p dir="auto">These text files are in a directory that is sync’d by MEGA (sort of like dropbox) with revisions, so I log into my MEGA account and check the revision histories to see what is going on… Then I download a couple of prior revisions and confirmed that indeed the data looks good, no sign of data corruption or somehow a revision accidentally reverting by mistake, and indeed the MEGA revision confirmed what Windows Explorer confirmed, and that is there hadn’t been any changes since October to the files…</p>
<p dir="auto">I used WinMerge to compare the diff of revisions compared to current file and see that I had only been adding content over time, not deleting/revision, so nothing out of the ordinary… Indeed the October timestamp is the final one…</p>
<p dir="auto">Yet, I reboot my machine each night, and my computer hadn’t been up for more than 12 hours from the last reboot, I don’t do sleep or hibernation, so there is no way I could have had this notepad++ instance open for more than a few hours… this is on my host machine not a VM, so its not like I could have reverted to a prior snapshot by mistake etc… The tabs that I had open weren’t edited/modified since October, and yet tonight for some strange reason I got prompted by Notepad++ stating that these files have been changed and asking me if I wish to reload?</p>
<p dir="auto">My question is there a bug with Notepad++ that could be doing this false alarm/alert or is it that my computer is compromised somehow and files are changing behind the scenes without me being aware?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/22093/notepad-has-a-reload-false-alarm-bug-this-file-has-been-modified-by-another-program-do-you-want-to-reload-it-even-when-it-hadn-t-been-recently-modified-at-all</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 10:41:40 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/22093.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Nov 2021 08:05:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Tue, 19 Aug 2025 20:36:44 GMT]]></title><description><![CDATA[<p dir="auto">I’ve experienced something similar - Notepad++ will begin to occasionally corrupt files when I try to save them to a network drive. I can tell when it’s going to happen because it will not respond “not responding” for about 5-10 seconds, then display that error message.  And it corrupts the file!!!  When I’m heavily coding, this happens constantly. I have to make back-up copies constantly since it WILL corrupt the files!  Extremely frustrating. This has only started being a problem within the past 2 ? updates.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102974</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102974</guid><dc:creator><![CDATA[kshipp]]></dc:creator><pubDate>Tue, 19 Aug 2025 20:36:44 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Thu, 19 Jun 2025 17:36:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/35674">@Denis-Rionnet</a> said in <a href="/post/102022">Notepad++ has a Reload false alarm / bug? "This file has been modified by another program. Do you want to reload it"? even when it hadn't been recently modified at all?!</a>:</p>
<blockquote>
<p dir="auto">I understand that this behaviour can be disabled via the settings panel (it works: the warning gets muted)).</p>
</blockquote>
<p dir="auto">How and where? nvm - found it with Google - Settings&gt;Misc&gt;File Status auto-detection.</p>
<p dir="auto">I’m having the same issue - for me, typically when I don’t save the file in NPP, lock the computer, and then unlock it and go back to editing.</p>
<p dir="auto">Files are stored on a network hard drive (not Cloud storage).  File protocol is SMB, if that is what @ekpalypse is asking.</p>
<p dir="auto">I don’t think I’ve seen the message in NPP previously, but I’ve just started using it heavily.</p>
<p dir="auto">I agree, the feature was handy when it worked.</p>
<p dir="auto">For me, nobody else edit’s these files, and the one other program that I might edit them in notifies me if they were changed in NPP, so I’m okay with disabling it, but I’d like to see it fixed.</p>
<p dir="auto">Debug info:<br />
Notepad++ v8.8.1   (64-bit)<br />
Build time : May  3 2025 - 18:41:09<br />
Scintilla/Lexilla included : 5.5.6/5.4.4<br />
Boost Regex included : 1_85<br />
Path : C:\Program Files\Notepad++\notepad++.exe<br />
Command Line : “Z:_Brooks Work\FM ExtendScript\Scripts_2025\OPS_JG_Update_Variables.jsx”<br />
Admin mode : OFF<br />
Local Conf mode : OFF<br />
Cloud Config : OFF<br />
Periodic Backup : ON<br />
Placeholders : OFF<br />
Scintilla Rendering Mode : SC_TECHNOLOGY_DEFAULT (0)<br />
Multi-instance Mode : monoInst<br />
File Status Auto-Detection : cdEnabledNew (for current file/tab only)<br />
Dark Mode : OFF<br />
OS Name : Windows 11 Enterprise (64-bit)<br />
OS Version : 23H2<br />
OS Build : 22631.5472<br />
Current ANSI codepage : 1252<br />
Plugins :<br />
JSMinNPP (1.1905.1)<br />
mimeTools (3.1)<br />
NppConverter (4.6)<br />
NppExport (0.4)<br />
NPPJSONViewer (1.34)<br />
XMLTools (3.1.1.13)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102172</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102172</guid><dc:creator><![CDATA[Marshall-Brooks]]></dc:creator><pubDate>Thu, 19 Jun 2025 17:36:25 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Tue, 10 Jun 2025 12:28:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/35674">@Denis-Rionnet</a></p>
<p dir="auto">This usually works quite reliably as long as the underlying file system supports it.<br />
Where are these files stored and which file system is used?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102028</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102028</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Tue, 10 Jun 2025 12:28:39 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Tue, 10 Jun 2025 08:26:29 GMT]]></title><description><![CDATA[<p dir="auto">I’ve been using Notepad++ for a very long time, and it’s only very recently that I experienced this constant “file has been modified” warning.<br />
I currently use v8.8.1 (64bits on Windows 10), which I think is the most recent.<br />
I understand that this behaviour can be disabled via the settings panel (it works: the warning gets muted)). But actually, this warning was a good feature as long as it was accurate.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/102022</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/102022</guid><dc:creator><![CDATA[Denis Rionnet]]></dc:creator><pubDate>Tue, 10 Jun 2025 08:26:29 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Mon, 20 Feb 2023 00:53:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/27649">@jim-hughes</a> said in <a href="/post/84300">Notepad++ has a Reload false alarm / bug? “This file has been modified by another program. Do you want to reload it”? even when it hadn’t been recently modified at all?!</a>:</p>
<blockquote>
<p dir="auto">I’m getting this “file has been modified” warning constantly</p>
</blockquote>
<p dir="auto">This <a href="https://npp-user-manual.org/docs/preferences/#misc" rel="nofollow ugc">page</a> of the online manual might help.</p>
<p dir="auto">As you would have read, it tends to be an issue with cloud based storage, is that what you are using?</p>
<p dir="auto">Terry</p>
]]></description><link>https://community.notepad-plus-plus.org/post/84301</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/84301</guid><dc:creator><![CDATA[Terry R]]></dc:creator><pubDate>Mon, 20 Feb 2023 00:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Mon, 20 Feb 2023 00:47:19 GMT]]></title><description><![CDATA[<p dir="auto">I’m using NP++ for the first time and seems I’m getting this “file has been modified” warning constantly - except for my first access to the file.  Any way I can turn this off?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/84300</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/84300</guid><dc:creator><![CDATA[jim hughes]]></dc:creator><pubDate>Mon, 20 Feb 2023 00:47:19 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Tue, 14 Feb 2023 20:23:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26459">@Marc-Greiner</a> I have this problem occasionally while using SpiderOak doing scheduled cloud storage backups every 30 minutes.<br />
Windows 10 Pro 64 bits<br />
Notepad++ v8.4.9 64 bits<br />
Preferences -&gt;<br />
MISC. -&gt; File Status Auto-Detection -&gt; Enabled.<br />
Backup -&gt; Enable session snapshot and periodic backup every 5 minutes.</p>
<p dir="auto">When I am prompted with: “Do you want to reload?”  I click no and proceed normally.</p>
<p dir="auto">I am a small business owner, with tech knowledge, not a developer.<br />
I will be migrating from Windows 10 to Linux Mint, not upgrading to Windows 11.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/84155</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/84155</guid><dc:creator><![CDATA[Mountain-Eagle]]></dc:creator><pubDate>Tue, 14 Feb 2023 20:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Wed, 12 Oct 2022 13:52:12 GMT]]></title><description><![CDATA[<p dir="auto">IMO, Notepad++ has trouble with this for files that are on these types of drives.  In my case, like <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26519">@Doug-Ross</a> it is for OneDrive, and indeed I discussed it on this forum over 2 years ago; see current top result <a href="https://community.notepad-plus-plus.org/search?term=OneDrive">HERE</a> and also note some other results…</p>
<p dir="auto">There is also an “issue” open for this; see <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5863" rel="nofollow ugc">HERE</a>.</p>
<p dir="auto">Perhaps it isn’t a problem for most users of these services, so it has gained little attraction from those that could address it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80499</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80499</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Wed, 12 Oct 2022 13:52:12 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Wed, 12 Oct 2022 13:38:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26459">@Marc-Greiner</a> I am having this same issue as well.  I am on version 8.4.5 32-bit, though it has been happening through the past several versions.</p>
<p dir="auto">The steps are exactly the same as Marc described, though my files are being synced to OneDrive, not pCloud.</p>
<p dir="auto">Also, my File Status Auto-Detection setting is set to “Enabled”.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80497</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80497</guid><dc:creator><![CDATA[Doug Ross]]></dc:creator><pubDate>Wed, 12 Oct 2022 13:38:10 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Tue, 04 Oct 2022 16:05:29 GMT]]></title><description><![CDATA[<p dir="auto">I am having the “Reload false alarm” issue.</p>
<ul>
<li>Notepad++ 8.4.4 64 bits</li>
<li>pCloud (a cloud storage competitor to DropBox etc.)</li>
<li>Windows 11</li>
</ul>
<p dir="auto">Steps to reproduce:</p>
<ol>
<li>
<p dir="auto">In Notepad++, save a text file to a folder in the P: drive.<br />
The P: drive is the “logical” drive that pCloud synchronizes between my PCs.</p>
</li>
<li>
<p dir="auto">Give the focus to another app window.</p>
</li>
<li>
<p dir="auto">Give the focus back to Notepad++.</p>
</li>
<li>
<p dir="auto">Notepad++ prompts me with “This file has been modified by another program. Do you want to reload it?”</p>
</li>
</ol>
<p dir="auto">My Notepad++ is configured like so:<br />
Preferences -&gt; MISC. -&gt; File Status Auto-Detection -&gt; Enabled for all opened files</p>
]]></description><link>https://community.notepad-plus-plus.org/post/80274</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/80274</guid><dc:creator><![CDATA[Marc Greiner]]></dc:creator><pubDate>Tue, 04 Oct 2022 16:05:29 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Thu, 25 Nov 2021 14:54:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23789">@josef-eliáš</a><br />
Download v8.1.9.2 here:<br />
<a href="https://notepad-plus-plus.org/downloads/v8.1.9.2/" rel="nofollow ugc">https://notepad-plus-plus.org/downloads/v8.1.9.2/</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/71586</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71586</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Thu, 25 Nov 2021 14:54:12 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Thu, 25 Nov 2021 09:45:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23631">@leo-eibler</a> , <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a><br />
Where is this fix available? I have same problem and it sounds like you have fix :D</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71582</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71582</guid><dc:creator><![CDATA[Josef Eliáš]]></dc:creator><pubDate>Thu, 25 Nov 2021 09:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Wed, 17 Nov 2021 13:17:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/429">@pnedev</a><br />
Makes sens for this parameter. Let’s keep it then.<br />
Thank you for your explanation.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71388</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71388</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Wed, 17 Nov 2021 13:17:56 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Wed, 17 Nov 2021 08:41:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a> ,</p>
<p dir="auto">You can remove <code>FILE_FLAG_POSIX_SEMANTICS</code> if you like.</p>
<p dir="auto">The reason I added it is because I am mostly using Linux in my daily work and I like the file name case sensitivity. It is a personal preference and in my opinion doesn’t harm in Windows as well.<br />
I remember once long time ago I got a file from somewhere that was with all capitals name and when I tried to rename it to make the characters normal the system denied that claiming the name was the same. Seems that the confusion I felt back then still lingers :)</p>
<p dir="auto">Aside from my personal preference, I am not sure if keeping that flag will be useful if Notepad++ is used for Network accessed files. I do not have much experience in that case so I’m not sure what will happen if some Network accessed location is having case-sensitive file system and in a folder there are two files with names that only differ in letter cases. I have no idea if such situation might happen either but how will Notepad++ distinguish between those files? Maybe it is something that will be handled on operating system level IDK for sure.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71379</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71379</guid><dc:creator><![CDATA[pnedev]]></dc:creator><pubDate>Wed, 17 Nov 2021 08:41:12 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Wed, 17 Nov 2021 01:12:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/429">@pnedev</a></p>
<p dir="auto">Yes, that’s what I understood after reading agin MS Doc concerning CreateFile function.<br />
However, the parameter <code>FILE_FLAG_POSIX_SEMANTICS</code> to me is not useful for Notepad++. But there is maybe a reason when you coded it - I would like to know it before removing it (or not).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71372</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71372</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Wed, 17 Nov 2021 01:12:22 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Wed, 17 Nov 2021 00:20:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a> ,</p>
<p dir="auto">The <code>CreateFile</code>’s parameter about file attributes is combined with other flags.<br />
The MSDN is saying that <code>FILE_ATTRIBUTE_NORMAL</code> cannot be combined with other ATTRIBUTE values (because those will overwrite <code>FILE_ATTRIBUTE_NORMAL</code>) but flags are separate thing and can surely be combined with attributes. Those are basically two separate types of values combined in one variable.</p>
<p dir="auto">Quote from MSDN from <a href="https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew" rel="nofollow ugc">https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew</a> :</p>
<blockquote>
<p dir="auto">[in] dwFlagsAndAttributes</p>
<p dir="auto">The file or device attributes and flags, FILE_ATTRIBUTE_NORMAL being the most common default value for files.</p>
<p dir="auto">This parameter can include any combination of the available file attributes (FILE_ATTRIBUTE_*). All other file attributes override FILE_ATTRIBUTE_NORMAL.</p>
<p dir="auto">This parameter can also contain combinations of flags (FILE_FLAG_) for control of file or device caching behavior, access modes, and other special-purpose flags. These combine with any FILE_ATTRIBUTE_ values."</p>
</blockquote>
<p dir="auto">So we can safely use <code>FILE_FLAG_SEQUENTIAL_SCAN</code>, <code>FILE_FLAG_WRITE_THROUGH</code> and <code>FILE_FLAG_POSIX_SEMANTICS</code> and any other <code>FILE_FLAG_*</code> value together with <code>FILE_ATTRIBUTE_NORMAL</code>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71370</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71370</guid><dc:creator><![CDATA[pnedev]]></dc:creator><pubDate>Wed, 17 Nov 2021 00:20:16 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Sun, 14 Nov 2021 14:32:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23644">@David-Johnstone</a></p>
<blockquote>
<p dir="auto">The MSDN documentation for CreateFile says about FILE_ATTRIBUTE_NORMAL:<br />
“This attribute is valid only if used alone.”</p>
</blockquote>
<p dir="auto">The thing is, even <code>FILE_FLAG_POSIX_SEMANTICS</code> is removed:</p>
<pre><code class="language-cpp">void Win32_IO_File::fillCreateParams(DWORD &amp;access, DWORD &amp;share, DWORD &amp;disp, DWORD &amp;attrib)
{
	access	= GENERIC_READ;
	share = FILE_SHARE_READ;
	attrib	= FILE_ATTRIBUTE_NORMAL; // Distinguish between upper/lower case in name

	if (_hMode == Mode::READ)
	{
		disp	=	OPEN_EXISTING; // Open only if file exists and is not locked by other process

		attrib	|=	FILE_FLAG_SEQUENTIAL_SCAN; // Optimize caching for sequential read
	}
	else
	{
		disp	=	OPEN_ALWAYS; // Open existing file for writing without destroying it or create new

		access	|=	GENERIC_WRITE;
		attrib	|=	FILE_FLAG_WRITE_THROUGH; // Write cached data directly to disk (no lazy writer)
	}
}
</code></pre>
<p dir="auto">We add always <code>FILE_FLAG_WRITE_THROUGH</code> (<code>Mode::READ</code> is not used in Notepad++ code).</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/429">@pnedev</a><br />
What’s your thought?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71287</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71287</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Sun, 14 Nov 2021 14:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Sun, 14 Nov 2021 14:06:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23644">@david-johnstone</a></p>
<blockquote>
<p dir="auto">The MSDN documentation for CreateFile says about FILE_ATTRIBUTE_NORMAL:<br />
“This attribute is valid only if used alone.”<br />
In reality, ORing with other attributes may make no real difference. But after coding for some 50 years, I believe being pedantic = good plan :-)</p>
</blockquote>
<p dir="auto">You’ve got a point here.</p>
<p dir="auto">OTOH, the another parameter <code>FILE_FLAG_POSIX_SEMANTICS</code>, MS Doc says:</p>
<pre><code>FILE_FLAG_POSIX_SEMANTICS
0x01000000


	Access will occur according to POSIX rules. This includes allowing multiple files with names, differing only in case, for file systems that support that naming.
</code></pre>
<p dir="auto">We do not need this ability, so I think it can be removed. What do you think <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/429">@pnedev</a> ?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71286</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71286</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Sun, 14 Nov 2021 14:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Sun, 14 Nov 2021 11:27:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23644">@david-johnstone</a> should say <strong>Line 125</strong></p>
]]></description><link>https://community.notepad-plus-plus.org/post/71282</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71282</guid><dc:creator><![CDATA[David Johnstone]]></dc:creator><pubDate>Sun, 14 Nov 2021 11:27:10 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Sun, 14 Nov 2021 11:24:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a> Out of curiosity, I looked at the code in <strong>FileInterface.cpp</strong><br />
In line 25, we have:</p>
<p dir="auto">attrib = FILE_ATTRIBUTE_NORMAL | FILE_FLAG_POSIX_SEMANTICS;</p>
<p dir="auto">The MSDN documentation for <strong>CreateFile</strong> says about FILE_ATTRIBUTE_NORMAL:</p>
<p dir="auto">“This attribute is valid only if used alone.”</p>
<p dir="auto">In reality, ORing with other attributes may make no real difference.  But after coding for some 50 years, I believe being pedantic = good plan :-)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71281</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71281</guid><dc:creator><![CDATA[David Johnstone]]></dc:creator><pubDate>Sun, 14 Nov 2021 11:24:43 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Fri, 12 Nov 2021 16:19:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a> it looks very good … I tested it now (for the last 2 hours) and no “file has been modified” dialog any more ;-)</p>
<p dir="auto">I also tested to modify the file really outside the editor and this works also - the modified dialog appears as expected.</p>
<p dir="auto">I keep on testing next week but I think you solved the bug ;-)<br />
Thank you very very much for your really fast help!</p>
<p dir="auto">BR</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71233</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71233</guid><dc:creator><![CDATA[Leo Eibler]]></dc:creator><pubDate>Fri, 12 Nov 2021 16:19:14 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Fri, 12 Nov 2021 14:33:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a> thank you very much. I will test it.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71232</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71232</guid><dc:creator><![CDATA[Leo Eibler]]></dc:creator><pubDate>Fri, 12 Nov 2021 14:33:15 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Fri, 12 Nov 2021 13:47:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/23631">@leo-eibler</a></p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a> Is it possible that you don’t fixed the x64 version? because it has older date (2021-11-12 04:02	2.3M) and other filename (missing the word “new”)</p>
</blockquote>
<p dir="auto">You are right. Fixed now.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71230</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71230</guid><dc:creator><![CDATA[donho]]></dc:creator><pubDate>Fri, 12 Nov 2021 13:47:49 GMT</pubDate></item><item><title><![CDATA[Reply to Notepad++ has a Reload false alarm &#x2F; bug? &quot;This file has been modified by another program. Do you want to reload it&quot;? even when it hadn&#x27;t been recently modified at all?! on Fri, 12 Nov 2021 13:14:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/3">@donho</a> Is it possible that you don’t fixed the x64 version? because it has older date (2021-11-12 04:02	2.3M) and other filename (missing the word “new”)</p>
]]></description><link>https://community.notepad-plus-plus.org/post/71229</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/71229</guid><dc:creator><![CDATA[Leo Eibler]]></dc:creator><pubDate>Fri, 12 Nov 2021 13:14:54 GMT</pubDate></item></channel></rss>