Summary: | KPhotoAlbum crashes when switching to Image after resizing Viewer window while viewing Video | ||
---|---|---|---|
Product: | [Applications] kphotoalbum | Reporter: | Victor Lobo <victor.ip.lobo> |
Component: | Viewer | Assignee: | KPhotoAlbum Bugs <kpabugs> |
Status: | VERIFIED FIXED | ||
Severity: | crash | CC: | johannes |
Priority: | NOR | ||
Version: | GIT master | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/kphotoalbum/-/commit/25224891c2ae3cadccc1ad4b0038ca99d9ae9438 | Version Fixed In: | |
Sentry Crash Report: |
Description
Victor Lobo
2023-08-21 01:22:41 UTC
Thanks for the excellent bug report! I don't know how you manage to find these bugs, but you are doing a great job at making kphotoalbum better! Git commit 25224891c2ae3cadccc1ad4b0038ca99d9ae9438 by Johannes Zarl-Zierl. Committed on 21/08/2023 at 22:35. Pushed by johanneszarl into branch 'master'. Fix crash when the viewer gets a decoded pixmap while no image is set. When viewing both images and videos, the situation might arise when the ImageDisplay has not yet been set to an image after a transition from a video to an image, yet the pixmapLoaded slot receives an image for the previous video file. For images, this is not an issue, because there's already a valid image set (and it is checked whether the filename matches that of the received pixmap). M +3 -2 Viewer/AbstractDisplay.h M +15 -3 Viewer/ImageDisplay.cpp M +5 -4 Viewer/QtAVDisplay.cpp https://invent.kde.org/graphics/kphotoalbum/-/commit/25224891c2ae3cadccc1ad4b0038ca99d9ae9438 I think the bug should be fixed in the latest git master commit. Can you verify that the fix works for you? Thank you! I came across these bugs while evaluating KPA before introducing to my family. This particular bug I stumbled upon because I have a few Video files with a wrong file modify date of 12/31/79 which put them at the top in the thumbnail viewer Fix from the latest git master works well. Thank you! |