Bug 458755 - Closing window while screencast leaks content of other windows or crash the program under specific circumstances (Wayland)
Summary: Closing window while screencast leaks content of other windows or crash the p...
Status: RESOLVED WORKSFORME
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.24.6
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-05 17:53 UTC by Rurigk
Modified: 2025-06-23 11:57 UTC (History)
6 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 Rurigk 2022-09-05 17:53:44 UTC
Closing a window that is beign screencasted (via screencast portal) can change the window that is beign screencasted or crash the program that is capturing the window when hovering a icon in the "Icons-only Task Manager" until the thumbnail is shown 

STEPS TO REPRODUCE
1. Capture a window with OBS (via screencast portal)
2. Close the window while is beign captured
3. Hover the icon of other opened application in the "Icons-only Task Manager" until the thumbnail is shown 

OBSERVED RESULT
The window beign captured changes to the window of the application hovered in the "Icons-only Task Manager"

EXPECTED RESULT
The window beign captured dont change (Only show the last frame of the application closed)

STEPS TO REPRODUCE 2
1. Screencast a window with Firefox (via screencast portal)
2. Close the window while is beign captured
3. Hover the icon of other opened application in the "Icons-only Task Manager" until the thumbnail is shown 

OBSERVED RESULT 2
Firefox crashes

EXPECTED RESULT 2
Firefox doesn't crash (Only show the last frame of the application closed or closing the screencastt)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro KDE
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
OBS Version: 28.0.1 (Flatpak)
Firefox version: 103.0.2
Pipewire version: 0.3.56

ADDITIONAL INFORMATION
Someone else successfully replicate the bug in Plasma 5.25.4 on Arch
Comment 1 David Redondo 2025-06-23 11:57:32 UTC
I cannot reproduce this on current versions