Bug 489224

Summary: Screenshot sandboxing is not compatible with the use of custom user desktop files for screenshot apps
Product: [Plasma] kwin Reporter: linux.admin
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description linux.admin 2024-06-26 10:57:55 UTC
Hi. 
An error occurred while taking a screenshot.
KWin screenshot request failed:
The process is not authorized to take a screenshot
Potentially relevant information:
- Method: CaptureScreen
- Method specific arguments: "DVI-I-1"
KWin screenshot request failed:
The process is not authorized to take a screenshot
Potentially relevant information:
- Method: CaptureScreen
- Method specific arguments: "DP-1"
KWin screenshot request failed:
The process is not authorized to take a screenshot
Potentially relevant information:
- Method: CaptureScreen
- Method specific arguments: "HDMI-A-1"
KWin screenshot request failed:
The process is not authorized to take a screenshot
Potentially relevant information:
- Method: CaptureScreen
- Method specific arguments: "DVI-D-1"


rm .local/share/applications/org.kde.spectacle.desktop
fixes it
Comment 1 linux.admin 2024-11-22 17:21:01 UTC
Hi. Any news on this? This desktop file always appears and I need to delete it every time I want to take a screenshot.
Comment 2 David Redondo 2024-11-25 10:08:44 UTC
Where does it appear from? Do you create it? Some other program?
Comment 3 linux.admin 2024-11-25 10:58:08 UTC
(In reply to David Redondo from comment #2)
> Where does it appear from? Do you create it? Some other program?

I don't know, I just have Arch with Plasma 6 installed from repos, it is default behaviour. Not me or other program create it