web icon indicating copy to clipboard operation
web copied to clipboard

[Preview app] Shows images that are not in the current file list

Open JammingBen opened this issue 2 years ago • 4 comments

Steps to reproduce

  1. Upload 3 images to your personal space
  2. Create a public link for one of them
  3. Go to the Shared via link page 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 avatar Apr 27 '23 06:04 JammingBen

@JammingBen Unable to replicate

jacob-nv avatar Oct 09 '23 14:10 jacob-nv

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.

dschmidt avatar Oct 09 '23 15:10 dschmidt

Yes, this is still an issue:

https://github.com/owncloud/web/assets/50302941/818c0c23-7dc0-48a8-a6da-fe4900e0e49f

JammingBen avatar Oct 09 '23 15:10 JammingBen

Ah, sorry, that's misunderstanding on my side.

jacob-nv avatar Oct 09 '23 15:10 jacob-nv

Solution for this is being described here: https://github.com/owncloud/web/pull/11893#discussion_r1839834883

JammingBen avatar Nov 14 '24 14:11 JammingBen