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

Remove all files message is too complicated #7304

Closed
jnweiger opened this issue Jul 11, 2019 · 13 comments · Fixed by #11570
Closed

Remove all files message is too complicated #7304

jnweiger opened this issue Jul 11, 2019 · 13 comments · Fixed by #11570
Labels
Milestone

Comments

@jnweiger
Copy link
Contributor

client 260daily20190711 on win10, with demo.owncloud.org

The client was off for a while. The server reset itself, then the client is connected again.
This message pops up.

image

The second sentence gives me a hard time. Syncing a "delete" probably means delete the files. If so, please say so. What "right to restore" do I need. Does "making ... unavailable" mean, it is moved to some hidden trashcan, where I need admin rights? If it is simply deleted, then we should say so.

Why is there a warning about "rights to do so" when choosing "keep the files"? Is that different from a normal sync?

The last sentence somehow contradicts the second. It seems to say, that nothing is deleted unless I am the owner. Client runs undermy account, so I am the owner of almost all files here. I don't believe that.

Suggestion:

Remove All Files?
 
All files in the sync folder 'ownCloud' were deleted on the server.
Choose keep  to re-upload to the server.
Chose remove to delete them locally too.
 
[Keep]   [Remove]
@ckamm
Copy link
Contributor

ckamm commented Jul 12, 2019

Simplifying like this looks good to me. Any concerns @michaelstingl ?

I think the second sentence attempts to warn you that you may not be able to recover deleted files. I don't understand the "rights to do so" in the second sentence either. And the third sentence is indeed redundant/confusing.

We could change for 2.6.0, but it's possible that the message would then end up untranslated in the release.

@dragotin
Copy link
Contributor

How about this:

All files in the sync folder 'ownCloud' were deleted on the server.

Do you want to restore them from your local files or also remove locally?

[Restore]    [Remove]

@michaelstingl
Copy link
Contributor

@hodyroff @pmaier1 could you have a look?

@hodyroff
Copy link

I remember that this was carefully worded ;) Need to think about it ... at least folder seems twice in the first sentence. The challenge is that if you don't have write access there will be nothing restored, thats why its worded also for read-only users. Was there not a similar message which got cleaned up already?

@dragotin
Copy link
Contributor

Does this message also show if a share from another user was removed, and as a result the sync client does not longer see it? That might also influence the wording, because fi the user decides to restore the files, she will create the removed share locally in her space (not longer as a share obviously) what is a bit against the idea ...

@ckamm
Copy link
Contributor

ckamm commented Jul 17, 2019

The message shows exactly if it's determined that a sync action is performed on every single known file and at least one of them is a deletion.

So in the "share removed" scenario the message would only show if the user has no other files.

@TheOneRing
Copy link
Contributor

Another nice piece of information would be the account name/url...

@jnweiger
Copy link
Contributor Author

Dragotin suggested:

All files in the sync folder 'ownCloud' were deleted on the server.

Do you want to restore them from your local files or also remove locally?

[Restore]    [Remove]

"Restore" is much better than "keep". Yes! Why did I suggest Keep in the first place? :-)

I just spot now, that we use both delete and remove. I'd suggest to say delete everywhere. That has the nice side effekt to make the two choices more distinct.
Now, how about this:

All files in the sync folder 'ownCloud' of [email protected] were deleted on the server.

Do you want to restore them from your local files or also delete locally?

[Restore]    [Delete]

@TheOneRing
Copy link
Contributor

Doesn’t sound too bad.
In my test setup I have lots of sync folders so the original message doesn’t tell me anything

@dragotin
Copy link
Contributor

Another choice might be to disconnect the sync connection, ie. just leave the local files but do not sync the folder anymore at all.

@TheOneRing
Copy link
Contributor

Site note, when fixing this issue, we should also remove the QDialog::exec() call

@michaelstingl
Copy link
Contributor

What are the exact conditions when this message is shown? What should change with the VFS? Need more messages?

@michaelstingl michaelstingl added this to the 2.7.0 milestone Feb 24, 2020
@michaelstingl michaelstingl added the p3-medium Normal priority label Feb 24, 2020
@TheOneRing
Copy link
Contributor

As mentioned in #5931 no button should be pre selected.
Alternatively we could show "Are you sure you want to delete all data" dialogue after the first one

@michaelstingl michaelstingl modified the milestones: 2.7.0, Backlog Mar 22, 2023
TheOneRing added a commit that referenced this issue Apr 2, 2024
TheOneRing added a commit that referenced this issue Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants