Skip to content

When NVDA config path is overwritten from the command line open actual config dir when using a keyboard command#10911

Merged
feerrenrut merged 2 commits into
nvaccess:masterfrom
lukaszgo1:fixUpPR10493
Mar 30, 2020
Merged

When NVDA config path is overwritten from the command line open actual config dir when using a keyboard command#10911
feerrenrut merged 2 commits into
nvaccess:masterfrom
lukaszgo1:fixUpPR10493

Conversation

@lukaszgo1

Copy link
Copy Markdown
Contributor

Link to issue number:

Discussion in #10493

Summary of the issue:

If NVDA config path is overwritten from the command line and user tries to open configuration directory by pressing keyboard command wrong folder is opened,

Description of how this pull request fixes the issue:

If possible globalVars.appArgs.configPath is used to retrieve actual config path falling back to config.getUserDefaultConfigPath() if not.

Testing performed:

Ensured that when the config path is specified on the command line and the script to open config path is executed proper folder opens.

Known issues with pull request:

None known

Change log entry:

None needed this is not in a release yet.

@lukaszgo1

Copy link
Copy Markdown
Contributor Author

@feerrenrut I'd appreciate your review when time permits.

Comment thread source/systemUtils.py
@lukaszgo1

Copy link
Copy Markdown
Contributor Author

@feerrenrut Done.

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lukaszgo1

@feerrenrut feerrenrut merged commit 47bf1df into nvaccess:master Mar 30, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.1 milestone Mar 30, 2020
@feerrenrut feerrenrut modified the milestones: 2020.1, 2020.2 Mar 30, 2020
@lukaszgo1 lukaszgo1 deleted the fixUpPR10493 branch March 30, 2020 15:48
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

Successfully merging this pull request may close these issues.

3 participants