Bug 491913

Summary: Screen sharing not working with default KDE Neon User Edition xdg-desktop-portal package
Product: [KDE Neon] neon Reporter: Mateusz <mateusz.czykiel>
Component: Packages User EditionAssignee: Neon Bugs <neon-bugs-null>
Status: REPORTED ---    
Severity: normal CC: jr, neon-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: NOK behavior

Description Mateusz 2024-08-19 18:13:55 UTC
Created attachment 172754 [details]
NOK behavior

SUMMARY
When I try to use screen sharing functionality on MS Teams web service (https://teams.live.com/v2/ website), using Chrome web browser, with default xdg-desktop-portal package installed on KDE Neon User Edition (1.18.4-1+22.04+jammy+release+build1 from http://archive.neon.kde.org/user), after choosing any option in 'Screen sharing' popup window, 'Share' button in Chrome popup remains inactive and actual screen sharing doesn't start (other meeting participants don't see shared screen).

With xdg-desktop-portal package downgraded to Ubuntu version (1.14.4-1ubuntu2~22.04.1 from 
http://archive.ubuntu.com/ubuntu), after choosing any option in 'Screen sharing' popup window, 'Share' button in Chrome popup becomes active and after clicking it, (after choosing any option in 'Screen sharing' popup window AGAIN- seems like another bug), actual screen sharing starts (other meeting participants see shared screen).

STEPS TO REPRODUCE
1. From Chrome web browser, log in to https://teams.live.com/v2/ website, start meeting (either with at least one participant or inviting and allowing to join one afterwards).
2. Click 'Share' in MS Teams service and in popup menu choose the only option 'Screen, window, or tab'.
3. In Chrome popup 'Choose what to share with teams.live.com', choose Window or Entire Screen.
4. In popup 'Screen sharing' window choose any option.

OBSERVED RESULT
After choosing any option in 'Screen sharing' popup window, 'Share' button in Chrome popup remains inactive and actual screen sharing doesn't start (other meeting participants don't see shared screen).

EXPECTED RESULT
After choosing any option in 'Screen sharing' popup window, 'Share' button in Chrome popup becomes active and after clicking it, actual screen sharing starts (other meeting participants see shared screen).

WORKAROUND
1. sudo apt install xdg-desktop-portal=1.14.4-1ubuntu2~22.04.1
2. sudo apt-mark hold xdg-desktop-portal
3. systemctl --user restart xdg-desktop-portal.service

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 7.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520: 

ADDITIONAL INFORMATION
1. xdg-desktop-portal: 1.14.4-1ubuntu2~22.04.1 from 'http://archive.neon.kde.org/user jammy/main amd64 Packages'
2. Chrome: 127.0.6533.119-1 from 'https://dl.google.com/linux/chrome/deb stable/main amd64 Packages'
Comment 1 Mateusz 2024-09-13 17:28:08 UTC
Version of package with reported bug:
xdg-desktop-portal: 1.18.4-1+22.04+jammy+release+build1 from 'http://archive.neon.kde.org/user jammy/main amd64 Packages'

I've posted by mistake the other one in "ADDITIONAL INFORMATION", but I don't see option to edit it. Sorry for confusion.