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

Linux fixes #197

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Linux fixes #197

merged 2 commits into from
Jan 6, 2025

Conversation

TheComputerGuy96
Copy link
Contributor

@TheComputerGuy96 TheComputerGuy96 commented Jan 6, 2025

This allows the folder picker to work on Linux (at least if xdg-desktop-portal is installed)

Fixes #145

The GTK 3 backend of rfd is relatively problematic (it causes
a whole app freeze when the command function isn't async and
a SIGABRT on app exit when it is async: tauri-apps/plugins-workspace#2255)
so use the better-working xdg-portal backend instead (this will
also help with Flatpak compatibility)

This also removes the unused tauri-plugin-dialog dependency
(which conflicts with our rfd features)
After adding extra dependencies, that build job turns green again

This is basically a revert of 5a215c1
@louis-e
Copy link
Owner

louis-e commented Jan 6, 2025

Looks good to me, thanks a lot!

@louis-e louis-e merged commit 8ca2cf9 into louis-e:main Jan 6, 2025
3 checks passed
@benjamin051000
Copy link
Contributor

benjamin051000 commented Jan 6, 2025

Whoa, that's so weird. Before #127, specifying "rfd = x.x.x" in this way resulted in a compile fail on Linux... I wonder what changed since then, or what I got wrong in that PR? 🤷🏼‍♂️

Now it compiles, runs, and the file picker opens! So I'm happy! Confused... but happy! Thanks.

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.

[BUG] "Select an existing world" hangs on Linux
3 participants