Skip to content

Conversation

@FawenYo
Copy link
Contributor

@FawenYo FawenYo commented Oct 16, 2025

Description

This is a follow-up PR to #21877. The goal is to use the same approach to fix an issue where the file names of some assets in the photo bottom sheet and backup details pages are displayed in UUID format instead of the correct file name.

Fixes #20630

How Has This Been Tested?

I've tried to compile the app and installed it on my iPhone, and all photos display the correct name now

Before After
Image Image

Screenshots (if appropriate)

Image

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR.
  • I have confirmed that any new dependencies are strictly necessary.
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code
  • All code in src/services/ uses repositories implementations for database calls, filesystem operations, etc.
  • All code in src/repositories/ is pretty basic/simple and does not have any immich specific logic (that belongs in src/services/)

Please describe to which degree, if any, an LLM was used in creating this pull request.

mobile/lib/pages/backup/drift_backup_asset_detail.page.dart was manually written, and mobile/lib/presentation/widgets/asset_viewer/bottom_sheet.widget.dart was processed by an LLM following the same modification approach. I believe the changes made are reasonable.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2025

Label error. Requires exactly 1 of: changelog:.*. Found: 📱mobile. A maintainer will add the required label.

@FawenYo FawenYo force-pushed the fix/fetch-origin-name-more-fixes branch from 837a0f7 to a20275a Compare October 16, 2025 09:25
@FawenYo FawenYo force-pushed the fix/fetch-origin-name-more-fixes branch from a20275a to 51836ba Compare October 16, 2025 09:31
@alextran1502
Copy link
Member

Are these photos from Shared Albums that are shared with you?

@FawenYo
Copy link
Contributor Author

FawenYo commented Oct 16, 2025

Hi @alextran1502 , yes!
During my testing, I observed that those assets with incorrect file names were shared with me via the iCloud Shared Photo Library.

@alextran1502 alextran1502 merged commit d626f86 into immich-app:fix/fetch-origin-name Oct 17, 2025
1 of 2 checks passed
alextran1502 pushed a commit that referenced this pull request Oct 27, 2025
* fix: fetch origin name before upload

* fix: Show correct photo name in buttom sheet and backup details page (#22978)

* add tests

---------

Co-authored-by: shenlong-tanwen <[email protected]>
Co-authored-by: FawenYo <[email protected]>
bwees pushed a commit to exelix11/immich that referenced this pull request Nov 7, 2025
* fix: fetch origin name before upload

* fix: Show correct photo name in buttom sheet and backup details page (immich-app#22978)

* add tests

---------

Co-authored-by: shenlong-tanwen <[email protected]>
Co-authored-by: FawenYo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants