Skip to content
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

Fix Linux support #106

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix Linux support #106

wants to merge 2 commits into from

Conversation

Menci
Copy link

@Menci Menci commented Jun 18, 2021

This PR fixes #43.

Technical details: The original code loads GTK+ inside the Unity process. It causes the gtk_init function to hang in a deadlock (See the backtrace here). I separated the GTK+ related code to a new executable (I'm not sure about Unity's directory structure so I bundled the executable in the library) and run it in a separated process (pass input with argv and get output from pipe()-d stdout) when opening a dialog.

@Menci Menci mentioned this pull request Jun 18, 2021
@thinkallabout
Copy link

+1 can this get merged in?

@HeySora
Copy link

HeySora commented Jul 6, 2022

+1!! really useful PR

@JohnGames
Copy link

I have implemented this in my fork as it fixes the bugs, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

not working on ubuntu
4 participants