[dolphin] [Bug 507844] Image on the preview panel increases brightness instead of switching to the next one when switching files
Pan Zhang
bugzilla_noreply at kde.org
Sun Sep 28 11:11:29 BST 2025
https://bugs.kde.org/show_bug.cgi?id=507844
Pan Zhang <zhangpan at kylinos.cn> 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 <zhangpan at kylinos.cn> ---
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 could
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 new
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/96019a8592788932443fe0d0efc8ea44af2cf948
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list