qView icon indicating copy to clipboard operation
qView copied to clipboard

Can't Delete from OneDrive (and probably any Cloud Folders)

Open Maghsad opened this issue 2 years ago • 7 comments

Environment:

  • OS: [e.g. macOS 12.7]
  • qView version: [e.g. 6.1]

Information: First, thank you for developing this useful app.

Unfortunately, qView cannot delete images in OneDrive:

It seems this issue may extend to any Cloud Storage that could natively be accessed by Finder (i.e., anything with a physical address like /Users/USERNAME/Library/CloudStorage/CLOUD_FOLDER/IMAGE) since upon attempting to delete, qView tries to move the file to Trash:

It seems that the issue could be quickly patched if deleting files (at least those located in /Users/USERNAME/Library/CloudStorage/*) be handled by Finder (or an approach similar to what Finder uses is applied):

Thank you again, and looking forward to seeing this bug isfixed.

Maghsad avatar Sep 27 '23 11:09 Maghsad

Same issue on a network drive (SMB, Mac Ventura).

iamvanja avatar Oct 04 '23 23:10 iamvanja

Can't reproduce this with OneDrive, but I do indeed get the same error on a network share. QFile::moveToTrash is failing. I tried with QFile::remove and it worked, so this would be related to #497.

jdpurcell avatar Oct 05 '23 02:10 jdpurcell

Makes sense, i'll try to merge the delete action soon and that should fix the issue

jurplel avatar Oct 07 '23 19:10 jurplel

Same problem in MacOS 14 on a SMB folder. I want to take this opportunity to congratulate the developer of this app. I have tried several image viewers and this is the most complete, fast and efficient I found for Mac.

simonbcn avatar Nov 25 '23 15:11 simonbcn

Same issue on files on WSL in windows (qView best app by far btw)

arieller avatar Jan 11 '24 18:01 arieller

I believe the underlying cause is #497. Please upvote that issue.

vassudanagunta avatar Apr 29 '24 21:04 vassudanagunta

perma-delete was merged, but is that a good solution? I think we might want to investigate improving the error message to suggest that one may need to use permadelete in the onedrive case.

jurplel avatar May 06 '24 21:05 jurplel