Launcher: Default to replacing an already running NVDA (#8320)#9827
Conversation
LeonarddeR
left a comment
There was a problem hiding this comment.
In the user docs, it might be handy to note that the default behavior of opening the executable is that the running copy is terminated.
I have just updated the "Launching NVDA" section, mentioning the new behavior for both installed and portable versions. Thanks for pointing that out. |
|
Nope, I think it is ok as is.
|
|
I think this PR should wait until the next release, there isn't much time for us to work through any issues that may crop up, and given that it is related to how NVDA starts I'm a bit hesitant to merge it right now. |
|
Mmm, this is filed against master, not beta. I guess 2019.3 won't be released any time soon? 2019.2 isn't even out and this pr won't hurt that. |
|
120bc43: Rebased onto latest master. |
|
Hi, Reef was right - I get conflicts when merging Threshold branch to a private version of this PR, mostly having to do with argparse and installer. I advise holding off until this PR is properly rebased on master branch powered by Threshold/Python 3. thanks. |
* An already running NVDA is always terminated, unless -k|--check-running
* -q|--quit and -k|--check-running are now mutually exclusive
* Updated User Guide
* Launching NVDA
* Command Line Options
|
Rebased onto latest master and linted. The original PR is preserved in the branch accessolutions/nvda/i8320-py2 if you ever consider merging it into an eventual 2019.2.1 |
|
@michaelDCurran, thanks for merging. EDIT: |
|
Hi, Found a rather serious (and very critical) bug: if you try to run an app with admin privileges, you'll see UAC come up. After the secure copy of NVDA exits after you interact with secure screens, normal copy of NVDA comes up, but it'll restart. Thanks. |
I did test the installer, but missed the special case of the secure desktop. |
* Backport of nvaccess#9827 * An already running NVDA is always terminated, unless -k|--check-running or --ease-of-access (nvaccess#10179) * -q|--quit and -k|--check-running are now mutually exclusive * Updated User Guide * Launching NVDA * Command Line Options
Link to issue number:
Fixes #8320
Summary of the issue:
It can be difficult at times for a non-initiated user to pass the -r|--replace command line parameter, even though it is the most expected behavior when running the executable of a portable copy.
Description of how this pull request fixes the issue:
Testing performed:
Known issues with pull request:
I have updated the user documentation in the command line arguments section.
I did not thoroughly read it through to check if a mention to the replace mechanism is present somewhere else.
Change log entry:
Section: New features, Changes, Bug fixes
Changes: Running nvda.exe now defaults to replace an already running copy of NVDA. The -r|--replace command line parameter is still accepted, but ignored.