Issue found while trying to fix #11644.
NVDA restart process is not robust at all; there are many unforseen corner cases.
First example
Steps to reproduce:
- Start "
nvda --disable-add" (please note the incomplete command line flag)
- Press
NVDA+Q, select "Restart" and validate
- Repeat 2 as many times as wanted
Actual behavior:
After steps 2 and 3, NVDA restarts again with add-ons disabled, in contradiction to what is written in the restart dialog.
Expected behavior:
After steps 2 and 3, NVDA should restart with add-ons re-enabled.
Second example
Steps to reproduce:
- Start "
nvda --lang=it --lang=en --disable-addons --disable-addons"
- Press
NVDA+Q, select "Restart" and validate
- Press
NVDA+Q, select "Restart" and validate
Actual behavior:
After step 2, NVDA is restarted with add-ons disabled and English language.
Expected behavior:
After steps 2 and 3, NVDA should restart with add-ons re-enabled.
Example 3
Steps to reproduce:
- Start "
nvda --lan=it"
- Open NVDA settings dialogs
Actual behavior:
At step 1., no command parsing error window appears.
At step 2, NVDA appears in usual Windows language.
Expected behavior:
At step 2. NVDA should appear in Italian, since prefix matching should apply to command line options, even if not really advertised.
Alternatively, if such option writing is not allowed, at step 1., a command line error window should appear.
NVDA logs, crash dumps and other attachments:
N/A
System configuration
NVDA installed/portable/running from source:
Installed or from source
NVDA version:
2024.4.1
Windows version:
Windows 10 22H2 (AMD64) build 19045.5131
Name and version of other software in use when reproducing the issue:
N/A
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No, but probably no change
If NVDA add-ons are disabled, is your problem still occurring?
N/A
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Not tested, unrelated.
Issue found while trying to fix #11644.
NVDA restart process is not robust at all; there are many unforseen corner cases.
First example
Steps to reproduce:
nvda --disable-add" (please note the incomplete command line flag)NVDA+Q, select "Restart" and validateActual behavior:
After steps 2 and 3, NVDA restarts again with add-ons disabled, in contradiction to what is written in the restart dialog.
Expected behavior:
After steps 2 and 3, NVDA should restart with add-ons re-enabled.
Second example
Steps to reproduce:
nvda --lang=it --lang=en --disable-addons --disable-addons"NVDA+Q, select "Restart" and validateNVDA+Q, select "Restart" and validateActual behavior:
After step 2, NVDA is restarted with add-ons disabled and English language.
Expected behavior:
After steps 2 and 3, NVDA should restart with add-ons re-enabled.
Example 3
Steps to reproduce:
nvda --lan=it"Actual behavior:
At step 1., no command parsing error window appears.
At step 2, NVDA appears in usual Windows language.
Expected behavior:
At step 2. NVDA should appear in Italian, since prefix matching should apply to command line options, even if not really advertised.
Alternatively, if such option writing is not allowed, at step 1., a command line error window should appear.
NVDA logs, crash dumps and other attachments:
N/A
System configuration
NVDA installed/portable/running from source:
Installed or from source
NVDA version:
2024.4.1
Windows version:
Windows 10 22H2 (AMD64) build 19045.5131
Name and version of other software in use when reproducing the issue:
N/A
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No, but probably no change
If NVDA add-ons are disabled, is your problem still occurring?
N/A
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Not tested, unrelated.