Bug 448294 - Screencasting a window on Wayland doesn't include subwindows
Summary: Screencasting a window on Wayland doesn't include subwindows
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-12 01:34 UTC by Nicolas Fella
Modified: 2022-05-24 08:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2022-01-12 01:34:50 UTC
STEPS TO REPRODUCE
1. Open an app, e.g. Kate 
2. Start OBS Studio
3. Add a screencast for Kate
4. Play around in Kate

OBSERVED RESULT
Kate is visible in OBS, but anything that is technically its own window, like menus, tooltips, configuration dialogs is not visible in the screencast

EXPECTED RESULT
Those are part of the screencast


SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15.kde
Comment 1 Vlad Zahorodnii 2022-02-04 11:59:31 UTC
window screencasting is used not only by obs, but also plasma. such mode would break window thumbnails in the panel and I think adding one more screencast mode in kwin is worth it. on the other hand, kwin could provide some metadata so the app could composite windows by itself.
Comment 2 Vlad Zahorodnii 2022-02-04 11:59:52 UTC
screencast mode in kwin is not worth it*
Comment 3 Vlad Zahorodnii 2022-05-24 08:37:09 UTC
> kwin could provide some metadata so the app could composite windows by itself.

In fact, one can get relevant info using the plasma window management protocol.