Bug 430020

Summary: 4k (on Xorg) + dual screen + Flameshot screenshot breaks and shifts Plasma desktop to the left
Product: [Plasma] plasmashell Reporter: jonathan.lucas
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: jonathan.lucas, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.20.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: before
after

Description jonathan.lucas 2020-12-04 18:34:28 UTC
Created attachment 133879 [details]
before

SUMMARY


STEPS TO REPRODUCE
1. Latest Plasma, Kernel, Mesa (Arch Linux)
2. Take a screenshot using Flameshot


OBSERVED RESULT
The whole desktop shifts to the left and a screenshot cannot be taken anymore. The desktop shifts to the left and fills up half of the right screen with a grey area. Please see the picture for a before + after. Weird behavior, please refer to the attached screenshots. This worked flawlessly with earlier versions of Plasma but seems broken since 5.19/5.20 (did not raise a bug earlier, sorry). The screenshot itself is fine (no gray border on the right side visible).

EXPECTED RESULT
Normal screenshot can be taken without having the desktop shifted.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.20.4
(available in About System)
KDE Plasma Version:  5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
latest kernel 5.9.11 & Mesa 20.2.3 (AMD GPU)
Comment 1 jonathan.lucas 2020-12-04 18:34:48 UTC
Created attachment 133880 [details]
after

once running Flameshot
Comment 2 Nate Graham 2020-12-07 16:25:41 UTC
This is an issue in Flameshot. Please report it to the developer of that app. We had similar issues i Spectacle in the past and the solution lay in the app's code, not anywhere in Plasmashell.