Bug 469891

Summary: Screenshot on multi-screen show false content
Product: [Plasma] kwin Reporter: Peter L. Steger <peter.steger>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andreas.petzold+kdebugs, nate, ray.parker
Priority: NOR Keywords: multiscreen
Version: 5.27.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: system specs from "about system"
displaced content from screen 2

Description Peter L. Steger 2023-05-17 13:05:05 UTC
Created attachment 159032 [details]
system specs from "about system"

Taking a screenshot with spectacle as well as flameshot shows wrong (old) screen content - only in multi screen environment (X11 as well as wayland) on both the primary as well as the secondary screen. 

Sometimes it helps to place the mouse pointer on the primary screen.
As well as disconnecting the secondary screen and re-connect it again. 

STEPS TO REPRODUCE
Takes place randomly, usually after a while, first screenshot mostly works.

OBSERVED RESULT
The screen content is missing some application windows or even shows already closed windows.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: EndeavourOS (latest update per today),
(available in About System)
KDE Plasma Version:  5.106.0 / 5.27.5
KDE Frameworks Version: 
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-05-17 20:08:51 UTC
> spectacle as well as flameshot
Since it affects both apps, I'd lean towards this being caused by a GPU driver issue.
Comment 2 Andreas Petzold 2023-05-24 11:21:54 UTC
Similar problem here on fedora 38, plasma 5.27.5, spectacle 23.04. My Lenovo laptop has an integrated intel gpu.
Comment 3 Ray7 2024-04-07 15:25:11 UTC
I can confirm this bug.

I have 3 Screens and when i try to capture screen 1, the screen shows content from screen 2, but displaced.

KDE Plasma 6.0.3
KDE Framework 6.0.0
Qt-Version 6.6.3
Wayland
Open Suse Tumbleweed
Comment 4 Ray7 2024-04-07 15:26:41 UTC
Created attachment 168258 [details]
displaced content from screen 2
Comment 5 Vlad Zahorodnii 2024-10-02 12:14:51 UTC
(In reply to Ray7 from comment #3)
> I can confirm this bug.
> 
> I have 3 Screens and when i try to capture screen 1, the screen shows
> content from screen 2, but displaced.
> 
> KDE Plasma 6.0.3
> KDE Framework 6.0.0
> Qt-Version 6.6.3
> Wayland
> Open Suse Tumbleweed

Can you provide more details about your setup? `qdbus org.kde.KWin /KWin supportInformation` what screen are you taking a screenshot of?
Comment 6 Bug Janitor Service 2024-10-17 03:48:02 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Ray7 2024-10-21 12:40:49 UTC
mysteriously the bug doesn´t exist anymore. This issue can be closed.