Bug 439089 - Unable to take "Rectangular Region" screenshot on Wayland (openSUSE mixed Wayland/X)
Summary: Unable to take "Rectangular Region" screenshot on Wayland (openSUSE mixed Way...
Status: RESOLVED NOT A BUG
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 21.04.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-23 21:31 UTC by 0x1a8510f2
Modified: 2021-06-28 12:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 0x1a8510f2 2021-06-23 21:31:17 UTC
I am unable to take a "Rectangular Region" screenshot on Wayland (Wayland option on login, openSUSE) using Spectacle. Fullscreen and single window screenshots work fine.

STEPS TO REPRODUCE
1. Use Wayland
2. Open Spectacle and select "Rectangular Region" for area
3. Press "Take a New Screenshot"

OBSERVED RESULT

Spectacle disappears very briefly, then reappears with the message "Could not take a screenshot. Please report this bug here: create a spectacle bug".

EXPECTED RESULT

Screenshot is taken normally

SOFTWARE/OS VERSIONS

Linux: openSUSE Tumbleweed (20210621) [5.12.12-1-default #1 SMP Fri Jun 18 11:07:46 UTC 2021 (0e46a2c) x86_64 x86_64 x86_64 GNU/Linux]
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

None
Comment 1 guimarcalsilva 2021-06-24 02:00:27 UTC
I couldn't reproduce the bug on Plasma 5.22.2. Maybe it's something specific to openSUSE?

Did you change any of the default settings?
Comment 2 0x1a8510f2 2021-06-25 16:22:19 UTC
In terms of settings, within Spectacle I remember changing some, but I can't remember which, settings. My current settings are as follows (where not mentioned options are disabled):

After taking screenshot: Copy image to clipboard
Press screenshot key to: Take a new screenshot
Rectangular region/general: Accept on click-and-release
Remember selected area: Never

Outside of Spectacle, I've changed plenty of settings. None of them seem relevant though.

As for it being an openSUSE issue, that's quite possible, since I know openSUSE changes some of the Wayland config to split login options to Wayland and Full Wayland. I'm using "Wayland" currently and haven't tested on "Full Wayland". Do you think this would be better suited for the openSUSE bugtracker?
Comment 3 David Redondo 2021-06-28 06:52:40 UTC
Spectacle does not support the mixed wayland x session of opensuse