Bug 435556

Summary: Neither spectacle nor any screenshot utility is able to use "rectangular" / partial screen mode.
Product: [Applications] Spectacle Reporter: Ad <mrnycticorax>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate
Priority: NOR    
Version: 21.03.80   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ad 2021-04-09 19:19:05 UTC
I am using openSUSE Tumbleweed snapshot 20210406 on x64. I've tried to launch spectacle 20.12.3-1.2 with various launch parameters:
- QTA_QPA_PLATFORM=wayland spectacle
- QTA_QPA_PLATFORM=xcb spectacle
- GDK_BACKEND=x11 spectacle
- GDK_BACKEND=wayland spectacle
but none allows me to use spectacle's rectangular snapshot feature. All other snaphot features work, however. No matter how I launch it, spectacle with crash upon using the rectangular snapshot with this message:
```
Error calling KWin DBus interface: "org.kde.kwin.Screenshot.Error.ScreenMissing" "Screen not found"
```
Comment 1 Nate Graham 2021-04-09 19:44:56 UTC
Fixed in Plasma 5.22 already, thankfully.

*** This bug has been marked as a duplicate of bug 432260 ***
Comment 2 Ad 2021-04-26 16:11:22 UTC
(In reply to Nate Graham from comment #1)
> Fixed in Plasma 5.22 already, thankfully.
> 
> *** This bug has been marked as a duplicate of bug 432260 ***

5.22 is a long way down the road as far as I can tell. Also I wanted to emphasis that the only thing that actually works is the convoluted 
```
DISPLAY=0 QT_QPA_PLATFORM=wayland spectacle 
```
Comment 3 Nate Graham 2021-04-26 16:49:04 UTC
It's going to be released on June 3rd, just 5 weeks away. See https://community.kde.org/Schedules/Plasma_5
Comment 4 Ad 2021-04-26 17:41:07 UTC
(In reply to Nate Graham from comment #3)
> It's going to be released on June 3rd, just 5 weeks away. See
> https://community.kde.org/Schedules/Plasma_5

Right, that's good, and I rejoice that this trick might help people through 5 full weeks of pain.