Bug 503510

Summary: New photos are not added to album
Product: [Applications] digikam Reporter: tlc.tony.cristiano
Component: Albums-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: windows folder showing 103 files
Album showing 90 photos
Collection settings

Description tlc.tony.cristiano 2025-04-29 09:00:00 UTC
The issue is that new photos are being added to the album.  The only items in the album are the original ones when created the album. I am using a MariaDB for storage and this working well. I use the refresh option on the album menu but still nothing new appears on screen. I have looked for the photos in the DB but they are not there.

Is there a remedy?
Comment 1 caulier.gilles 2025-04-29 09:12:33 UTC
Press F5 ?
Comment 2 Maik Qualmann 2025-04-29 10:38:38 UTC
Have you enabled the "Fast scan" suboption in the digiKam settings under Miscellaneous -> Behavior? If so, please disable it.

https://docs.digikam.org/en/setup_application/miscs_settings.html#scan-operations

Maik
Comment 3 tlc.tony.cristiano 2025-04-29 11:05:48 UTC
Created attachment 180769 [details]
windows folder showing 103 files
Comment 4 tlc.tony.cristiano 2025-04-29 11:06:51 UTC
Created attachment 180771 [details]
Album showing 90 photos
Comment 5 tlc.tony.cristiano 2025-04-29 11:07:41 UTC
Created attachment 180772 [details]
Collection settings
Comment 6 tlc.tony.cristiano 2025-04-29 11:11:15 UTC
(In reply to caulier.gilles from comment #1)
> Press F5 ?

same result after pressing F5
Comment 7 tlc.tony.cristiano 2025-04-29 11:12:13 UTC
(In reply to Maik Qualmann from comment #2)
> Have you enabled the "Fast scan" suboption in the digiKam settings under
> Miscellaneous -> Behavior? If so, please disable it.
> 
> https://docs.digikam.org/en/setup_application/miscs_settings.html#scan-
> operations
> 
> Maik
Comment 8 tlc.tony.cristiano 2025-04-29 11:13:37 UTC
(In reply to Maik Qualmann from comment #2)
> Have you enabled the "Fast scan" suboption in the digiKam settings under
> Miscellaneous -> Behavior? If so, please disable it.
> 
> https://docs.digikam.org/en/setup_application/miscs_settings.html#scan-
> operations
> 
> Maik

This options has always been disabled.
Comment 9 Maik Qualmann 2025-04-30 06:09:31 UTC
First, let's talk about your collection settings. While it's possible to add each folder individually as a collection, that's not how collections were intended.
Why not just add "C:\Users\Tony\Pictures"? That would include all subfolders.

Does digiKam mention hidden files in the status bar at the bottom of the folder where 103 files are supposed to be?

Is it possible that the missing files do not have the correct file extension? Please check if there is a space at the end of these files.

Maik
Comment 10 tlc.tony.cristiano 2025-04-30 13:42:44 UTC
(In reply to Maik Qualmann from comment #9)
> First, let's talk about your collection settings. While it's possible to add
> each folder individually as a collection, that's not how collections were
> intended.
> Why not just add "C:\Users\Tony\Pictures"? That would include all subfolders.
> 
> Does digiKam mention hidden files in the status bar at the bottom of the
> folder where 103 files are supposed to be?
> 
> Is it possible that the missing files do not have the correct file
> extension? Please check if there is a space at the end of these files.
> 
> Maik

Hi Maik,

Thanks again for your previous response and helpful suggestions. I wanted to provide a bit more detail based on your points:

1.  **Collection Settings:** Regarding adding "C:\Users\Tony\Pictures" as a single collection, unfortunately, that wouldn't be suitable for my workflow. That root directory contains numerous temporary and working folders used by various photo editing software, which I wouldn't want included in my main digiKam albums. I specifically add individual folders that contain my finished images.

2.  **Hidden Files:** In the specific folder I'm having trouble with ("HDR Merge"), I can confirm there are no hidden files. The folder currently contains 2 JPG files, 100 TIF files, and 1 empty subfolder.

3.  **The Core Issue:** The problem seems to be that digiKam is failing to recognise the *new* TIF files that have been added to this "HDR Merge" folder *since* it was initially added to digiKam. The original files that were in the folder when I first set it up appeared fine, but any TIF files added subsequently are not detected, even after refreshing the album/collection. As mentioned before, they don't appear in the database either.

Do you have any further ideas on why newly added photo files specifically within an already monitored folder might not be detected?

Thanks again for your continued assistance.

Best regards,

Tony
Comment 11 caulier.gilles 2025-06-25 14:47:03 UTC
Tony,

It useful to see the console trace while digiKam refresh the album contents where image are missing in icon-view. Follow instructions here :

https://www.digikam.org/contribute/#linux-host

Best

Gilles Caulier
Comment 12 caulier.gilles 2025-12-09 15:36:22 UTC
Tony,

Do you seen my last comment ?

Gilles Caulier