Skip to content

Re-enable native filepicker #4155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

GeorgesStavracas
Copy link
Member

@GeorgesStavracas GeorgesStavracas commented Jan 28, 2021

Description

Re-enable native file pickers in Linux when the browser plugin is enabled.

Motivation and Context

After the recent CEF upgrade, it seems Chromium doesn't conflict with GMainLoop anymore, so the reason to disable platform native file choosers, and the GLib mainloop integration, is gone.

How Has This Been Tested?

Build with the browser plugin, add a Browser source, and open any file using OBS Studio.

Types of changes

  • Code cleanup (non-breaking change which makes code smaller or more readable)

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.

After the recent CEF update, the GMainLoop-in-a-thread conflict seems to be
gone, which allows us to being back native dialogs.
The same reasoning of the previous patch means we can also stop
force-disabling Qt/GLib integration.
@GeorgesStavracas GeorgesStavracas changed the title Feaneron/reenable native filepicker Re-enable native filepicker Jan 28, 2021
@WizardCM WizardCM added Code Cleanup Non-breaking change which makes code smaller or more readable Seeking Testers Build artifacts on CI Linux Affects Linux labels Jan 28, 2021
@jp9000
Copy link
Member

jp9000 commented Jan 29, 2021

prays that nothing bad happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Non-breaking change which makes code smaller or more readable Linux Affects Linux Seeking Testers Build artifacts on CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants