teams-for-linux icon indicating copy to clipboard operation
teams-for-linux copied to clipboard

screen share broken on ubuntu 22.04 with snap package.

Open petersilva opened this issue 3 years ago • 11 comments

Describe the bug I have a ubuntu 22.04 installed, and everything seems fine, when I try to share content in a call ... it gives me the first dialog for sharing screens, then a second dialog where I can choose the entire screen or a single window. It doesn't matter which one I pick, share never works.

To Reproduce Steps to reproduce the behavior:

  1. Install from Snap Store
  2. Click on Share Content
  3. Choose screen or window to share.
  4. othe people on the call do not see the shared content.

Expected behavior People should see the screen or window I am trying to share.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: ubuntu 22.04
  • Installation package snap
  • Version 1.0.24 Additional context

petersilva avatar Mar 31 '22 19:03 petersilva

Can you check the closed issues? Some people had a similar issue and was sorted (something to do with Wayland). It could also be a snap configuration issue.

If the later, you can check if that works fine using another package distribution. Hope helps

On Thu, 31 Mar 2022, 20:36 Peter Silva, @.***> wrote:

Describe the bug I have a ubuntu 22.04 installed, and everything seems fine, when I try to share content in a call ... it gives me the first dialog for sharing screens, then a second dialog where I can choose the entire screen or a single window. It doesn't matter which one I pick, share never works.

To Reproduce Steps to reproduce the behavior:

  1. Install from Snap Store
  2. Click on Share Content
  3. Choose screen or window to share.
  4. othe people on the call do not see the shared content.

Expected behavior People should see the screen or window I am trying to share.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: ubuntu 22.04
  • Installation package snap
  • Version 1.0.24 Additional context

— Reply to this email directly, view it on GitHub https://github.com/IsmaelMartinez/teams-for-linux/issues/526, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJHEHCPGYBYEVEJVNZRGDVCX5DDANCNFSM5SGN3AEQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

IsmaelMartinez avatar Apr 01 '22 06:04 IsmaelMartinez

I bet this is the exact same bug I've been hitting in Fedora 36 (Gnome 42). Happens consistently across Chromium/Electron and OBS, with FF working fine and all of them working perfectly in Fedora 35 (Gnome 41).

OBS pretty much rules out being a Chromium-specific regression, but it's also not a full-blown PipeWire/xdg-desktop-portal one either as FF remains functional and it can't be an app regression as same versions remain functional if a roll back to 35 🤔.

I'll try out Sway to confirm whether it's a Gnome 42 regression, otherwise it's probably a portal/pw update thing.

kon14 avatar Apr 04 '22 18:04 kon14

Since upgrading to Fedora 36 I've the same problem.

luis-alves avatar May 16 '22 14:05 luis-alves

Ubuntu 18.04 with KDE, X11. It was broken for a while, then started working again, then now broken again.

whisperity avatar May 18 '22 10:05 whisperity

Hi, have any of you tried with another package manager?

IsmaelMartinez avatar May 18 '22 18:05 IsmaelMartinez

Hi, have any of you tried with another package manager?

@IsmaelMartinez Hey! I have the thing installed natively.

whisperity avatar May 19 '22 07:05 whisperity

Also stopped working for me after updating to Ubuntu 22.04 from 21.10 (Wayland). Installed via .deb package.

hierr avatar May 23 '22 21:05 hierr

Hi, I have had the same problem, I got an error when trying to share the screen from teams-for-linux, I am not an expert in linux, but by insisting in the end I got a (temporary) way to share the desktop screen.

I have used as a bridge a Firefox window with google meet capturing the screen. I give to present without microphone and without webcam.

Then, in a chrome browser window, I launch teams online, and activate the microphone and webcam. Then I present the previous firefox tab that contains the screenshot.

This has worked for me now.

I did several tests and among other things I installed the following:

  • lsb_release -a #### Distributor ID: Ubuntu #### Description: Ubuntu 22.04 LTS #### Release: 22.04 #### Codename: jammy

  • cat /proc/version #### Linux version 5.15.0-39-generic (buildd@lcy02-amd64-069) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #42-Ubuntu SMP Thu Jun 9 23:42:32 UTC 2022

  • teams-for-linux #### 1.0.24

  • microsoft teams #### teams_1.5.00.10453_amd64.deb

  • teams online, with a professional account (https://teams.microsoft.com) #### Versión 1.0

  • google-chrome --version #### Google Chrome 102.0.5005.115

  • firefox --version #### Mozilla Firefox 101.0.1

  • ffmpeg -version #### ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers #### built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)

I hope someone finds it helpful.

josemcvgh avatar Jun 18 '22 11:06 josemcvgh

This might be the solution, it fixes screen sharing for me: https://github.com/IsmaelMartinez/teams-for-linux/pull/545

ThePsyjo avatar Aug 04 '22 14:08 ThePsyjo

@ThePsyjo you just renamed an IPC message name. It should not fix the actual problem.

jijojosephk avatar Aug 05 '22 13:08 jijojosephk

@ThePsyjo you just renamed an IPC message name. It should not fix the actual problem.

I'll test this as soon as I get the chance to do so. I had already previously rebased v1.0.24 to Electron v19.0.9 for a custom Flatpak build of mine and everything worked as expected, so hopefully this one will do so as well.

kon14 avatar Aug 05 '22 16:08 kon14

@petersilva @kon14 @luis-alves @whisperity @hierr @josemcvgh could you check if the latest version works? 1.0.29

jijojosephk avatar Aug 20 '22 04:08 jijojosephk

It works now @jijojosephk

luis-alves avatar Aug 20 '22 08:08 luis-alves

@luis-alves Thanks, closing this.

jijojosephk avatar Aug 20 '22 08:08 jijojosephk