| Summary: | Double portal fails to start screen sharing (Wayland) | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Youri van Mill <yourivanmill> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jgrulich |
| Priority: | NOR | ||
| Version First Reported In: | 5.20.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
screenshot 2 portals
screenshot from another user |
||
|
Description
Youri van Mill
2020-12-03 20:28:07 UTC
Created attachment 133852 [details]
screenshot from another user
I think this is broken in Chromium. Originally with Plasma 5.19, we were using BGRx format and I implemented WebRTC using it as well, however with Plasma 5.20 and things moving to KWin, it can now also be BGRA (with alpha channel) and that will not be handled in WebRTC. This is already fixed upstream: https://webrtc-review.googlesource.com/c/src/+/194100 @apol: I wonder whether we can (or if we want) to workaround on our end. Basically we can set stream format to be either BGRA or BGR based on what we settle on with the client and then take that into account? You can ignore two portals showing up, that's something we will have to deal with in Chromium. It is painful, but for now you have to confirm both dialogs. Black screen fixed in KWin: https://invent.kde.org/plasma/kwin/-/merge_requests/526 Double portal will be fixed in Chromium: https://chromium-review.googlesource.com/c/chromium/src/+/2578840 |