Bug 460735

Summary: "Choose a screen" Dialog on wayland should show window previews
Product: [Plasma] xdg-desktop-portal-kde Reporter: K Freed <kortrax11>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: aleixpol, jgrulich, nate
Priority: NOR Keywords: usability
Version: 5.26.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.27
Attachments: This is the current screenshare request screen in KDE plasma
An idea of how chrome presents screen sharing (what I want)

Description K Freed 2022-10-20 00:00:24 UTC
Created attachment 153047 [details]
This is the current screenshare request screen in KDE plasma

When attempting to screenshare in Wayland via Firefox, I'd expect window previews to show up on the "select a screen dialog like chrome does" currently only window titles are shown which is less efficient and user friendly.

Linux/KDE Plasma:  Arch Linux (Garuda Linux): Kernel 6.0 
(available in About System)
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version:5.15.6
Comment 1 K Freed 2022-10-20 00:01:27 UTC
Created attachment 153048 [details]
An idea of how chrome presents screen sharing (what I want)
Comment 2 Bug Janitor Service 2022-11-10 18:48:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/136
Comment 3 Aleix Pol 2022-11-29 18:57:46 UTC
Git commit 582a373dfa569728e5f704e4c3977e8000fef0d8 by Aleix Pol, on behalf of Aleix Pol i Gonzalez.
Committed on 29/11/2022 at 01:17.
Pushed by apol into branch 'master'.

ScreenShare: Include thumbnails on the window and output options

Use the current stream to help choose which is the window/output that
you are sharing, especially useful if they're named the same or you are
in a hurry.

A  +36   -0    src/PipeWireDelegate.qml     [License: LGPL(v2.0+)]
M  +36   -15   src/ScreenChooserDialog.qml
M  +11   -7    src/outputsmodel.cpp
M  +17   -1    src/outputsmodel.h
M  +1    -0    src/resources.qrc

https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/582a373dfa569728e5f704e4c3977e8000fef0d8