[dolphin] [Bug 507844] Image on the preview panel increases brightness instead of switching to the next one when switching files
"Pan Zhang" <[email protected]> Sun, 28 Sep 2025 10:11:29 +0000
| Newsgroups | gmane.comp.kde.devel.kfm |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=3D507844 Pan Zhang <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/syst | |em/dolphin/-/commit/96019a8 | |592788932443fe0d0efc8ea44af | |2cf948 Status|ASSIGNED |RESOLVED --- Comment #3 from Pan Zhang <[email protected]> --- Git commit 96019a8592788932443fe0d0efc8ea44af2cf948 by Pan Zhang. Committed on 28/09/2025 at 04:12. Pushed by meven into branch 'master'. informationpanelcontent: prevent repeated disabled effect on previews When switching files quickly in the Information Panel, the preview pixmap c= ould appear progressively brighter/whiter. This happened because markOutdatedPreview() was applying KIconEffect::toDisabled() multiple times= on the same pixmap while a preview job was still pending. This patch fixes the issue by: - Tracking the URL that was last disabled, and only applying the disabled effect once per URL. - Clearing the disabled state whenever a new preview job starts or when a n= ew pixmap is shown. With this change, the "disabled preview" effect is preserved (still useful = for slow HDD or network filesystems), but the progressive white-out artifact no longer occurs when navigating rapidly. M +14 -2 src/panels/information/informationpanelcontent.cpp M +1 -0 src/panels/information/informationpanelcontent.h https://invent.kde.org/system/dolphin/-/commit/96019a8592788932443fe0d0efc8= ea44af2cf948 --=20 You are receiving this mail because: You are on the CC list for the bug.=