Bug 486418 - Only part of the selected pictures are imported
Summary: Only part of the selected pictures are imported
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 8.3.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-01 21:20 UTC by niccolo.castel
Modified: 2024-05-03 11:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description niccolo.castel 2024-05-01 21:20:11 UTC
SUMMARY
When importing pictures from a hard drive (Import>Add Images), all pictures are shown correctly in the import dialog, but only part of the selected ones are actually copied and imported.

STEPS TO REPRODUCE
1. Import images using Import>Add Images
2. Select all images in a folder
3. Click on Download Selected

OBSERVED RESULT
Only part of the selection is imported

EXPECTED RESULT
The selected pictures are copied and imported

SOFTWARE/OS VERSIONS
Linux: Ubuntu 23.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
If the steps are repeated, some of the pictures already imported are deleted and some are imported duplicated.
Comment 1 Maik Qualmann 2024-05-02 04:26:35 UTC
Which digiKam version are you using exactly? The Ubuntu version is a Snap package. Snap packages use a sandbox and restrict digiKam to the local home directory.

Maik
Comment 2 niccolo.castel 2024-05-02 06:56:48 UTC
(In reply to Maik Qualmann from comment #1)
> Which digiKam version are you using exactly? The Ubuntu version is a Snap
> package. Snap packages use a sandbox and restrict digiKam to the local home
> directory.
> 
> Maik

I'm using the AppImage downloaded from digiKam website
Comment 3 Maik Qualmann 2024-05-02 07:56:45 UTC
Please look in your target folder with a file manager that you selected when downloading with the import tool. Are there any files here with the "digikamtempfile" part in the name?

Maik
Comment 4 niccolo.castel 2024-05-02 21:03:15 UTC
(In reply to Maik Qualmann from comment #3)
> Please look in your target folder with a file manager that you selected when
> downloading with the import tool. Are there any files here with the
> "digikamtempfile" part in the name?
> 
> Maik

No, there aren't.
Comment 5 Maik Qualmann 2024-05-03 06:35:10 UTC
Git commit d5cd275753a13eae8606ac51e01d58168f3efee0 by Maik Qualmann.
Committed on 03/05/2024 at 06:33.
Pushed by mqualmann into branch 'master'.

use selected cam item infos directly from the model
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +5    -9    core/utilities/import/main/importui.cpp

https://invent.kde.org/graphics/digikam/-/commit/d5cd275753a13eae8606ac51e01d58168f3efee0
Comment 6 Maik Qualmann 2024-05-03 11:02:36 UTC
Another note: In the Import Tool, a history view can be activated (View menu). This appears under the icon view. Errors during downloading are also listed here if files cannot be copied. If you are still having problems, please activate this history view and see if any files have been skipped.

Maik