D15961: [effects/wobblywindows] Fix visual artifacts when dragging maximized windows

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION SUMMARY
  If one wants to drag a maximized window while he or she has enabled both
  the Wobbly Windows and the Maximize effect, visual artifacts can be
  shown.
  
  When the Maximize effect animates transition from maximize to restore,
  some parts of the window can overshoot repaint regions, leaving us with
  the visual artifacts.
  
  To fix that, we have to take into account current scale and translation
  when calculating dirty region in the Wobbly Windows effect.
  
  BUG: 370612
  FIXED-IN: 5.14.0

TEST PLAN
  When dragging maximized windows, there are no visual artifacts anymore.

REPOSITORY
  R108 KWin

BRANCH
  effects-wobbly-windows-drag-maximized-windows-visual-artifacts

REVISION DETAIL
  https://phabricator.kde.org/D15961

AFFECTED FILES
  effects/wobblywindows/wobblywindows.cpp
  effects/wobblywindows/wobblywindows.h

To: zzag, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.