-
Notifications
You must be signed in to change notification settings - Fork 669
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
Removing a suffix-virtual file does not trigger a remote deletion #6875
Comments
@lazawan can you reproduce this? |
This is currently working as designed. Removing a placeholder does not remove the file of the server, for we are afraid of data loss. This could be changed if another behaviour is preffered. @ckamm, @michaelstingl: what do you think? |
Yes, intentional for now. Users might not expect that removing "a.owncloud" removes "a" on the server. |
Users might not expect that they have to download a move in order to make delete work. |
This is probably true. Needs some concept work, that’s why I assigned myself. |
@ckamm How is this with wincfapi? |
There deletions of local dehydrated files synchronize as remote deletions. In my opinion that makes sense since it's clear it's the same file. |
This is blocked on a decision: Should a local placeholder deletion trigger a remote deletion or not? |
@hodyroff @michaelstingl for discussion ^^ Is there a way now to have the file be moved to the server side trashbin? That could be an idea.. maybe this can be done with a MOVE operation? |
@DeepDiver1975 just said that moving files to server side trashbin is currently not possible via WebDAV. |
I suggest we leave it as-is and instead focus efforts on nicer vfs solutions, like wincfapi and equivalents for other platforms. |
Moving out of milestone and keeping as discussion topic |
Client detects deletion, but shouldn't send
I think we'll need this popup also for the newer fancy implementations where we don't have the real data in the local trashbin. |
A warning dialog has complications:
So: I imagine a file-watcher triggered dialog with this checkbox. If the user deletes placeholders while the client isn't looking the current no-delete behavior persists. About other vfs implementations: Do you really think so? If the file is not distinguishable from the real file, why would deleting it not trigger a remote deletion? |
Yeah, it triggers the remote deletion. But also triggers a popup. |
There is inconsistency between deleting a file and deleting a folder. File is not deleted but folder is. |
👍 |
Contrary to the original post, I have also seen the opposite behaviour coming as a surprise: Some users seem to expect, they can remove local placeholders, without any effect on the server. That is a misconception. Requesters like thise in Michael's screenshot should help to educate users about the semantics of virtual files. |
I think we have consensus on the warning, I've created #7360 to track the implementation. |
tested with testpilotcloud 2.5.1 on Ubuntu 18.04
Enabled virtual files experimental feature on the connection wizard
Connected to demo.owncloud.org
Amongst others, a file 'ownCloud Manual.pdf.owncloud'
is downloaded.
when I remove the file on the client, it is recreated within a few seconds.
Expected behaviour: The remove propagates to the server, the file gets removed and remains removed.
Maybe related: #6718 -- renaming a virtal file works as expected in 2.5.1 but in 2.5.0 it showed a similar behaviour: automatic reset to the previous state.
The text was updated successfully, but these errors were encountered: