[Preview app] Shows images that are not in the current file list
Steps to reproduce
- Upload 3 images to your personal space
- Create a public link for one of them
- Go to the
Shared via linkpage and open the image with the preview app
Expected behaviour
There should only be this one image.
Actual behaviour
The app lets you switch between all 3 images form your personal space. The same goes for the Shared with others and the Search view.
@JammingBen Unable to replicate
I'm rather sure it should be still an issue.
It was one of the reasons the concept of folder loaders were introduced so the context for images could always be retrieved in especially the files app (and then we never got round to push it forward).
You basically need to find a place were an image is shown not from it's original location but from a "virtual" place like a share, search or maybe public link. Then reload the page so the context needs to be loaded and that should trigger the faulty behavior.
Yes, this is still an issue:
https://github.com/owncloud/web/assets/50302941/818c0c23-7dc0-48a8-a6da-fe4900e0e49f
Ah, sorry, that's misunderstanding on my side.
Solution for this is being described here: https://github.com/owncloud/web/pull/11893#discussion_r1839834883