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

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/1e634be2f5ec |ma/kwin/commit/8ca83ef190df
                   |286d562b7f990a4e5b98a684a22 |b0bf32719073fc7360ddfea799b
                   |4                           |6

--- Comment #3 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 8ca83ef190dfb0bf32719073fc7360ddfea799b6 by Vlad Zahorodnii.
Committed on 29/10/2021 at 12:09.
Pushed by vladz into branch 'Plasma/5.23'.

effects/slidingpopups: Schedule workspace repaints

For optimization purposes, kwin will ignore repaint regions scheduled by
invisible windows, e.g. hidden docks, minimized windows, etc.

The problem is that it sort of breaks w->addRepaintFull(). If a lot of
animation frames are dropped, for example due to heavy cpu load, the
sliding popups animation can jump from the middle of animation right up
to the end. It will schedule a repaint but it will be ignored.

In order to work around that issue, this change makes the sliding popups
effect schedule workspace repaints in postPaintScreen() to ensure that
the Scene will always repaint dirty regions.

Hopefully, this should fix bugs where auto-hide panels sometimes flicker
on Wayland.


(cherry picked from commit 1e634be2f5ec286d562b7f990a4e5b98a684a224)

M  +1    -1    src/effects/slidingpopups/slidingpopups.cpp

https://invent.kde.org/plasma/kwin/commit/8ca83ef190dfb0bf32719073fc7360ddfea799b6

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

Reply via email to