privacy.resistFingerprinting=true degrades photo sphere viewer #2769

Open
opened 2026-02-05 07:01:24 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @hrdl-github on GitHub (Apr 6, 2024).

The bug

Running librewolf or firefox with privacy.resistFingerprinting=1 set via about:config or about:preferences reduces the screen resolution used by the photo sphere viewer, secerely impacting image quality.

The OS that Immich Server is running on

Arch Linux

Version of Immich Server

v1.101.0

Version of Immich Mobile App

n/a

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

n/a

Your .env content

n/a

Reproduction steps

1. Configure librewolf or firefox to enable `privacy.resistFingerprinting`
2. View any photo sphere

Additional information

No response

Originally created by @hrdl-github on GitHub (Apr 6, 2024). ### The bug Running librewolf or firefox with `privacy.resistFingerprinting=1` set via `about:config` or `about:preferences` reduces the screen resolution used by the photo sphere viewer, secerely impacting image quality. ### The OS that Immich Server is running on Arch Linux ### Version of Immich Server v1.101.0 ### Version of Immich Mobile App n/a ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML n/a ``` ### Your .env content ```Shell n/a ``` ### Reproduction steps ```bash 1. Configure librewolf or firefox to enable `privacy.resistFingerprinting` 2. View any photo sphere ``` ### Additional information _No response_
OVERLORD added the 🖥️web label 2026-02-05 07:01:24 +03:00
Author
Owner

@mertalev commented on GitHub (Apr 6, 2024):

Have you tested with this setting on and off?

@mertalev commented on GitHub (Apr 6, 2024): Have you tested with this setting on and off?
Author
Owner

@hrdl-github commented on GitHub (Apr 6, 2024):

I have. Disabling the setting in librewolf (which enables it by default) restores the image quality while enabling the setting in firefox degrades the quality. I tested this using firefox and librewolf 124 on GNU/Linux.

@hrdl-github commented on GitHub (Apr 6, 2024): I have. Disabling the setting in librewolf (which enables it by default) restores the image quality while enabling the setting in firefox degrades the quality. I tested this using firefox and librewolf 124 on GNU/Linux.
Author
Owner

@mertalev commented on GitHub (Apr 6, 2024):

Fingerprinting includes things like GPU model, right? Just a guess, but sending fake data for that might be messing with the WebGL library used in photo-sphere-viewer.

@mertalev commented on GitHub (Apr 6, 2024): Fingerprinting includes things like GPU model, right? Just a guess, but sending fake data for that might be messing with the WebGL library used in photo-sphere-viewer.
Author
Owner

@hrdl-github commented on GitHub (Apr 8, 2024):

In this case it's the texture and render buffer sizes that are being limited: https://github.com/mistic100/Photo-Sphere-Viewer/issues/1281#issuecomment-2041942770 and https://github.com/mistic100/Photo-Sphere-Viewer/issues/1281#issuecomment-2042047994 . The first comment also suggests a viable workaround, which requires an official plugin as well as splitting the original file: https://photo-sphere-viewer.js.org/guide/adapters/equirectangular-tiles.html#preparing-the-panorama

@hrdl-github commented on GitHub (Apr 8, 2024): In this case it's the texture and render buffer sizes that are being limited: https://github.com/mistic100/Photo-Sphere-Viewer/issues/1281#issuecomment-2041942770 and https://github.com/mistic100/Photo-Sphere-Viewer/issues/1281#issuecomment-2042047994 . The first comment also suggests a viable workaround, which requires an official plugin as well as splitting the original file: https://photo-sphere-viewer.js.org/guide/adapters/equirectangular-tiles.html#preparing-the-panorama
Author
Owner

@mertalev commented on GitHub (Apr 8, 2024):

Hmm, splitting images into tiles is a bit of a pain. We'd need to make a new table to store the paths to these tiles. But it sounds like it'd be a good change in general so it might be worth it.

@mertalev commented on GitHub (Apr 8, 2024): Hmm, splitting images into tiles is a bit of a pain. We'd need to make a new table to store the paths to these tiles. But it sounds like it'd be a good change in general so it might be worth it.
Author
Owner

@hrdl-github commented on GitHub (Apr 10, 2024):

At least initial loading is much faster, which is a nice side effect. A downside is that the textures are not preloaded, causing the upscaled base image (e.g. 2048x1024) to be visible for a very brief time the first time a texture is loaded.

@hrdl-github commented on GitHub (Apr 10, 2024): At least initial loading is much faster, which is a nice side effect. A downside is that the textures are not preloaded, causing the upscaled base image (e.g. 2048x1024) to be visible for a very brief time the first time a texture is loaded.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2769