nextcloud / nextcloud/viewer

RAW photos are not displayed with infinite spinner

Open
#1,450 19 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3. to review bug
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

Describe the bug
When opening a RAW photo from "Files" menu there's an infinite spinner instead of preview.
When navigating back/forward and back the photo preview loads fine

Camera raw previews app is installed and thumbnails appear fine.

Tested with NEF files, for example:
https://github.com/ariselseng/camerarawpreviews/files/9942647/infrared.nef.zip

There's no problem with JPGs, they can be opened directly

To Reproduce
Steps to reproduce the behavior:

  1. Go to Files -> Raw photo location
  2. Click on a photo thumbnail
  3. See infinite spinner

Expected behavior
Photo preview opens

Screenshots
image
image

Desktop (please complete the following information):

  • OS: MacOS 12.6
  • Browser chrome
  • Version 107.0.5304.87

Additional context
This issue is also reported in the camerarawpreviews repo:
https://github.com/ariselseng/camerarawpreviews/issues/86

But it doesn't seem to be a camerarawpreviews problem because with back-forward navigation the preview does appear

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the Files menu path in the viewer and reproduce the infinite spinner with the linked NEF example in Chrome. Compare opening the RAW photo directly with navigating back and forward, and check the related camerarawpreviews issue for context. Done means the RAW preview opens directly without requiring navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.