Bug 489224 - Screenshot sandboxing is not compatible with the use of custom user desktop files for screenshot apps
Summary: Screenshot sandboxing is not compatible with the use of custom user desktop f...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-26 10:57 UTC by linux.admin
Modified: 2024-11-25 10:58 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 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