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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/78cb68b655
                   |                            |d42cb8728ada17178e0f521c2f3
                   |                            |f86

--- Comment #14 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 78cb68b655d42cb8728ada17178e0f521c2f3f86 by Vlad Zahorodnii.
Committed on 14/02/2025 at 01:44.
Pushed by vladz into branch 'master'.

effect: Fix EffectWindow::hasDecoration()

The fractional part in the width() and the height() is truncated by the
QRect(). This makes the hasDecoration() function return true for popups
with fractional scaling. The scale effect checks whether a window has
a decoration to determine whether it can be animated.

The issue can be resolved by changing the QRect to a QRectF but a more
robust way to fix the bug is to inspect the Window::decoration property.

M  +1    -1    src/effect/effectwindow.cpp

https://invent.kde.org/plasma/kwin/-/commit/78cb68b655d42cb8728ada17178e0f521c2f3f86

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

Reply via email to