| Summary: | dataChanged() called with an invalid index range: | ||
|---|---|---|---|
| Product: | [Applications] kphotoalbum | Reporter: | willem <whobers> |
| Component: | Backend | Assignee: | KPhotoAlbum Bugs <kphotoalbum-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | johannes, rsquared42 |
| Priority: | NOR | ||
| Version First Reported In: | GIT master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/kphotoalbum/-/commit/12282f3f34b6b1213232e54355a6c40558ed4c45 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
willem
2025-05-30 14:01:24 UTC
Sorry, forgot to add the cli output.
QImage::scaled: Image is a null image
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
QImage::scaled: Image is a null image
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
QImage::scaled: Image is a null image
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
QImage::scaled: Image is a null image
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
QImage::scaled: Image is a null image
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
QImage::scaled: Image is a null image
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
these are the messages after viewing 1 media item.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/kphotoalbum/-/merge_requests/50 A possibly relevant merge request was started @ https://invent.kde.org/graphics/kphotoalbum/-/merge_requests/51 A possibly relevant merge request was started @ https://invent.kde.org/graphics/kphotoalbum/-/merge_requests/52 Git commit 12282f3f34b6b1213232e54355a6c40558ed4c45 by Johannes Zarl-Zierl, on behalf of Randall Rude. Committed on 04/11/2025 at 20:48. Pushed by johanneszarl into branch 'master'. Don't updateCell for a new thumbnail Here's another scenario that logs "dataChanged() called with an invalid index range": * start a fresh demo * open the thumbnail view * add at least one new image in the demo folder * rescan for new images - the message is logged once per new image This patch only triggers dataChanged() when a thumbnail is updated, not when a new thumbnail is inserted into the cache. M +11 -1 lib/kpathumbnails/TestThumbnailCache.cpp M +9 -2 lib/kpathumbnails/ThumbnailCache.cpp M +5 -4 lib/kpathumbnails/ThumbnailCache.h https://invent.kde.org/graphics/kphotoalbum/-/commit/12282f3f34b6b1213232e54355a6c40558ed4c45 |