Bug 465047 - importing files/folders silently skips 80%
Summary: importing files/folders silently skips 80%
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 7.9.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-30 15:23 UTC by Thijs
Modified: 2023-10-11 05:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thijs 2023-01-30 15:23:36 UTC
SUMMARY
import of folders skips 80% of the folders/files, with no message or alert


STEPS TO REPRODUCE
1.  import any folder with 100 subfolders
2. look at garbage results

OBSERVED RESULT
garbage

EXPECTED RESULT
files and folders
Comment 1 Maik Qualmann 2023-01-30 17:30:04 UTC
Have you waited long enough? The imported folders and files must first be recorded by the scanner in the background and saved in the database.

Maik
Comment 2 Maik Qualmann 2023-01-30 17:31:42 UTC
Without a GDB backtrace we can't help. How this is created is described here:

https://www.digikam.org/contribute/

Maik
Comment 3 Thijs 2023-01-30 18:40:59 UTC
```code block?
digikam.general: Action Thread run  1  new jobs
digikam.database: No itemShortInfo could be retrieved from the database for image "001"
digikam.iojob: Thread Finished
digikam.general: One job is done
digikam.general: Cancel Main Thread
```

in this example I have selected a folder, named 001, it contains 23 jpg files, not clear what happens here
Comment 4 Thijs 2023-01-30 18:45:25 UTC
edit button?

it seems that when I'm in the 'Add folder' window (add screenshot button?) and I open the folder I want to import it secretly selects the first file in that folder while I am in the 'folder selection' view, so when I press Choose it actually tries to process the file using the folder processor? I have activated the QT logging but I don't see a related log line
Comment 5 caulier.gilles 2023-05-03 03:54:45 UTC
Maik,

Do you understand exactly this report ? I'm lost...

Gilles
Comment 6 Maik Qualmann 2023-05-03 05:33:15 UTC
I don't understand Comment 4 either. Are you trying to select multiple folders in the file dialog?
I would close the bug, there was a bug when importing folders that the scanner was not started correctly after the import.

Maik
Comment 7 caulier.gilles 2023-05-03 08:04:10 UTC
Maik,

right if there is a duplicate entry, it's better to factorize.

Gilles
Comment 8 caulier.gilles 2023-10-11 05:34:08 UTC
Thijs,

What's about this file using current 8.2.0 AppImage Linux bundle ? It's
reproducible ?

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier