Bug 459151 - KDE screen sharing portal does not appear (Wayland session)
Summary: KDE screen sharing portal does not appear (Wayland session)
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.25.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-15 10:27 UTC by frederic.parrenin@univ-grenoble-alpes.fr
Modified: 2022-09-16 09:01 UTC (History)
1 user (show)

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 frederic.parrenin@univ-grenoble-alpes.fr 2022-09-15 10:27:53 UTC
OBSERVED RESULT
Currently, KDE screen sharing does not work under Wayland with Zoom.

EXPECTED RESULT
KDE screen sharing portal should be used

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Bookworm
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
I don't know if this is a problem with Zoom or if the KDE screen sharing portal is not ready yet, but this is a shortcoming when using KDE/Wayland.
Comment 1 Vlad Zahorodnii 2022-09-15 11:30:43 UTC
It's a problem with zoom. iirc zoom only allows screensharing on wayland even though they use desktop portals api, which should work on plasma. You could set XDG_CURRENT_DESKTOP=GNOME envvar when launching zoom to fake running gnome, i.e. `env XDG_CURRENT_DESKTOP=GNOME <zoom command>`.
Comment 2 Vlad Zahorodnii 2022-09-15 11:31:01 UTC
only allows screensharing on gnome*
Comment 3 frederic.parrenin@univ-grenoble-alpes.fr 2022-09-15 12:59:51 UTC
Thanks for the tip, but it does not work: when I click on screen sharing and then select the portal, no window appears.
Moreover, the application is now blurry at 200% scaling.
Comment 4 frederic.parrenin@univ-grenoble-alpes.fr 2022-09-16 08:51:19 UTC
Today I tried to share screen in BBB in firefox, but the KDE screen sharing portal does not appear either.
So I think it is a general problem in my setup, not only a Zoom problem.
So I change the title to be more generic.

I am on Debian testing.
I tried to search on the internet, but I found no answer to my problem.
Maybe some missing packages?
I do have xdg-desktop-portal-kde installed.
Comment 5 Vlad Zahorodnii 2022-09-16 08:55:18 UTC
CC'ing Aleix, maybe he knows what might be wrong.
Comment 6 frederic.parrenin@univ-grenoble-alpes.fr 2022-09-16 09:01:40 UTC
So I solved my problem!
I had installed the xdg-desktop-portal-kde package, but a restart of my computer was further needed.
Probably because the systemd daemon was not running.
Now I can start using the Wayland session seriously...
Thanks.