Skip to content

Conversation

@bernie-laberge
Copy link
Contributor

Make saveFileDialog RV command permissions check optional

Linked issues

NA

Describe the reason for the change.

Some Windows users reported that when using the saveFileDialog() RV command and writing on a network drive with the appropriate write permissions, RV was incorrectly reporting that the destination directory was not writable by the user. We were not able to reproduce this issue which would have allowed us to find the real cause of this issue.

Summarize your change.

This commit makes the saveFileDialog RV command permissions check prior to saving optional if the RV_SKIP_SAVE_FILE_DIALOG_PERMISSIONS_CHECK environment variable is set and also adds a "Try to Save Anyway" button if the permission check fails.
Note that if the directory of the saving operation is really not writable, then the write operation will fail.
At least this will unblock users facing this issue which seams to be Windows + Network drive specific.

Describe what you have tested and on which operating system.

Successfuly tested by the Windows users facing this specific Windows + Network drive issue.

Add a list of changes, and note any that might need special attention during the review.

If possible, provide screenshots.

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.

1 participant