Bug 5758

Summary: Unable to share screen in Google Meet (works with Chromium from Fedora)
Product: Fedora Reporter: Marcin Zajaczkowski <mszpak>
Component: chromium-freeworldAssignee: qvint <dotqvint>
Status: RESOLVED FIXED    
Severity: enhancement CC: ab, dotqvint, jan
Priority: P1    
Version: f32   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Marcin Zajaczkowski 2020-09-16 22:17:51 CEST
I'm not able to share my screen in Google Meet if chromium-freeworld is used. It works fine with a regular chromium package from Fedora.

I've recently switched to chromium-freeworld for good (due to the issue with conflicting build ids [1][2], instead of using it only when needed for unsupported codecs) and I;ve thought that my recent update to Fedora 32 broke it. However, in I've tested it with older chromium-freeworld versions on F32 and also with the recent one on F31 and I suspect it is a long standing problem.

Steps to reproduce:
1. Login to any Gmail/GSuite account
2. Go to https://meet.google.com
3. Start new meeting

Current behavior:
1. The "Present" button, on the video test window (just before creating a meeting) is inactive
2. When created/joined a meeting clicking the "Present" button shows error: "Your browser can't share your screen".

Expected behavior:
I can share my screen (or an application window or a Chromium tab with others) - the same as with a regular Chromium build for Fedora.


I have not idea why it happens. The only visible difference is the following error in the Chromium console:
> Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.      skm-duaj-xat:1
(but it might be red herring)

Both Chromium uses the same profile. Reinstalling the official Chromium build for Fedora solves the problem.

Verified with:
chromium-common-85.0.4183.83-1.fc32.x86_64
chromium-freeworld-84.0.4147.125-1.fc32.x86_64
chromium-freeworld-83.0.4103.106-1.fc32.x86_64
chromium-freeworld-81.0.4044.92-1.fc32.x86_64
and
chromium-freeworld-85.0.4183.102-1.fc31


[1] - https://bugzilla.rpmfusion.org/show_bug.cgi?id=5743
[2] - https://bugzilla.redhat.com/show_bug.cgi?id=1869037
Comment 1 Marcin Zajaczkowski 2020-09-16 23:25:47 CEST
chromium-common-85.0.4183.83-1.fc32.x86_64 → chromium-freeworld-85.0.4183.83-2.fc32
Comment 2 Marcin Zajaczkowski 2020-09-20 23:29:32 CEST
Looking for possible solutions for bug 5743, I've noticed that the original Fedora rpm spec has an option to be build as a freeworld variant:
https://src.fedoraproject.org/rpms/chromium/blob/master/f/chromium.spec#_41

There is a chance that Google Meet doesn't work with chromium-freeworld due to one of ~100 patches missing. I know that chromium-freeworld is a continuation of problematic in maintain freeworld-libs for Chromium, but I don't know the outset of this package. As a result, I don't know what is a reason of not sharing the same spec file (or very similar with just some extra patches) to the Fedora upstream version (to make the maintenance easier)?
Comment 3 qvint 2020-09-21 00:05:29 CEST
(In reply to Marcin Zajaczkowski from comment #2)
> There is a chance that Google Meet doesn't work with chromium-freeworld due to one of ~100 patches missing.

I suspect it's just because freeworld has "enable_hangout_services_extension" set to false.
Comment 4 Marcin Zajaczkowski 2020-09-21 00:19:06 CEST
> I suspect it's just because freeworld has "enable_hangout_services_extension" set to false.

After reading that Debian thread I had a similar suspicions:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886358

I wonder, if it was done on purpose (to keep it disabled) or it was just a change applied in the official Fedora package later on which wasn't backported?
Comment 5 Jan Kratochvil 2020-09-21 07:51:29 CEST
(In reply to Marcin Zajaczkowski from comment #4)
> I wonder, if it was done on purpose (to keep it disabled) or it was just a
> change applied in the official Fedora package later on which wasn't
> backported?

No need to wonder, GIT is your friend. Fedora has it true from the beginning
  https://src.fedoraproject.org/rpms/chromium/c/0df9641b97490bb416253df0f618ab620248a10a
while rpmfusion has it false from the beginning:
  https://pkgs.rpmfusion.org/cgit/free/chromium-freeworld.git/commit/?id=13ea22cdb3bf37484836e362fca4d796a8287be6
Comment 6 Marcin Zajaczkowski 2020-09-21 22:04:44 CEST
> No need to wonder, GIT is your friend. Fedora has it true from the beginning
> while rpmfusion has it false from the beginning:

Thanks :). That answers one part of the question. The second, if it was done intentionally (e.g. to protect the RPM Fusion users privacy) or not remains open.
Comment 7 qvint 2020-09-24 20:17:23 CEST
*** Bug 5766 has been marked as a duplicate of this bug. ***
Comment 8 qvint 2021-01-20 10:22:42 CET
Fixed in 85.0.4183.121-1