Skip to content

Reenable browser source in Flatpak#4431

Merged
WizardCM merged 1 commit into
obsproject:masterfrom
GeorgesStavracas:gbsneto/flatpak-browser
Apr 16, 2021
Merged

Reenable browser source in Flatpak#4431
WizardCM merged 1 commit into
obsproject:masterfrom
GeorgesStavracas:gbsneto/flatpak-browser

Conversation

@GeorgesStavracas

Copy link
Copy Markdown
Member

Description

It seems that the browser source works inside a Flatpak sandbox and/or Wayland with CEF 4280, so let's try and reenable it.

This reverts commit e64c617.

Motivation and Context

The browser source is pretty important! 🙂

In addition to that, this is another step towards feature parity of the Flatpak build and regular builds.

How Has This Been Tested?

  • Install the Flatpak bundle generated by the "Flatpak (experimental)" workflow
  • Run this version OBS Studio
  • Add a browser source

Types of changes

I'm actually not sure? It could either be

  • Bug fix (non-breaking change which fixes an issue)

or

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@RytoEX RytoEX added Seeking Testers Build artifacts on CI kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. labels Apr 2, 2021
@RytoEX RytoEX added this to the OBS Studio 27.0 milestone Apr 2, 2021
It seems that the browser source works inside a Flatpak sandbox and/or
Wayland with CEF 4280, so let's try and reenable it.

This reverts commit e64c617.
@GeorgesStavracas GeorgesStavracas force-pushed the gbsneto/flatpak-browser branch from 5998276 to c8d1c0a Compare April 2, 2021 16:12
@GeorgesStavracas

Copy link
Copy Markdown
Member Author

The red macOS CI is our old device detach failure friend again

@rmnvgr

rmnvgr commented Apr 2, 2021

Copy link
Copy Markdown
Contributor

Hey, I just tested it (flatpak from the CI, Fedora 33, GNOME under Wayland session). Thank you so much for your work on the Wayland support.

Adding a browser source works, the content displays and the audio can be heard.

However, when adding a browser dock, the content of the window remains transparent (and maybe not related but I'm unable to dock that window into the main window):

Transparent browser dock window

I looked at the logs while opening the window but didn't see anything.

I also tried building OBS with the browser source in a VM, the result was the same, so I believe it must come from Wayland and not flatpak.

@GeorgesStavracas

Copy link
Copy Markdown
Member Author

Thanks, this is exactly the kind of testing I was hoping to get with the Flatpak CI 🙂

I'd consider using the browser source on Wayland unstable for now. Personally, I doubt CEF gets any testing on Wayland. But since OBS Studio now supports running on Wayland, I think it's better if you could please open an issue here in GitHub (and please CC me there so I don't forget)

@GeorgesStavracas

GeorgesStavracas commented Apr 2, 2021

Copy link
Copy Markdown
Member Author

I believe this PR is good to land. As demonstrated by @rmnvgr, the Flatpak really does contain the browser source now, which is the goal of this PR. The bugs are not caused or related to this PR, but it indeed enabled bugs like this to be caught through Flatpak 🙂

@RytoEX RytoEX marked this pull request as draft April 3, 2021 01:35
@RytoEX

RytoEX commented Apr 3, 2021

Copy link
Copy Markdown
Member

Putting this in draft for now to prevent merging until #4436 is ready to merge.

@RytoEX

RytoEX commented Apr 16, 2021

Copy link
Copy Markdown
Member

Since obsproject/obs-browser#284 was merged instead of #4436, is this ready to go now?

@GeorgesStavracas

Copy link
Copy Markdown
Member Author

Ah, thanks, yes it's probably good to go now 🙂

Undrafting

@GeorgesStavracas GeorgesStavracas marked this pull request as ready for review April 16, 2021 01:05
@WizardCM WizardCM merged commit 4956872 into obsproject:master Apr 16, 2021
@GeorgesStavracas GeorgesStavracas deleted the gbsneto/flatpak-browser branch April 19, 2021 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. Seeking Testers Build artifacts on CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants