| Summary: | Crash when dragging first image of thumbnailview | ||
|---|---|---|---|
| Product: | [Applications] kphotoalbum | Reporter: | Alex6 <alex.premie> |
| Component: | Thumbnail Viewer | Assignee: | KPhotoAlbum Bugs <kphotoalbum-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | alex.premie, johannes |
| Priority: | NOR | ||
| Version First Reported In: | 5.6.1 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kphotoalbum/932eae5390d42557e6b935dcc939dd3cbb3c4bed | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Alex6
2020-02-27 11:06:09 UTC
Thanks for the bug report! At first I could not reproduce this with the demo database, but after some trying around I can confirm that an assertion is triggered if by trying to drag a thumbnail to the very last position. Git commit 932eae5390d42557e6b935dcc939dd3cbb3c4bed by Johannes Zarl-Zierl. Committed on 27/02/2020 at 22:13. Pushed by johanneszarl into branch 'master'. Fix crash when dragging an item beyond the last position. In the thumbnail view, a crash/assertion could be triggered by dragging an image beyond the last position of the thumbnail view. Instead of requiring the caller to provide a non-null FileName to ThumbnailModel::updateCell(), this method now ignores non-null FileNames. M +2 -4 ThumbnailView/ThumbnailDND.cpp M +3 -1 ThumbnailView/ThumbnailModel.cpp https://commits.kde.org/kphotoalbum/932eae5390d42557e6b935dcc939dd3cbb3c4bed I believe this bug has been present for a long time. Thanks again for catching it! I've pushed a fix to git master. |