Folders: Slug truncation causes path collisions in albums #2478

Open
opened 2026-02-20 01:12:09 -05:00 by deekerman · 0 comments
Owner

Originally created by @s0ren99 on GitHub (Feb 2, 2026).

Originally assigned to: @s0ren99 on GitHub.

Before You Continue

  • This is a new, confirmed bug that has not yet been reported or documented

What Is Not Working as Documented?

PhotoPrism incorrectly merges multiple folders into one in the UI. Even after disabling all stacking options (Place & Time, Unique ID, Sequential Name) and performing a "Complete Rescan", only one folder is displayed. The title of the folder and the actual file paths shown in the UI are inconsistent (e.g., showing a title from Folder A but a file path from Folder B).

How Can We Reproduce It?

1. Have multiple folders with similar naming (e.g., `Set VOL.026`, `Set VOL.038`).
2. Folders contain images that have identical filenames (e.g., `0001.jpg`, `0002.jpg`).
3. Disable all stacking settings in Settings > Library.
4. Move folders out -> Cleanup -> Move folders back -> Complete Rescan.
5. Only one folder appears in the "Folders" view

What Behavior Do You Expect?

Each physical directory should be represented as a distinct folder in the "Folders" view when stacking is disabled, regardless of filename similarities.

What Could Be the Cause?

No response

Logs, Sample Files, or Screenshots

No response

Which Software Versions Do You Use?

- Build 251130-b3068414c
- MariaDB
- Linux

On What Device Is PhotoPrism Installed?


Do You Use a Reverse Proxy, Firewall, VPN, or CDN?

No response

Originally created by @s0ren99 on GitHub (Feb 2, 2026). Originally assigned to: @s0ren99 on GitHub. ### Before You Continue - [x] This is a new, confirmed bug that has not yet been reported or documented ### What Is Not Working as Documented? PhotoPrism incorrectly merges multiple folders into one in the UI. Even after disabling all stacking options (Place & Time, Unique ID, Sequential Name) and performing a "Complete Rescan", only one folder is displayed. The title of the folder and the actual file paths shown in the UI are inconsistent (e.g., showing a title from Folder A but a file path from Folder B). ### How Can We Reproduce It? ```markdown 1. Have multiple folders with similar naming (e.g., `Set VOL.026`, `Set VOL.038`). 2. Folders contain images that have identical filenames (e.g., `0001.jpg`, `0002.jpg`). 3. Disable all stacking settings in Settings > Library. 4. Move folders out -> Cleanup -> Move folders back -> Complete Rescan. 5. Only one folder appears in the "Folders" view ``` ### What Behavior Do You Expect? Each physical directory should be represented as a distinct folder in the "Folders" view when stacking is disabled, regardless of filename similarities. ### What Could Be the Cause? _No response_ ### Logs, Sample Files, or Screenshots _No response_ ### Which Software Versions Do You Use? ```markdown - Build 251130-b3068414c - MariaDB - Linux ``` ### On What Device Is PhotoPrism Installed? ```markdown ``` ### Do You Use a Reverse Proxy, Firewall, VPN, or CDN? _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#2478
No description provided.