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

Arjen Hiemstra <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/union/-/commit/e9597e104
                   |                            |e7d5b36ac219b9f8399cb734074
                   |                            |9cb8
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Arjen Hiemstra <[email protected]> ---
Git commit e9597e104e7d5b36ac219b9f8399cb7340749cb8 by Arjen Hiemstra.
Committed on 15/09/2026 at 13:36.
Pushed by ahiemstra into branch 'master'.

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/e9597e104e7d5b36ac219b9f8399cb7340749cb8

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

Reply via email to