client
client copied to clipboard
Deleting virtual file/folder (online only) does not show warning message
Pre-submission Checks
- [X] I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
- [X] I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.
Describe the bug
While deleting a virtual file or a virtual folder (online only/dehydrated), it gets deleted both in desktop client and server without warning message.
Expected behavior
Warning message was expected
Steps to reproduce the issue
VFS must be enabled.
- Add a file or a folder from client
- Make the file or folder online only (
Free up spacefrom context menu ) - Delete the virtual file or virtual folder from the client
Screenshots
No response
Logs
No response
Client version number
ownCloud 5.0.0.12187-rc.2 5a9119 Libraries Qt 6.4.3, OpenSSL 3.1.2 1 Aug 2023 Using virtual files plugin: wincfapi OS: windows-10.0.19045 QPA: windows
Desktop environment (Linux only)
No response
Client package version and origin (Linux only)
No response
Installation path (Windows only)
No response
Server information
ownCloud Web UI 7.0.0 Infinite Scale 3.0.0 Community
Additional context
No response
Virtual files are "placeholder" for actual files and should in this regard behave like the original file. If you delete the original file its gone too?
As far as I know we never displayed a dilog, please reopen if I'm wrong.
In windows-10.0.19045, virtual files and virtual folders gets deleted from client as well as from server.
In ubuntu-6.2.0-33-generic, when .owncloud files are deleted, it gets added again, but virtual folder get deleted in both desktop client and server.
Suffix placeholders are broken by design.
Proper placeholders should behave like the actual file.
Warning message was expected
We could compare with other solutions. I think Dropbox, iCloud etc show warnings. Needs research…
.owncloud files are deprecated and will be removed in 7.0