You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a file is in use by another app and one tries to save an edited file (just save, not save as), one gets the exception below.
Info:
App version: 3.1.14 (x64)
OS: Windows 10.0.19042 Build 19042
To Reproduce
Steps to reproduce the behavior:
Open any image file in the facebook browser app (add to post), open the same image in Quick Picture Viewer, crop it and then save it.
Expected behavior
Error message that the file is in use and cant be overwritten now.
Additional context
************** Exception Text **************
System.IO.IOException: The process cannot access the file 'C:\Users\UserX\Downloads\IMG_123456.jpg' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at quick_picture_viewer.MainForm.SaveFile(String path, String ext, Boolean dispose) in D:\Projects\quick-picture-viewer\quick-picture-viewer\forms\MainForm.cs:line 2483
at quick_picture_viewer.MainForm.saveBtn_Click(Object sender, EventArgs e) in D:\Projects\quick-picture-viewer\quick-picture-viewer\forms\MainForm.cs:line 2466
Describe the bug
When a file is in use by another app and one tries to save an edited file (just save, not save as), one gets the exception below.
Info:
To Reproduce
Steps to reproduce the behavior:
Open any image file in the facebook browser app (add to post), open the same image in Quick Picture Viewer, crop it and then save it.
Expected behavior
Error message that the file is in use and cant be overwritten now.
Additional context
************** Exception Text **************
************** Loaded Assemblies **************
The text was updated successfully, but these errors were encountered: