server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Opening an image file shows the wrong file

Open viktorix opened this issue 1 year ago • 1 comments

⚠️ This issue respects the following points: ⚠️

Bug description

This is limited to image files. When I try to open an image file to view it, it will load the wrong file or sometimes even show parts of 2 files. This behavior also affects Photos and Talk image previews.

This is happening on c.nc.c. Started after v30 upgrade.

Quick GIF showing 2 images being opened and 2 wrong images shown. Image

Steps to reproduce

  1. Try to open/preview an image file (JPG, PNG, etc.).
  2. When opened, you should see the wrong image from what you opened.

Expected behavior

Opening an image file should show the correct image file.

Nextcloud Server version

30

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 28 to 29)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • [ ] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

viktorix avatar Oct 03 '24 13:10 viktorix

Clear your browser cache and try again.

solracsf avatar Oct 03 '24 15:10 solracsf

I tried a clean install (30.0.1) , but images other than the target image are loaded at the same time. I have the same problem with movies as well as images.

Image Image Image Image

miyakejun avatar Oct 29 '24 23:10 miyakejun

@viktorix can you still reproduce the issue?

@miyakejun I still can't reproduce the issue. My first guess would be a conflicting app or plugin that breaks the css 🤔 Can you right click the image, click inspect; search the parent div viewer__content and screenshot the entire devtools like this Image

skjnldsv avatar Oct 30 '24 07:10 skjnldsv

I'm really sorry. After reloading (Ctrl+Shift+R) as mentioned in the previous comment, it is now displayed correctly.

miyakejun avatar Oct 30 '24 07:10 miyakejun

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

nextcloud-command avatar Dec 01 '24 00:12 nextcloud-command

Cannot reproduce anymore. The issue is a cache miss on some browsers, please force refresh if you experience this 🤷

skjnldsv avatar Dec 03 '24 07:12 skjnldsv