Bug 336544 - KPA can be crashed by renaming an image
Summary: KPA can be crashed by renaming an image
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: Thumbnail Viewer (show other bugs)
Version: GIT master
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-21 12:32 UTC by Tobias Leupold
Modified: 2020-04-29 21:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.