Bug 503965 - MS Teams screen sharing not working when "Enhanced Media Controls" active
Summary: MS Teams screen sharing not working when "Enhanced Media Controls" active
Status: RESOLVED FIXED
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: Firefox (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 492329 504214 507473 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-05-09 15:56 UTC by Tolga Canatan
Modified: 2025-07-26 11:40 UTC (History)
11 users (show)

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


Attachments
the error message on MS Teams UI (27.24 KB, image/jpeg)
2025-05-09 15:56 UTC, Tolga Canatan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tolga Canatan 2025-05-09 15:56:22 UTC
Created attachment 181111 [details]
the error message on MS Teams UI

SUMMARY

I can't start screen sharing on MS Teams if the plugin setting "Enhanced Media Controls" is activated at that time.  (Webcam video is fine)

STEPS TO REPRODUCE
1. Enable the "Enhanced Media Controls" setting in plugin settings
2. Login to MS Teams
3. Join/Start a meeting
4. Click on "Share screen" button and confirm the browser confirmations to start sharing on Teams

OBSERVED RESULT

MS Teams error message: "We couldn't access your camera."

EXPECTED RESULT

It should start the screen sharing without an error.

SOFTWARE/OS VERSIONS
OpenSUSE Leap 15.6
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Firefox 138.0 (64-bit)


Similar issues:
https://bugs.kde.org/show_bug.cgi?id=435100
https://bugs.kde.org/show_bug.cgi?id=492329
Comment 1 Pozsgay Máté 2025-05-28 14:31:30 UTC
I'm having the same issue on latest Google Chrome:

SOFTWARE/OS VERSIONS
Ubuntu 22.04.5
Linux/KDE Plasma: 
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Google Chrome 136.0.7103.113
Comment 2 johan.claudebreuninger 2025-06-03 00:04:50 UTC
I can confirm this behaviour, and following entry on Arch Linux's routed me here: https://bbs.archlinux.org/viewtopic.php?id=305299

Uninstalling the Plasma Integration plugin for Chromium solved my screensharing issues. 

Operating System: Arch Linux 
KDE Plasma Version: 6.3.91
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500T CPU @ 2.30GHz
Memory: 16 Gio of RAM (15.3 Gio usable)
Graphics Processor: Intel® UHD Graphics 630
Manufacturer: LENOVO
Product Name: 11DQS02700
System Version: ThinkCentre M80q
Comment 3 John Kizer 2025-06-03 17:10:59 UTC
*** Bug 504214 has been marked as a duplicate of this bug. ***
Comment 4 Kevin Messer 2025-06-20 13:49:53 UTC
Hi,

The problem is also there on Plasma 6.4 on Fedora 42.
Comment 5 Iyán M. V. 2025-07-03 06:20:51 UTC
This has saved me some debug time :)

I can also confirm the issue in Arch Linux with both Firefox and Chromium. Removing the extension solves the issue.
Comment 6 Fabian Beutel 2025-07-20 10:14:22 UTC
Can confirm and reproduce the issue as well, in Chromium and Firefox on Plasma 6.4.2 (Wayland), Arch Linux.

Removing the extension solves the issue, adding it back makes it re-appear.
Comment 7 Kai Uwe Broulik 2025-07-20 10:50:57 UTC
Just had this too. Sucks that the preview works and it only breaks once you enter the meeting...
Comment 8 Bug Janitor Service 2025-07-24 16:38:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-browser-integration/-/merge_requests/150
Comment 9 Kai Uwe Broulik 2025-07-24 18:17:25 UTC
Git commit 0798809f811cfc7769c10ac1ff2fbb7ac83c1357 by Kai Uwe Broulik.
Committed on 24/07/2025 at 16:36.
Pushed by fvogt into branch 'master'.

Disable media controls on known conferencing pages

It can interfere with webcam or microphone and isn't meant
to control these anyway. Let's just disable them here
instead of trying to chase after all of them.
Related: bug 435418, bug 435100

M  +6    -0    extension/constants.js

https://invent.kde.org/plasma/plasma-browser-integration/-/commit/0798809f811cfc7769c10ac1ff2fbb7ac83c1357
Comment 10 Kai Uwe Broulik 2025-07-25 10:10:01 UTC
*** Bug 507473 has been marked as a duplicate of this bug. ***
Comment 11 Kai Uwe Broulik 2025-07-25 17:46:12 UTC
*** Bug 492329 has been marked as a duplicate of this bug. ***