https://bugs.kde.org/show_bug.cgi?id=414344

--- Comment #5 from John Dickson <jmdick...@gmail.com> ---
The situation is the same with 7.0.0. Here is what I observe with the 7.0.0
appimage:

If two files in the same subdirectory have names that only differ by the case
of one or more characters, only one is displayed in the album. The image
displayed switches each time you restart digikam.

If two subdirectories inside of a directory have names that only differ by the
case of one or more characters, only one album is displayed. The previews in
the album are displayed with the broken image, and attempting to view the
images shows the "Failed to load image" message. Refreshing the album corrects
this problem.


Steps to reproduce:
convert -size 50x50 plasma: /home/john/test_collection/file1.jpg
convert -size 50x50 plasma: /home/john/test_collection/File1.jpg
mkdir /home/john/test_collection/album1
mkdir /home/john/test_collection/Album1
convert -size 50x50 plasma:
/home/john/test_collection/album1/file_in_album1.jpg
convert -size 50x50 plasma:
/home/john/test_collection/Album1/file_in_Album1.jpg


Relevant log output:
--- On starting digikam ---
...
::NewItemsFinder::slotStart: scan mode: ScanDeferredFiles
Digikam::NewItemsFinder::slotTotalFilesToScan: total scan value :  11642
Digikam::DImg::load: "/home/john/test_collection/File1.jpg" : "JPEG" file
identified
Digikam::ItemScanner::prepareAddImage: Adding new item
"/home/john/test_collection/File1.jpg"
Digikam::ItemScanner::commit: Scanning took 19 ms
Digikam::ItemScanner::~ItemScanner: Finishing took 27 ms
Digikam::DImg::load: "/home/john/test_collection/file1.jpg" : "JPEG" file
identified
Digikam::ItemScanner::prepareAddImage: Adding new item
"/home/john/test_collection/file1.jpg"
Digikam::ItemScanner::commit: Scanning took 4 ms
Digikam::ThumbnailCreator::loadImagePreview: Trying to get thumbnail with Exiv2
for "/home/john/test_collection/File1.jpg"
Digikam::ThumbnailCreator::loadImagePreview: Trying to get thumbnail with DImg
preview for "/home/john/test_collection/File1.jpg"
Digikam::DImg::load: "/home/john/test_collection/File1.jpg" : "JPEG" file
identified
Digikam::ItemScanner::~ItemScanner: Finishing took 8 ms
...
Digikam::DImg::load: "/home/john/test_collection/Album1/file_in_Album1.jpg" :
"JPEG" file identified
Digikam::ItemScanner::prepareAddImage: Adding new item
"/home/john/test_collection/Album1/file_in_Album1.jpg"
Digikam::ItemScanner::commit: Scanning took 11 ms
Digikam::ItemScanner::~ItemScanner: Finishing took 8 ms
Digikam::CollectionScanner::itemsWereRemoved: Removed items: (24048) related
items: ()
Digikam::ThumbnailCreator::loadImagePreview: Trying to get thumbnail with Exiv2
for "/home/john/test_collection/Album1/file_in_Album1.jpg"
Digikam::ThumbnailCreator::loadImagePreview: Trying to get thumbnail with DImg
preview for "/home/john/test_collection/Album1/file_in_Album1.jpg"
Digikam::DImg::load: "/home/john/test_collection/album1/file_in_album1.jpg" :
"JPEG" file identified
Digikam::ItemScanner::prepareAddImage: Adding new item
"/home/john/test_collection/album1/file_in_album1.jpg"
Digikam::ItemScanner::commit: Scanning took 8 ms
Digikam::DImg::load: "/home/john/test_collection/Album1/file_in_Album1.jpg" :
"JPEG" file identified
Digikam::ItemScanner::~ItemScanner: Finishing took 8 ms
Digikam::CollectionScanner::itemsWereRemoved: Removed items: (24064) related
items: ()
Digikam::ThumbnailCreator::load: Thumbnail is null for 
"/home/john/test_collection/Album1/file_in_album1.jpg
...

--- On selecting Album 1 ---
Digikam::PreviewLoadingTask::execute: Try to get preview from
"/home/john/test_collection/Album1/file_in_album1.jpg"
Digikam::PreviewLoadingTask::execute: Preview quality:  0
Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot load metadata
from file /home/john/test_collection/Album1/file_in_album1.jpg  (Error # 9 : 
/home/john/test_collection/Album1/file_in_album1.jpg: Failed to open the data
source: No such file or directory (errno = 2)
Digikam::PreviewLoadingTask::loadImagePreview: Try to load DImg preview from:
"/home/john/test_collection/Album1/file_in_album1.jpg"
Digikam::DImg::load: File
"/home/john/test_collection/Album1/file_in_album1.jpg" does not exist
Digikam::DImg::load: File
"/home/john/test_collection/Album1/file_in_album1.jpg" does not exist
Digikam::PreviewLoadingTask::execute: Cannot extract preview for
"/home/john/test_collection/Album1/file_in_album1.jpg"
Digikam::StackedView::setViewMode: Stacked View Mode :  1
Digikam::ThumbnailCreator::load: Thumbnail is null for 
"/home/john/test_collection/Album1/file_in_album1.jpg"
Digikam::StackedView::setViewMode: Stacked View Mode :  0
...

--- On refreshing Album 1 ---
Digikam::MaintenanceThread::generateThumbs: Creating a thumbnails task for
generating thumbnails
Digikam::MaintenanceThread::generateThumbs: Creating a thumbnails task for
generating thumbnails
Digikam::MaintenanceThread::generateThumbs: Creating a thumbnails task for
generating thumbnails
Digikam::MaintenanceThread::generateThumbs: Creating a thumbnails task for
generating thumbnails
Digikam::NewItemsFinder::slotStart: scan mode: ScheduleCollectionScan :: 
("/home/john/test_collection/Album1/")
Digikam::ActionThreadBase::run: Action Thread run  4  new jobs
Digikam::ActionThreadBase::slotJobFinished: One job is done
Digikam::ActionThreadBase::slotJobFinished: One job is done
Digikam::ActionThreadBase::slotJobFinished: One job is done
Digikam::ThumbnailCreator::load: Thumbnail is null for 
"/home/john/test_collection/Album1/file_in_album1.jpg"
Digikam::ThumbnailCreator::load: Thumbnail is null for 
"/home/john/test_collection/Album1/file_in_album1.jpg"
Digikam::ActionThreadBase::slotJobFinished: One job is done
Digikam::MaintenanceThread::slotThreadFinished: List of Pending Jobs is empty
Digikam::adjustedEnvironmentForAppImage: Adjusting environment variables for
AppImage bundle
Digikam::DNotificationWrapper: Event is dispatched through a passive pop-up
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::ActionThreadBase::cancel: Cancel Main Thread
Digikam::DImg::load: "/home/john/test_collection/Album1/file_in_Album1.jpg" :
"JPEG" file identified
Digikam::ItemScanner::prepareAddImage: Adding new item
"/home/john/test_collection/Album1/file_in_Album1.jpg"
Digikam::ItemScanner::commit: Scanning took 4 ms
Digikam::ItemScanner::~ItemScanner: Finishing took 10 ms
Digikam::CollectionScanner::itemsWereRemoved: Removed items: (24072) related
items: ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to