Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to create duplicate if unwritable #1316

Closed
jeremypw opened this issue May 12, 2023 · 0 comments · Fixed by #1318
Closed

Fails to create duplicate if unwritable #1316

jeremypw opened this issue May 12, 2023 · 0 comments · Fixed by #1318

Comments

@jeremypw
Copy link
Collaborator

jeremypw commented May 12, 2023

What Happened?

If a file's write permission is changed during editing then the "Save Duplicate" option of the resulting dialog fails to create a new file in the selected location even though the tab is renamed.

Steps to Reproduce

  • Create and open a writable text file
  • Edit it with the "Save changes" option on
  • Remove the write permission of the file
  • Edit some more
  • In the resulting dialiog press "Save Duplicate"
  • Select the same (writable) folder but a different file name
  • No file is created and the tab remains locked but renamed

Expected Behavior

A writable duplicate should be created in the requested location and the tab lock removed.

OS Version

7.x (Horus)

Software Version

Compiled from master

Log Output

No response

Hardware Info

No response

@jeremypw jeremypw changed the title Fails to create duplicate if writability changes during editing Fails to create duplicate if unwritable May 12, 2023
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 a pull request may close this issue.

1 participant