https://bugs.kde.org/show_bug.cgi?id=446032
Bug ID: 446032
Summary: Some screenshots fail in Wayland
Product: Spectacle
Version: 21.04.2
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 143900
--> https://bugs.kde.org/attachment.cgi?id=143900&action=edit
What the user sees after the screenshot fails
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
On Wayland, trying to take a full screen or rectangular region screenshot
results in an error. Taking a screenshot of window under cursor works only.
I think this is a well-known issue, but I was unable to find a bug report with
a similar error output so I am creating this bug report here.
STEPS TO REPRODUCE
1. Open spectacle
2. Select "Full Screen" or "Rectangular Region" under Area option in Capture
Mode
3. Press "Take a new screenshot"
OBSERVED RESULT
Spectacle closes for a second (as if to take a screenshot), but reappears with
an error saying "Could not take a screenshot. Please report this bug here:
create a spectacle bug" with a link to report the bug.
EXPECTED RESULT
Spectacle takes the screenshot without any error
SOFTWARE/OS VERSIONS
Linux/KDE Plasma
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.12.2
ADDITIONAL INFORMATION
I ran the spectacle program in terminal and this was the output while trying to
take a screenshot of full screen or for rectangular region:
Screenshot request failed: "The process is not authorized to take a screenshot"
QPixmap::scaled: Pixmap is a null pixmap
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
I have also compiled and built spectacle version 22.03.70 from source and it
does the same exact thing.
--
You are receiving this mail because:
You are watching all bug changes.