Notepad++ release 8.7.4
-
I found a bug in 8.7.4.
I had a document open and was in the process of editing when I switched tabs to copy/paste something and when I switched back to my document, all changes were gone. They only persist if the document is saved before switching tabs. This is easily replicated and repeatable.
This did not occur in previous versions.
-
@Hardan-Conqueror
If you could run Notepad++ without any plugins and verify the issue. Sometimes it’s a plugin that causes the issue. To do this, read the FAQ post here.Terry
-
@Hardan-Conqueror said in Notepad++ release 8.7.4:
This is easily replicated and repeatable.
Sorry, I have been using v8.7.4 as my daily driver since the day it came out, with plenty of switching between tabs without saving, and have never seen the changes be lost.
There might be something specific to your exact settings, or where your files are located (local SSD/HDD vs cloud storage vs network drive), or something else (like possibly a plugin, as @Terry-R suggested while I was typing my reply).
But as it is, I cannot replicate your problem.
-
@Terry-R I have no plugins at all. It’s a vanilla Notepad++ install. Files being edited are local on SSD.
Someone on Github posted the problem as well. I can’t post links yet, but here’s the title and number:
[BUG] Edited tab loses text after tab change #15964@PeterJones I have no plugins and the files being edited are on a local SSD. Far as I know, my settings are defaults. Even if they aren’t, this problem did not exist on 8.7.3 or prior versions, only 8.7.4.
-
@Hardan-Conqueror said in Notepad++ release 8.7.4:
Someone on Github posted the problem as well.
Then you need to comment in that same issue; there’s power in numbers when there’s a problem.
-
@Hardan-Conqueror said in Notepad++ release 8.7.4:
This is easily replicated and repeatable
As @PeterJones stated he couldn’t find any issue. Myself, I have just updated my version to 8.7.4 and also cannot reproduce your findings. So easily reproducible it isn’t, with the detail you have given.
I’m not saying there isn’t an issue, but unless more “environmental” details come to light it might be a problem to reproduce and thus fix.
So do you have access to another PC on which to try? Anything you might be able to add which can help the developer and team, and thus also yourself in finding the solution?
You may even want to download the portable version of 8.7.4 and install it (which really just means unzipping into a folder). It is self contained so won’t interfere with your existing version. The benefit of this test is that the portable 8.7.4 will be operating under the same Windows environment but without any customisation you may have carried out on the installed version. Please do post as you have more info to hand, especially on the GitHub thread if it helps identify the reason.
Terry
-
Someone on Github posted the problem as well. I can’t post links yet, but here’s the title and number:
[BUG] Edited tab loses text after tab change #15964For those who want to click-to-follow: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15964
Since you didn’t share your Debug Info, we cannot see like @xomx did in the issue: Do you have “update silently” enabled? If so, it might be that an external program is updating the file and Notepad++ is re-reading it from disk without your knowing.
@PeterJones I have no plugins and the files being edited are on a local SSD.
Okay, then it’s probably not network-related (since there have been other recent network issues, I was asking about that to narrow it down).
Far as I know, my settings are defaults.
Even if they aren’t, this problem did not exist on 8.7.3 or prior versions, only 8.7.4.The exact settings may be critical to diagnosing the problem. For example, the auto-detection-enable-silently may be influencing things, especially if outside apps might be writing the file.
Since there is an Issue now, as @Alan-Kilborn said, that issue is the best place for you to put in your comments, including the Debug Information, because the Announcement thread isn’t a great place for debugging, whereas the Issue is a good place for that. I think that issue definitely needs your assertion that it didn’t happen with 8.7.3, because that shows it is a regression, and helps narrow down the scope of what changes might be influencing it; and your Debug Info and anything else you can think of would be helpful for that Issue as well.
As a warning, when I looked, I saw that the Issue poster seems to have had the problem magically disappear, so if you want it investigated and fixed, you’re probably going to have to put in more details in that Issue soon, otherwise it might be closed with no real solution.
-
@PeterJones said in Notepad++ release 8.7.4:
it didn’t happen with 8.7.3, because that shows it is a regression
or an AV-like SW currently does not have its “GoodGuy/BadGuy fingerprint” ready for a new N++ version…
-
I don’t have a Github account and am not going to open one as it will be yet another account that won’t get used. I’ve got lots of those now. I posted here because I could log in with my Google account.
I don’t know how to extract any of the technical info like what’s shown in the Github post, nor do I even know what most of it means. I also don’t know what further information might be needed, aside from my system details, which I’ve included below.
I can say with absolute certainty that there is nothing else making changes to the document I was editing as I had not opened it in another app. It was simply a text file with .nfo extension containing details on a game mod. The mod updated, so I was updating the .nfo file accordingly.
I could try the portable app route, as I am very familiar with portable apps, but I’m just going to uninstall Notepad++ and start over, while avoiding v8.7.4.
After I found this issue, I installed 8.7.3 over 8.7.4 and now 8.7.3 has the new pins on the tabs, so I’m just going to uninstall it and clean my system of any trace of the app and reinstall 8.7.3 and stay with that version.
There is no AV interfering as the folder I installed Notepad++ to is excluded from real time protection, as is the folder that contained the .nfo file I was editing.
As for troubleshooting 8.7.4, I’ll leave that to people smarter than me to figure out.
System info: Gigabyte X470 Aorus Gaming 5 Wifi mobo, Ryzen 7 1700 cpu, AMD RX 5700 XT 8gb gpu, 32 gigs DDR4 ram, Win10 x64 22h2, storage is 2 Samsung SSDs.
-
@Hardan-Conqueror said in Notepad++ release 8.7.4:
I don’t know how to extract any of the technical info like what’s shown in the Github post,
Go to Notepad++ menu > ? > Debug Info…
@Hardan-Conqueror said in Notepad++ release 8.7.4:
It was simply a text file with .nfo extension
Bingo!
With that info I can reproduce your issue.There is this current change in v8.7.4, it is most probably the culprit:
- Fix encoding of nfo file cannot be changed bug. (Fix #8823 , #9153 , #13905 )
-
@xomx
Thank you for your hint.The regression is fixed by the PR:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15969 -
-
Auto-updater is back to v8.7.1.