Skip to content

User friendly message for non-existing folder #12

@CyrilleB79

Description

@CyrilleB79

If I enter a non-exsisting path for the speech logger folder and validate the settings dialog, nothing happens.
Only the following error is logged:

ERROR - external:globalPlugins.speechLogger.GlobalPlugin.applyUserConfig (15:50:32.105) - MainThread (15320):
The folder given for log files does not exist (%tmp%\nvdaSpeechLogger).

Then the logging cannot occur and an error is logged in the log to indicate this.

When validating on an non-existing folder, I'd expect at least a warning message (dialog). Or better, an error message (dialog) preventing the settings to be validated as is.

If you want to support a use case where a non-existing path should still be supported, e.g. only log when an USB stick is present, you may opt for the warning solution though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions