| Summary: | Expose ability to share specific virtual desktops (not just virtual screens) via XDG portal screen sharing dialog | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Benedict <yappy.benedict> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | fanzhuyifan, martin.runge, nate, sensorfied, ukaza, yappy.benedict |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 5.27.10 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | A screenshot showing screen sharing dialog in Microsoft Edge Browser | ||
|
Description
Benedict
2024-02-18 19:09:13 UTC
Reading a forum thread on screen sharing/capture at https://forum.manjaro.org/t/obs-cant-capture-screen-on-kde-plasma-wayland/147820 It seems that under Wayland, screen sharing is handled by Pipewire and xdg-desktop-portal-kde. So it seems like the requirements would be (1) KDE's virtual desktop will probably need to be renderable both when active and in background (2) KDE's virtual desktops to be a source that Pipewire can capture (3) xdg-desktop-portal-kde recognize virtual desktops as source I'd say this is a useful feature that is possible to implement without too much effort. Setting to confirmed since this sounds like a reasonable feature and use case -- but if I understand correctly, this seems to require very big changes to kwin. (In reply to fanzhuyifan from comment #2) > Setting to confirmed since this sounds like a reasonable feature and use > case -- but if I understand correctly, this seems to require very big > changes to kwin. Sorry, I really didn't mean to undermine the magnitude of the work required. I hope this gains enough interest that KDE developers would agree to implement it. Hi all, Reading this discussion, I ask myself if this feature could also serve as the technical base for another interesting feature: Switch from local access to remote access and back while keeping all applications running. The local screen optionally (depending on the use case) does not show a copy of the remote screen, but e.g. a lock screen to not compromise information to anone having a look at the machine's physical screen. When kwin would be able to stream the contents of a desktop that is not currently shown on any physical screen (vitual desktop) _and_ the physical screen is showing something else at the same time, the local screen could also show the lock screen? It is already possible to move windows of running applications from virtual desktop to another with out the need to restart the app. So it would also be possible to move all open windows from the machine's local screen to a remote screen without restart? For some usecases like "remote support" or "present the screen during a conference" one would like to see same content locally and remote (or parts of it like only one virtual desktop). A different usecase "operating a machine sometimes locally and sometimes from remote" without having the content of the screen exposed to anyoune coming along while the machine is operated from remote would be a great benefit. E.g. when accessing your office machine from home office / remote via VPN without the need to reboot / restart the applications like it is neccessary with X11. What do you think? |