| Summary: | "Sort selected by date" can be used to trigger a crash | ||
|---|---|---|---|
| Product: | [Applications] kphotoalbum | Reporter: | Johannes Zarl-Zierl <johannes> |
| Component: | general | Assignee: | KPhotoAlbum Bugs <kphotoalbum-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/kphotoalbum/-/commit/736882a98da8fefc56b7f3c4a2d2db68ce00ff67 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Johannes Zarl-Zierl
2023-07-09 21:33:56 UTC
Git commit 736882a98da8fefc56b7f3c4a2d2db68ce00ff67 by Johannes Zarl-Zierl. Committed on 09/07/2023 at 22:04. Pushed by johanneszarl into branch 'master'. Prevent inconsistent UI when thumbnail model is reset If an action like "Collaps all stacks" is called, the thumbnail model is reset, thus invalidating the selection. Unfortunately, this does not trigger a selectionChanged signal because the selection is reset and not cleared. This would lead to an inconsistent UI, where actions that depend on an existing selection would not be disabled, despite there not being a selection. M +13 -2 DB/ImageInfoList.cpp M +15 -3 ThumbnailView/ThumbnailWidget.cpp https://invent.kde.org/graphics/kphotoalbum/-/commit/736882a98da8fefc56b7f3c4a2d2db68ce00ff67 |