[FEATURE] Handle asset selection in search result page #716

Closed
opened 2026-02-04 22:06:58 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Rydberg95 on GitHub (Feb 26, 2023).

The bug

Noticed a small bug when using the Android app. When I've entered a search word, and therefore is in the "search mode", there are buttons for selecting all the photos for a certain day (see screenshot). However, no photos are selected when pressing that button.

Furthermore, when in "search mode" photos are not individually selectable when long pressing. This might be the reason why above mentioned issue exists..?

signal-2023-02-26-192152_002

The OS that Immich Server is running on

Arch Linux (through Docker Compose)

Version of Immich Server

v1.49

Version of Immich Mobile App

v1.49.0 build.72

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

version: "3.8"

services:
  immich-server:
    container_name: immich_server
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-server.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - stack.env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: altran1502/immich-server:release
    entrypoint: [ "/bin/sh", "./start-microservices.sh" ]
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
    env_file:
      - stack.env
    environment:
      - NODE_ENV=production
    depends_on:
      - redis
      - database
    restart: always

  immich-machine-learning:
    container_name: immich_machine_learning
    image: altran1502/immich-machine-learning:release
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - model-cache:/cache
    env_file:
      - stack.env
    environment:
      - NODE_ENV=production
    restart: always

  immich-web:
    container_name: immich_web
    image: altran1502/immich-web:release
    entrypoint: [ "/bin/sh", "./entrypoint.sh" ]
    env_file:
      - stack.env
    restart: always

  redis:
    container_name: immich_redis
    image: redis:6.2
    restart: always

  database:
    container_name: immich_postgres
    image: postgres:14
    env_file:
      - stack.env
    environment:
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_DB: ${DB_DATABASE_NAME}
      PG_DATA: /var/lib/postgresql/data
    volumes:
      - pgdata:/var/lib/postgresql/data
    restart: always

  immich-proxy:
    container_name: immich_proxy
    image: altran1502/immich-proxy:release
    environment:
      # Make sure these values get passed through from the env file
      - IMMICH_SERVER_URL
      - IMMICH_WEB_URL
    ports:
      - 2283:8080
    logging:
      driver: none
    depends_on:
      - immich-server
    restart: always

volumes:
  pgdata:
  model-cache:

Your .env content

DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=***********
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
UPLOAD_LOCATION=/run/media/nuker/SeagatePort/immich
PUBLIC_LOGIN_PAGE_MESSAGE=Hello Immich!
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

Reproduction steps

1. Open the app
2. Enter a search query
3. Click the check mark for selecting all photos for a day.
4. Nothing happens, but expected all photos for that day to be selected.

Additional information

Only tested on Android.

Originally created by @Rydberg95 on GitHub (Feb 26, 2023). ### The bug Noticed a small bug when using the Android app. When I've entered a search word, and therefore is in the "search mode", there are buttons for selecting all the photos for a certain day (see screenshot). However, no photos are selected when pressing that button. Furthermore, when in "search mode" photos are not individually selectable when long pressing. This might be the reason why above mentioned issue exists..? ![signal-2023-02-26-192152_002](https://user-images.githubusercontent.com/24879708/221429338-a7cd54bf-170a-4c99-81bd-be8e264edc20.png) ### The OS that Immich Server is running on Arch Linux (through Docker Compose) ### Version of Immich Server v1.49 ### Version of Immich Mobile App v1.49.0 build.72 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML version: "3.8" services: immich-server: container_name: immich_server image: altran1502/immich-server:release entrypoint: [ "/bin/sh", "./start-server.sh" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - stack.env environment: - NODE_ENV=production depends_on: - redis - database restart: always immich-microservices: container_name: immich_microservices image: altran1502/immich-server:release entrypoint: [ "/bin/sh", "./start-microservices.sh" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload env_file: - stack.env environment: - NODE_ENV=production depends_on: - redis - database restart: always immich-machine-learning: container_name: immich_machine_learning image: altran1502/immich-machine-learning:release volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - model-cache:/cache env_file: - stack.env environment: - NODE_ENV=production restart: always immich-web: container_name: immich_web image: altran1502/immich-web:release entrypoint: [ "/bin/sh", "./entrypoint.sh" ] env_file: - stack.env restart: always redis: container_name: immich_redis image: redis:6.2 restart: always database: container_name: immich_postgres image: postgres:14 env_file: - stack.env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} PG_DATA: /var/lib/postgresql/data volumes: - pgdata:/var/lib/postgresql/data restart: always immich-proxy: container_name: immich_proxy image: altran1502/immich-proxy:release environment: # Make sure these values get passed through from the env file - IMMICH_SERVER_URL - IMMICH_WEB_URL ports: - 2283:8080 logging: driver: none depends_on: - immich-server restart: always volumes: pgdata: model-cache: ``` ### Your .env content ```Shell DB_HOSTNAME=immich_postgres DB_USERNAME=postgres DB_PASSWORD=*********** DB_DATABASE_NAME=immich REDIS_HOSTNAME=immich_redis UPLOAD_LOCATION=/run/media/nuker/SeagatePort/immich PUBLIC_LOGIN_PAGE_MESSAGE=Hello Immich! IMMICH_WEB_URL=http://immich-web:3000 IMMICH_SERVER_URL=http://immich-server:3001 IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003 ``` ### Reproduction steps ```bash 1. Open the app 2. Enter a search query 3. Click the check mark for selecting all photos for a day. 4. Nothing happens, but expected all photos for that day to be selected. ``` ### Additional information Only tested on Android.
OVERLORD added the 📱mobile label 2026-02-04 22:06:58 +03:00
Author
Owner

@alextran1502 commented on GitHub (Feb 26, 2023):

Yeah, this is a known/not yet worked-on feature. We are waiting on a few more things before revamping the whole search mechanism on both the web and mobile

@alextran1502 commented on GitHub (Feb 26, 2023): Yeah, this is a known/not yet worked-on feature. We are waiting on a few more things before revamping the whole search mechanism on both the web and mobile
Author
Owner

@Zonmonbon commented on GitHub (Mar 21, 2024):

Is there an idea of where this feature is at? Am I missing something / is there a workaround to select multiples in search results?

@Zonmonbon commented on GitHub (Mar 21, 2024): Is there an idea of where this feature is at? Am I missing something / is there a workaround to select multiples in search results?
Author
Owner

@patienttruth commented on GitHub (May 10, 2024):

I'm able to select multiple photos by long pressing and then tapping on additional photos. Also the "whole day" check box worked me when I checked.

What would be an awesome additional feature is the drag to multi select that is present in the main "photos" tab.

@patienttruth commented on GitHub (May 10, 2024): I'm able to select multiple photos by long pressing and then tapping on additional photos. Also the "whole day" check box worked me when I checked. What would be an awesome additional feature is the drag to multi select that is present in the main "photos" tab.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#716