Bug 443246

Summary: Parts of windows often get cut off in desktop grid effect
Product: [Plasma] kwin Reporter: Kishore Gopalakrishnan <kishore96>
Component: effects-window-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns
Priority: NOR    
Version First Reported In: 5.22.90   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A) Arrangement of windows to reproduce the bug
B) Desktop grid shows truncated image of window
C) present windows effect shows windows correctly

Description Kishore Gopalakrishnan 2021-10-03 05:50:57 UTC
Created attachment 142110 [details]
A) Arrangement of windows to reproduce the bug

SUMMARY
The Desktop Grid effect displays scaled down versions of the windows open on each virtual desktop. These scaled down images are sometimes truncated incorrectly.

STEPS TO REPRODUCE
1. Create at least two virtual desktops
2. Tile a window to the right half of the screen (see attached screenshot A)
3. Trigger desktop grid effect

OBSERVED RESULT
Only part of the window is shown in the Desktop Grid effect (see attached screenshot B).

EXPECTED RESULT
All windows should be shown correctly in Desktop Grid effect

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.10.70-1-lts (64-bit)
Graphics Platform: X11
Processors: 4 × AMD EPYC-Rome Processor
Memory: 1.4 GiB of RAM
Graphics Processor: virgl (this is a VM, but it is also reproducible on bare metal with AMD graphics)

ADDITIONAL INFORMATION
1. Bug is not reproducible if the user is using only one virtual desktop.
2. The Present Windows effect shows the window correctly (see attached screenshot C)
Comment 1 Kishore Gopalakrishnan 2021-10-03 05:51:31 UTC
Created attachment 142111 [details]
B) Desktop grid shows truncated image of window
Comment 2 Kishore Gopalakrishnan 2021-10-03 05:52:02 UTC
Created attachment 142112 [details]
C) present windows effect shows windows correctly
Comment 3 Patrick Silva 2021-10-03 22:38:17 UTC

*** This bug has been marked as a duplicate of bug 440940 ***