Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Color managed photos are not displayed properly

Aperta
#1,216 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Riproduci il problema in Firefox o Chrome con la foto allegata ad ampio spazio colore, quindi inizia leggendo Viewer.vue e la posizione del log in files.js indicata. Confronta il rendering nel visualizzatore con la visualizzazione della stessa foto nel browser; il lavoro è completato quando le foto con gestione del colore vengono visualizzate correttamente nel visualizzatore senza il comportamento segnalato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

0. Needs triage bug

Color profiles are being ignored when displaying photos. From my understanding almost all browser support color management with photos so I would not think it would be much work to fix. I will attach a photo that can be used for testing that has a wide color space. At least in my browser it looks fine here but not in the Nextcloud viewer.

In this case it is actually a somewhat important issues as iPhone's nowadays shoot in the p3 color space. I checked with the photos auto-uploded from my phone and they are also being displayed incorrectly. In the case with the iPhone the effect is small, I only could tell when comparing them next to each other.

7f1812fe6d26f7f8e4063a10a77f0aa7c36aeaedf6bc4a56dd40a90a537a40f8
This photo has a very large color space
To Reproduce
Steps to reproduce the behavior:

  1. Upload this photo or another one with a large color space
  2. See how photo is displayed

Expected behavior
Photo is displayed properly

Screenshots

Screenshot from 2022-04-19 19-18-37

Desktop (please complete the following information):

  • OS: Linux
  • Browser Firefox, Chrome
  • Version Latest

Browser log

Don't think this issues in the log is at all related but here they are
Opening viewer for file /7f1812fe6d26f7f8e4063a10a77f0aa7c36aeaedf6bc4a56dd40a90a537a40f8.jpeg Viewer.vue:273
Uncaught TypeError: document.getElementById(...) is null
I files.js:20
EventListener.handleEvent* files.js:24
NextJS 2
files.js:20:10
I files.js:20
(Async: EventListener.handleEvent)
files.js:24
NextJS 2

Lingua principale
Nessun dato sulla lingua
Stelle
122
Fork
75
Merge medio
4g 14h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/viewer

Tutte le issue di nextcloud/viewer

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.