Skip to content
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

[Windows] Prevent accidental deletion of whole root folders in connected folder #1014

Closed
pke opened this issue Aug 22, 2016 · 1 comment
Closed

Comments

@pke
Copy link

pke commented Aug 22, 2016

Steps to reproduce

  1. Connect a folder
  2. Let it finish sync
  3. Drag one of the root folders from the connected folder to the Windows Desktop
  4. Watch all content of your nextcloud being deleted

Expected behaviour

The client should install a Windows Explorer ICopyHook to prevent such operations.

See https://msdn.microsoft.com/en-us/library/windows/desktop/cc144063(v=vs.85).aspx

It could request the user to confirm the operation. If the user is made aware of the DELETE operation to happen the copyhook handler can let the OS continue with its operation, otherwise IDCANCEL the whole MOVE operation.
It could also notify the user about useless COPY operations, since wherever you copy the content of the nextcloud folder it will not be kept in sync.

Actual behaviour

The folder was deleted without further confirmation.

Client configuration

Operating system:

Windows 8/10

@LukasReschke
Copy link
Member

As that's a client request please reopen it at https://github.com/owncloud/client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants