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

Arjen Hiemstra <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/union/-/commit/e9597e104 |ma/union/-/commit/13dd530d2
                   |e7d5b36ac219b9f8399cb734074 |99ee794ac907ed3e5ce920d20fd
                   |9cb8                        |c282

--- Comment #7 from Arjen Hiemstra <[email protected]> ---
Git commit 13dd530d299ee794ac907ed3e5ce920d20fdc282 by Arjen Hiemstra.
Committed on 15/09/2026 at 14:19.
Pushed by ahiemstra into branch 'Plasma/6.8'.

output/quick: Restore using iconSizeForSize for Icon's actual icon size

This is a partial revert of !287

As it turns out, Icon::actualSize() prefers using a much larger scalable
icon over a slightly smaller icon when neither matches the requested
size perfectly. This leads to issues with certain Breeze icons that have
a symbolic 22px icon and a colorful scalable 64px icon. The previous
code would correctly prefer the non-scalable 22px version over the
scalable 64px version.

To prevent the return of the original bug, fall back to using
QIcon::actualSize() when the list of sizes is empty or we can't find an
appropriate size.

M  +39   -2    src/output/qtquick/plugin/Icon.cpp

https://invent.kde.org/plasma/union/-/commit/13dd530d299ee794ac907ed3e5ce920d20fdc282

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

Reply via email to