https://bugs.kde.org/show_bug.cgi?id=495372
Bug ID: 495372
Summary: After match-by-hash, browser view is not fully
consistent
Classification: Applications
Product: kphotoalbum
Version: 5.13.0
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Browser
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 175252
--> https://bugs.kde.org/attachment.cgi?id=175252&action=edit
Failure to access files after update-by-hash partial update
SUMMARY
After renaming image files, "refreshing" the database updates the names shown
in the browser, but the image paths are not updated. Also, operation "put on
top of stack" on those images fails, I can't tell if that's because of wrong
path or reveals other internal inconsistencies. Saving and restarting
kPhotoAlbum fixes the inconsistencies.
STEPS TO REPRODUCE
1. display the thumbnails of some images
2. (recalculate their hashes to make sure hashes are up-to-date)
3. rename the files in filesystem
4. refresh the kPhotoAlbum database
5. wait for the displayed names to be updated
6. try some operation that involves access to the files (recalculate hashes
again, display in full,...)
OBSERVED RESULT
kPhotoAlbum browser tries to open non-updated file paths, and fails.
EXPECTED RESULT
All the information about the files should be updated by the refresh operation,
in both database and browser.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Ubuntu 22.04.5 LTS
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
--
You are receiving this mail because:
You are watching all bug changes.