Skip to content

People: Entering names becomes slow with many faces tagged #3151

Description

@sporto

1. What is not working as documented?

I scanned my photo library and ended up with about 400 faces to tag.
I noted that the face tagging UI gets very sluggish sometimes. i.e. typing a letter doesn't show anything in the page for a few seconds. This seems to happen only when editing a name already added.

2. How can we reproduce it?

  • Import lots of faces
  • Go to People > New
  • Tag one person and press enter
  • Try to edit that same person name
  • The edits take a long time to reflect on the page

3. What behavior do you expect?

For inputs to reflect immediatelly on the page while typing

4. What could be the cause of your problem?

Maybe the rendering framework not being able to keep up with the input changes and the amount of faces to display

5. Can you provide us with example files for testing, error logs, or screenshots?

screencast.2023-01-30.20-07-17.mp4

It is not super obvious in the recording, but I type backspace several times and don't see a change for several seconds. Then the change appears suddenly.

6. Which software versions do you use?

(a) PhotoPrism Architecture & Build Number:
Intel
Build 221118-e58fee0fb

(b) Database Type & Version: MariaDB

(c) Operating System Types & Versions: Linux PopOS 22.04

(d) Browser Types & Versions: Firefox 108

7. On what kind of device is PhotoPrism installed?

(a) Device / Processor Type: Intel Nuc i5

(b) Physical Memory & Swap Space in GB: 16GB

(c) Storage Type: HDD 240GB.

8. Do you use a Reverse Proxy, Firewall, VPN, or CDN?

No

Metadata

Metadata

Assignees

Labels

performancePerformance OptimizationreleasedAvailable in a stable releaseuxImpacts User Experience

Type

No type

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions