https://bugs.kde.org/show_bug.cgi?id=498211

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/-/commit/6ad396e |em/dolphin/-/commit/63f2103
                   |9924a3bf02e0aaf3547803b283e |6e7f44a6b6c8505c9cd277aabbf
                   |01bb2f                      |0bf832

--- Comment #58 from Méven <[email protected]> ---
Git commit 63f21036e7f44a6b6c8505c9cd277aabbf0bf832 by Méven Car.
Committed on 09/07/2026 at 09:22.
Pushed by meven into branch 'release/26.08'.

kitemviews: Draw icon overlays at a fixed size instead of baking them into the
thumbnail

Overlays were composited into the thumbnail pixmap, which drawPixmap()
then rescaled to the final on-screen size, scaling the overlays by a
per-file factor. That made the emblem size inconsistent between
thumbnails, and slightly cropped at fractional display scaling.

Draw the overlays directly onto the painter after the icon, at a fixed
size anchored to the on-screen icon rect. Clamp the size to the thumbnail
height so it never overlaps the file name below a short thumbnail, and
grow the anchor into the side margins for a thumbnail narrower than the
overlay so the overlays sit beside the image instead of on top of it.


(cherry picked from commit 6ad396e9924a3bf02e0aaf3547803b283e01bb2f)

Co-authored-by: Méven Car <[email protected]>

M  +36   -46   src/kitemviews/kstandarditemlistwidget.cpp
M  +3    -5    src/kitemviews/kstandarditemlistwidget.h

https://invent.kde.org/system/dolphin/-/commit/63f21036e7f44a6b6c8505c9cd277aabbf0bf832

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to