Bug 440003 - Broken animation when i drag maximized window
Summary: Broken animation when i drag maximized window
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.22.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-18 12:02 UTC by d3coder
Modified: 2022-07-28 20:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.26
Sentry Crash Report:


Attachments
animation bug (3.74 MB, video/webm)
2021-07-19 08:24 UTC, d3coder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d3coder 2021-07-18 12:02:41 UTC
SUMMARY
When i drag maximized window, animation is broken.
It often spans to the left and right monitors and less often has weird artifacts.
Check attached video. You can see that animation spans to the left or to the right monitors and sometimes weird artifact appears.

STEPS TO REPRODUCE
1. Maximize some small window
2. Drag maximized window
3. Repeat few times until bug happens
4. For better results ensure that both monitors have maximized window

OBSERVED RESULT
Window animations spans to the left or to the monitor
Sometimes weird artifact appears


EXPECTED RESULT
Animation does not span to neighbor monitor
Artifacts do not appear


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.12.15-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2021-07-19 08:10:33 UTC
There's no video.
Comment 2 d3coder 2021-07-19 08:24:26 UTC
Created attachment 140176 [details]
animation bug
Comment 3 Vlad Zahorodnii 2021-07-19 08:28:24 UTC
AnimationEffect probably miscalculates the transformed window geometry.
Comment 4 Nate Graham 2022-07-28 20:42:28 UTC
Fixed by Ivan Tkachenko with https://invent.kde.org/plasma/kwin/-/commit/2bca18bc5f57e376c59598b51e738f2e27f00547.