Bug 422535 - Plasma blcks acces to microphone for electron apps
Summary: Plasma blcks acces to microphone for electron apps
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: master
Platform: openSUSE Linux
: NOR grave
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-06 12:39 UTC by Cyrille Dunant
Modified: 2020-07-27 12:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrille Dunant 2020-06-06 12:39:44 UTC
SUMMARY

Electron apps -- in particular skype and MS Teams -- cannot see the webcam or microphone. This occurs under an x11 session, but not under a Wayland session. This behaviour does not occur under an xfce session, even when kwin_x11 (--replace) is used. Native apps don not seem affected

I have tried to disable the media-player applet, but this didn't change the result.

STEPS TO REPRODUCE
1. Launch a session
2. Launch skype/teams
3. No webcam/mic

OBSERVED RESULT

No webcam or mic.

EXPECTED RESULT

Should be webcam/mic

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: opensuse unstable KDE RPMs
(available in About System)
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.71
Qt Version: 5.15

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-06-11 03:43:53 UTC
Does the microphone appear visible in the Audio Volume system tray applet?
Comment 2 Cyrille Dunant 2020-06-11 08:20:28 UTC
I just tested again, after spending about a week on a wayland session because of this issue, and it looks like it's working again.

I don't know what was the problem.
Comment 3 Nate Graham 2020-06-11 12:41:43 UTC
Thanks.
Comment 4 Cyrille Dunant 2020-07-27 10:38:42 UTC
I have found the cause for the bug, and thought it would be useful info to pass on.

It's an issue with the X security: with xhost+, the apps work as expected.
Comment 5 David Edmundson 2020-07-27 12:47:07 UTC
That doesn't sound like there's anything wrong our side. Are you running apps as different users?

Please reopen if there's anything to indicate there is an issue with our software.
Comment 6 Cyrille Dunant 2020-07-27 12:48:57 UTC
I don't know there's a bug with kwin, but the defaults seem different than under icewm, for example, where xhost+ is not necessary. 

It's not necessarily a bug, but I thought you should know.