Bug 336544

Summary: KPA can be crashed by renaming an image
Product: [Applications] kphotoalbum Reporter: Tobias Leupold <tl>
Component: Thumbnail ViewerAssignee: KPhotoAlbum Bugs <kphotoalbum-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: johannes
Priority: NOR    
Version First Reported In: GIT master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.7
Sentry Crash Report:

Description Tobias Leupold 2014-06-21 12:32:19 UTC
Here's how to reproduce the crash:

* Open "Show Thumbnails"
* Change a file's name to something else via shell etc.
* Do "Maintainance" --> "Rescan for Images and Videos" (the thumbnail for the moved file disappears)
* Try to open the image in the annotation dialog or viewer --> KPA crashes

If one does the very same without "Show Thumbnails" being opened, there's no problem.

Reproducible: Always
Comment 1 Johannes Zarl-Zierl 2014-06-25 20:45:13 UTC
One important thing to note: while renaming the file, the Viewer should be open. Otherwise I can't reproduce the crash.
Comment 2 Johannes Zarl-Zierl 2020-04-29 21:09:22 UTC
I believe this issue was fixed by d23e928fd7cedc4d039480d69c88f0e92cb1f48a.