Skip to content

libtaskmanager: Guard against inactive window streaming

David Edmundson requested to merge work/screencast_crash_guard into master

If the screencasting global is not announced Screencasting has no underlying bound wl_resource to make calls on and we crash

Callers need guarding anyway as createOutputStream had a path that returned nulls already.


Happened to me due to a presumably setup issue where I'm hitting the security filter.

'10:34:11.215 ?libtaskmanagerplugin.so?|?libtaskmanagerplugin.so?|?libtaskmanagerplugin.so? Remember requesting the interface on your desktop file: X-KDE-Wayland-Interfaces=zkde_screencast_unstable_v1'

Still no reason for us to crash.

Merge request reports