White screen after closing photo #3926

Closed
opened 2026-02-05 09:28:20 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @dronnikovigor on GitHub (Jul 19, 2024).

The bug

After closing photo you see a white screen for a while. It depends on computer, but it may be from 0.5 sec to 1-2 sec. That is a bit annoying, especially on slow PCs. Check step to reproduce.

The OS that Immich Server is running on

OMV 7

Version of Immich Server

v1.108.0

Version of Immich Mobile App

v1.109.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: '3.8'
name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    volumes:
      - library:/usr/src/app/upload
      - /etc/localtime:/etc/localtime:ro
      - ${PHOTOS_PATH}:/mnt/media/library:ro
      - ${VIDEOS_PATH}:/mnt/media/videos:ro
    env_file:
      - stack.env
    devices:
      - /dev/dri:/dev/dri
    environment:
      - TZ=Canada/Eastern
    ports:
      - 2283:3001
    depends_on:
      - redis
      - database
    restart: always
    
  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
    volumes:
      - model-cache:/cache
    env_file:
      - stack.env
    restart: always

  redis:
    container_name: immich_redis
    image: docker.io/redis:6.2-alpine@sha256:328fe6a5822256d065debb36617a8169dbfbd77b797c525288e465f56c1d392b
    healthcheck:
      test: redis-cli ping || exit 1
    restart: always
    volumes:
      - redis:/data

  database:
    container_name: immich_postgres
    image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
    environment:
      - POSTGRES_PASSWORD=${DB_PASSWORD}
      - POSTGRES_USER=${DB_USERNAME}
      - POSTGRES_DB=${DB_DATABASE_NAME}
      - POSTGRES_INITDB_ARGS=--data-checksums
    volumes:
      - postgres:/var/lib/postgresql/data
    healthcheck:
      test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT SUM(checksum_failures) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
      interval: 5m
      start_interval: 30s
      start_period: 5m
    command: ["postgres", "-c" ,"shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"]
    restart: always

  backup:
    container_name: immich_db_dumper
    image: prodrigestivill/postgres-backup-local:14
    env_file:
      - stack.env
    environment:
      - POSTGRES_HOST=database
      - POSTGRES_CLUSTER=TRUE
      - POSTGRES_USER=${DB_USERNAME}
      - POSTGRES_PASSWORD=${DB_PASSWORD}
      - POSTGRES_DB=${DB_DATABASE_NAME}
      - SCHEDULE=15 3 */3 * *
      - POSTGRES_EXTRA_OPTS=--clean --if-exists
      - BACKUP_DIR=/db_dumps
    volumes:
      - ${BACKUP_PATH}:/db_dumps
    depends_on:
      - database


volumes:
  model-cache:
  redis:
  library:
  postgres:

Your .env content

.

Reproduction steps

Steps to reproduce:
1. Open Immich
2. Scroll a lot (not using timeline), about 2-3 thousand photos
3. Open any photo
4. Close it
5. You will see a white screen for a while. It depends on computer, but it may be from 0.5 sec to 1-2 sec. That is a bit annoying, especially on slow PCs.

Relevant log output

No response

Additional information

No response

Originally created by @dronnikovigor on GitHub (Jul 19, 2024). ### The bug After closing photo you see a white screen for a while. It depends on computer, but it may be from 0.5 sec to 1-2 sec. That is a bit annoying, especially on slow PCs. Check step to reproduce. ### The OS that Immich Server is running on OMV 7 ### Version of Immich Server v1.108.0 ### Version of Immich Mobile App v1.109.0 ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML version: '3.8' name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - library:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro - ${PHOTOS_PATH}:/mnt/media/library:ro - ${VIDEOS_PATH}:/mnt/media/videos:ro env_file: - stack.env devices: - /dev/dri:/dev/dri environment: - TZ=Canada/Eastern ports: - 2283:3001 depends_on: - redis - database restart: always immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - model-cache:/cache env_file: - stack.env restart: always redis: container_name: immich_redis image: docker.io/redis:6.2-alpine@sha256:328fe6a5822256d065debb36617a8169dbfbd77b797c525288e465f56c1d392b healthcheck: test: redis-cli ping || exit 1 restart: always volumes: - redis:/data database: container_name: immich_postgres image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: - POSTGRES_PASSWORD=${DB_PASSWORD} - POSTGRES_USER=${DB_USERNAME} - POSTGRES_DB=${DB_DATABASE_NAME} - POSTGRES_INITDB_ARGS=--data-checksums volumes: - postgres:/var/lib/postgresql/data healthcheck: test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT SUM(checksum_failures) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1 interval: 5m start_interval: 30s start_period: 5m command: ["postgres", "-c" ,"shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"] restart: always backup: container_name: immich_db_dumper image: prodrigestivill/postgres-backup-local:14 env_file: - stack.env environment: - POSTGRES_HOST=database - POSTGRES_CLUSTER=TRUE - POSTGRES_USER=${DB_USERNAME} - POSTGRES_PASSWORD=${DB_PASSWORD} - POSTGRES_DB=${DB_DATABASE_NAME} - SCHEDULE=15 3 */3 * * - POSTGRES_EXTRA_OPTS=--clean --if-exists - BACKUP_DIR=/db_dumps volumes: - ${BACKUP_PATH}:/db_dumps depends_on: - database volumes: model-cache: redis: library: postgres: ``` ### Your .env content ```Shell . ``` ### Reproduction steps ```bash Steps to reproduce: 1. Open Immich 2. Scroll a lot (not using timeline), about 2-3 thousand photos 3. Open any photo 4. Close it 5. You will see a white screen for a while. It depends on computer, but it may be from 0.5 sec to 1-2 sec. That is a bit annoying, especially on slow PCs. ``` ### Relevant log output _No response_ ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Jul 20, 2024):

This is just the gallery section that is white, the menus etc still display right?

#10646 will bring many improvements to the timeline loading which will hopefully help with this.

@bo0tzz commented on GitHub (Jul 20, 2024): This is just the gallery section that is white, the menus etc still display right? #10646 will bring many improvements to the timeline loading which will hopefully help with this.
Author
Owner

@dronnikovigor commented on GitHub (Jul 20, 2024):

Only gallery section

@dronnikovigor commented on GitHub (Jul 20, 2024): Only gallery section
Author
Owner

@dronnikovigor commented on GitHub (Sep 5, 2024):

@bo0tzz I've installed new release v1.113.1. It's definetely better now.
But now there is an issue:
e.g. I have 3 rows of photos on screen.
I open any photo from second row or third row.
Then I close photo and timeline is scrolled - selected row becomes first one.

@dronnikovigor commented on GitHub (Sep 5, 2024): @bo0tzz I've installed new release v1.113.1. It's definetely better now. But now there is an issue: e.g. I have 3 rows of photos on screen. I open any photo from second row or third row. Then I close photo and timeline is scrolled - selected row becomes first one.
Author
Owner

@bo0tzz commented on GitHub (Sep 6, 2024):

That's a known issue yes, we'll need some more improvement to the timeline mechanism to fix that.

@bo0tzz commented on GitHub (Sep 6, 2024): That's a known issue yes, we'll need some more improvement to the timeline mechanism to fix that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#3926