Bug 473413 - Wayland: "process not authorized to take a screenshot"
Summary: Wayland: "process not authorized to take a screenshot"
Status: CLOSED DOWNSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 23.04.3
Platform: Fedora RPMs Linux
: NOR grave
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-15 12:16 UTC by Henning
Modified: 2023-08-28 19:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2023-08-15 12:16:27 UTC
When trying to trigger the "take screenshot" feature of spectacle, may it be through a shortcut or a button in the window, it does nothing. The terminal reveals this info:

# launching spectacle
Remember requesting the interface on your desktop file: X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1
qrc:/src/Gui/DialogPage.qml:117:9: QML CaptureSettingsColumn (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
# trying to take the screenshot
Screenshot request failed: "The process is not authorized to take a screenshot"

Specified App:
spectacle-23.04.3-2.fc38.x86_64

--- Software ---
OS: Fedora Linux 38.20230814.0 (Kinoite)
KDE Plasma: 5.27.6
KDE Frameworks: 5.108.0
Qt: 5.15.10
Kernel: 6.4.10-200.fc38.x86_64
Compositor: wayland

--- Hardware ---
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
RAM: 13.5 GB
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Audio: Alsa
Comment 1 Nate Graham 2023-08-17 18:14:58 UTC
> Remember requesting the interface on your desktop file: X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1
This indicates a packaging or local setup issue. Please report it to your distro.
Comment 2 Henning 2023-08-23 18:59:47 UTC
Weird thing: I created a seperate user profile and screenshots are working normally
Comment 3 Henning 2023-08-25 11:36:23 UTC
so thats the reason that I think this is a KDE Problem. You see, the default way this is packaged works normally.

I simpy tried moving everything to a seperate profile but quit that as it exited. I would really like to fix this issue
Comment 4 Nate Graham 2023-08-25 18:39:39 UTC
There is no "default way this is packaged." KDE doesn't package Spectacle; distros do. Please report this issue to your distro.
Comment 5 Henning 2023-08-25 22:39:46 UTC
But I dont understand, how can this be working in a default profile but somehow break during usage?
Comment 6 Nate Graham 2023-08-28 19:12:23 UTC
Depends on what you've done with your user account. If you have an overridden .desktop file for Spectacle that doesn't have the magic keyword in it, that could do it.