Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid percentage value during installation of 7.5.4 #4069

Open
sachinpandhare opened this issue Jan 11, 2018 · 1 comment
Open

Invalid percentage value during installation of 7.5.4 #4069

sachinpandhare opened this issue Jan 11, 2018 · 1 comment

Comments

@sachinpandhare
Copy link

Description of the Issue

When I started auto update prompted by notepad++, initially it showed a very huge value for percentage completion.
In my case, I was updating from 7.5.1 to 7.5.4.
Snapshot attached.
It seems to be a divide by zero sort of issue.
There must be a minor change that needs to check for the new installer size and use it when more than 0 or something similar. or possibly at the time of % calculation the installer size was not initialized(?).

Steps to Reproduce the Issue

  1. Update from 7.5.1 to 7.5.4. This may possibly also apply for any update or from any version to 7.5.4.

Expected Behavior

  • The installer percentage should start from 0%.

Actual Behavior

  • Initial installation percentage was 9223372036854775808%.

Debug Information

Notepad++ v7.5.4 (64-bit)
Build time : Jan 1 2018 - 01:50:29
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll
notepad installerpercentvalue

@MarcoMiltenburg
Copy link

I just saw that this is still happening:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants