Bug 515592 - xdg portal crashes and causes desktop crash when giving permissions to flatpak for screenshots
Summary: xdg portal crashes and causes desktop crash when giving permissions to flatpa...
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.5.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2026-02-06 06:11 UTC by tidal3179
Modified: 2026-02-07 16:57 UTC (History)
2 users (show)

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


Attachments
relevant screenshot (1.53 MB, image/png)
2026-02-06 06:11 UTC, tidal3179
Details
dr konqi log file (32.19 KB, text/plain)
2026-02-06 06:12 UTC, tidal3179
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tidal3179 2026-02-06 06:11:23 UTC
Created attachment 189267 [details]
relevant screenshot

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

I wanted to take a screenshot using the 'NormCap' ocr reader. It told me it didn't have screenshot permissions so I closed it and set it's screenshot permission to 'Always Ask'. When I relaunched 'NormCap' again it asked for permission and I granted it. The xdg portal froze and caused my desktop to breifly crash and restore to it's previous state. The permission was succesfully granted but the bug report couldn't be filed automatically.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 tidal3179 2026-02-06 06:12:00 UTC
Created attachment 189268 [details]
dr konqi log file
Comment 2 tidal3179 2026-02-06 06:19:08 UTC
forgot to add this information (wish I could edit previous posts):


STEPS TO REPRODUCE
1. Install 'NormCap' from flathub
2. Set it's screenshot permissions to always ask
3. Launch 'NormCap' and give it screenshot permission

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: openSUSE Tumbleweed 20260131
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1

OBSERVED RESULT

plasmashell and the portal both crashed and then resumed normal functionality after granting screenshot permission to 'NormCap'. Crash couldn't be reported automatically

EXPECTED RESULT

permission should just be granted without any crashes
Comment 3 Harald Sitter 2026-02-06 12:56:59 UTC
Can you reproduce this when not updating your system without rebooting?
Comment 4 tidal3179 2026-02-07 16:57:18 UTC
(In reply to Harald Sitter from comment #3)
> Can you reproduce this when not updating your system without rebooting?
.
no, rebooted and the problem went away