client icon indicating copy to clipboard operation
client copied to clipboard

Deleting virtual file/folder (online only) does not show warning message

Open Salipa-Gurung opened this issue 2 years ago • 5 comments

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.

  1. Add a file or a folder from client
  2. Make the file or folder online only ( Free up space from context menu )
  3. 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

Salipa-Gurung avatar Sep 27 '23 07:09 Salipa-Gurung

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?

TheOneRing avatar Sep 27 '23 07:09 TheOneRing

As far as I know we never displayed a dilog, please reopen if I'm wrong.

TheOneRing avatar Sep 27 '23 08:09 TheOneRing

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.

Salipa-Gurung avatar Sep 27 '23 08:09 Salipa-Gurung

Suffix placeholders are broken by design.

Proper placeholders should behave like the actual file.

TheOneRing avatar Sep 27 '23 10:09 TheOneRing

Warning message was expected

We could compare with other solutions. I think Dropbox, iCloud etc show warnings. Needs research…

michaelstingl avatar Oct 07 '23 19:10 michaelstingl

.owncloud files are deprecated and will be removed in 7.0

TheOneRing avatar Aug 02 '24 11:08 TheOneRing