I don’t want to be a jerk about it, but every time I see this dialog from Notepad++ it just makes me angry that someone didn’t do better quality assurance:
Whadya want for nothin’? Rubber biscuit?
You should use Chocolatey and put the update script on a late night run to make sure that it is updated and waiting for you.
Also, EMACS!! Just kidding.
@SoulDessin I think you may have missed my point. My complaint is not that an update is required… it is the 9223372036854775808% complete indication.
Want me to fix it?! GitHub - notepad-plus-plus/notepad-plus-plus: Notepad++ official repository
I read that as some random generated file number at first. That is sort of funny.
Actually, I kind of like it.
Go on, then! Do eeet!
Let’s do eet!
Honestly, it’s a super old bug they have never fixed.
I noticed the code is using and old version of Boost too. A wrapper would need to be written to do the download progress math to fix it.
I wouldn’t put it past the programmers to goof around a bit now and make it show weird percentages.
99%
99.9999%
101Dalnations%
98ooops%
Wait! This bug is critical to my workflow now!
So there seems to be an issue with how this is being calculated and being sent to the window [progress].
progress.setPercent(int32_t((i * 100) / filesCount), fileNames.at(i).c_str());
Believe it or not, I set the npp version to the previous version, and when I get the download dialog, I can’t reproduce the issue.
#define NOTEPAD_PLUS_VERSION TEXT("Notepad++ v7.8.1")
Yeah, it’s not fully reproducible unfortunately. It seems to happen when there is a delay/retry in retrieving the file/manifest or whatever it does at the very beginning.
I saw the bug for all of half a second before the update finished and display updated to read 100%