Bug 464542 - Zoom Meeting XWayland Black Screen When Share Screen XWayland App
Summary: Zoom Meeting XWayland Black Screen When Share Screen XWayland App
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-nested (other bugs)
Version First Reported In: 5.26.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-20 09:46 UTC by Meteora Osterreich
Modified: 2023-04-07 14:47 UTC (History)
2 users (show)

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


Attachments
BlackScreen When Sharing Screen on Zoom Meeting XWayland (2.78 MB, video/x-matroska)
2023-01-20 09:46 UTC, Meteora Osterreich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Meteora Osterreich 2023-01-20 09:46:39 UTC
Created attachment 155450 [details]
BlackScreen When Sharing Screen on Zoom Meeting XWayland

SUMMARY
When Running Zoom in XWayland and doing Share Screen to XWayland App, the shared app window appear black and only some part are not, when switching to other virtual desktop the black screen disappear but the app seems frozen

Video Link: https://youtu.be/HCqVrisGvIg

STEPS TO REPRODUCE
1. Open Zoom in XWayland
2. Open Libreoffice Writer or other apps in XWayland
3.  Create New Meeting in Zoom then share screen
4. Select libreoffice writer
5. See sharescreen preview provided by zoom meeting
6. move to other virtual desktop
7. See sharescreen preview

OBSERVED RESULT
- When XWayland app (Libreoffice in this example) is focused the blackscreen is shown
- When switching to other virtual desktop blackscreen disappear

EXPECTED RESULT
- Able to sharescreen even though running from XWayland

Operating System: Manjaro Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.15-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-3120M CPU @ 2.50GHz
Memory: 9.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000
Manufacturer: Sony Corporation
Product Name: SVE14132CVW
System Version: C10GPC0F

ADDITIONAL INFORMATION
- The Reason For Running Zoom Meeting in XWayland because zoom hasn't implement proper sharescreen support in wayland
- This Doesn't Happen when running Zoom in X11
- Zoom Version: 5.13.4
- Command To Run Zoom: 
QT_QPA_PLATFORM=xcb GDK_BACKEND=x11 XDG_CURRENT_DESKTOP=plasma XDG_SESSION_TYPE=x11 zoom

- Command to Run LibreOffice on XWayland:
QT_QPA_PLATFORM=xcb GDK_BACKEND=x11 libreoffice --writer
Comment 1 David Edmundson 2023-04-07 14:47:56 UTC
Unfortunately this is expected. Xwayland cannot see wayland apps.

Third party solutions http://blog.davidedmundson.co.uk/blog/xwaylandvideobridge/ exist.