owncloud / android

:phone: The ownCloud Android App
GNU General Public License v2.0
3.77k stars 3.05k forks source link

[BUG] Lack of message when locked image file is removed from preview #4300

Open jesmrec opened 5 months ago

jesmrec commented 5 months ago

This one comes from https://github.com/owncloud/android/pull/4285#issuecomment-1908115473

Steps to reproduce

  1. Lock a picture file
  2. Open the picture in the app to preview it
  3. Remove the picture from the preview

Actual behaviour

Nothing happens

Expected behaviour

An snackbar clarifying that the file could not be removed because it's locked

In the following video, the file land1.jpg is locked. Removing from preview does not give feedback, removing from file list gives feedback:

https://github.com/owncloud/android/assets/14894746/ea5542be-d3be-4857-89fa-f8956fdd09d1

How to lock a file: