FR-EXP-10 — "All photographs" shows the album's count while an album is open #76

Closed
opened 2026-09-26 19:16:49 +00:00 by dtourolle · 1 comment
Owner

With an album selected, the sidebar's "All photographs" row shows the album's size instead of the library's.

Why

Seen while recording the 0.17.0 manual (docs/manual/media/albums.png): the "Exports" album holds 4 exports and is selected, and "All photographs" in the collections sidebar reads 4, although the demo library holds 70 photographs. The count beside "All photographs" is meant to be the whole library whatever is open, as it is when a collection is selected. It looks as if the album view's window count is written to the same property.

Acceptance

  • with an album selected, "All photographs" shows the library's total
  • the album row shows the album's own count
  • a test covers the count with a collection, an album and nothing selected
**With an album selected, the sidebar's "All photographs" row shows the album's size instead of the library's.** ## Why Seen while recording the 0.17.0 manual (docs/manual/media/albums.png): the "Exports" album holds 4 exports and is selected, and "All photographs" in the collections sidebar reads 4, although the demo library holds 70 photographs. The count beside "All photographs" is meant to be the whole library whatever is open, as it is when a collection is selected. It looks as if the album view's window count is written to the same property. ## Acceptance - [ ] with an album selected, "All photographs" shows the library's total - [ ] the album row shows the album's own count - [ ] a test covers the count with a collection, an album and nothing selected
dtourolle added the uisize:S labels 2026-09-26 19:16:49 +00:00
Author
Owner

Fixed in v0.18.0: 7a56d16 ("All photographs" counts the whole library whatever is scoped) and 94ea256 (the album export's SAF code is tagged FR-EXP-10 only, so FR-PLAT-AND-1 is honestly uncovered again). Checked on screen: with a one-photo album selected, the row reads the library's 70.

Fixed in v0.18.0: 7a56d16 ("All photographs" counts the whole library whatever is scoped) and 94ea256 (the album export's SAF code is tagged FR-EXP-10 only, so FR-PLAT-AND-1 is honestly uncovered again). Checked on screen: with a one-photo album selected, the row reads the library's 70.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dtourolle/DarkRoom#76