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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/78cb68b655 |ma/kwin/-/commit/6e34985182
                   |d42cb8728ada17178e0f521c2f3 |f9e47772796cbc6e903f3f77dc5
                   |f86                         |141

--- Comment #15 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 6e34985182f9e47772796cbc6e903f3f77dc5141 by Vlad Zahorodnii.
Committed on 14/02/2025 at 02:17.
Pushed by vladz into branch 'Plasma/6.3'.

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.


(cherry picked from commit 78cb68b655d42cb8728ada17178e0f521c2f3f86)

Co-authored-by: Vlad Zahorodnii <vlad.zahorod...@kde.org>

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

https://invent.kde.org/plasma/kwin/-/commit/6e34985182f9e47772796cbc6e903f3f77dc5141

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

Reply via email to