Skip to content

Create portable dialog should allow use of system variables, as other path entry dialogs in windows do #14680

@XLTechie

Description

@XLTechie

Is your feature request related to a problem? Please describe.

When creating portable copies of NVDA, as I do often for testing and debugging, having to type full paths into the installer or create portable dialog, when I know there are variables containing those paths and we could be using them, is irksome.

Describe the solution you'd like

When creating portable copies of NVDA, allow use of system variables such as %temp% or %userprofile%, as most/all of the rest of Windows does in its path entry dialogs.

This can be done with a simple call to os.path.expandvars() while path parsing behind the portable creation dialog.

Describe alternatives you've considered

Leave it like it is. It isn't a major problem, just an annoyance; but neither is the fix a difficult one.

Additional context:

Note that the desired behavior is already possible, if system variables are entered in the path field which appears in the "browse" sub-dialog. It is only in the main portable creation dialog that one can't do this.

I remember someone else asking for this, a year or more back. But I couldn't find an issue with the keywords I tried.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions