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

Build with XDG Desktop Portal GUI backend on Linux #77

Closed
ImperatorStorm opened this issue May 14, 2022 · 12 comments
Closed

Build with XDG Desktop Portal GUI backend on Linux #77

ImperatorStorm opened this issue May 14, 2022 · 12 comments
Labels
priority I am working on it, or will soon

Comments

@ImperatorStorm
Copy link

ImperatorStorm commented May 14, 2022

While the rfd crate provides both GTK3 and xdg-desktop-portal backends, Ferium only builds the GTK3 backend, causing non-Gnome users to see this mess of a filechooser that likely doesn't conform to their desktop environment: GTK filechooser

Programs that do support the specification(e.g. Firefox+derivatives) instead provide a file chooser provided by their desktop environment. For example, Plasma provides this:
Plasma filechooser

Depends on PolyMeilex/rfd#42, which in turn depends on flatpak/xdg-desktop-portal#796

@theRookieCoder
Copy link
Collaborator

theRookieCoder commented May 20, 2022

@KyleUltimate I'm going to make three linux binaries

  • ferium-linux-gnu-nogui
  • ferium-linux-gnu-gtk
  • ferium-linux-gnu-xdg

What do you think? Do you think these will work out for the AUR packages? Arch users would know which GUI to pick so no problem with that imo

@theRookieCoder theRookieCoder added the priority I am working on it, or will soon label May 20, 2022
@theRookieCoder theRookieCoder changed the title Build with xdg-desktop-portal gui backend on Linux Build with XDG Desktop Portal gui backend on Linux May 20, 2022
@theRookieCoder theRookieCoder changed the title Build with XDG Desktop Portal gui backend on Linux Build with XDG Desktop Portal GUI backend on Linux May 20, 2022
@theRookieCoder
Copy link
Collaborator

theRookieCoder commented May 20, 2022

Oof the xdg backend just added 30 dependencies

@JustSimplyKyle
Copy link
Contributor

Should be fine, I'll just separate the -gui packages into -xdg and -gtk3

@JustSimplyKyle
Copy link
Contributor

Although for current -gui users, should they automatically migrate to xdg or gtk?

@JustSimplyKyle
Copy link
Contributor

Also, is this package opended by gorilla's dev?
https://aur.archlinux.org/packages/ferium

@theRookieCoder
Copy link
Collaborator

theRookieCoder commented May 20, 2022

Also, is this package opended by gorilla's dev? https://aur.archlinux.org/packages/ferium

Nope, I have no idea what that is or who uploaded it. It's not even named properly. Oh and it seems to have the bzip2 dependency which is you should probably add, it was added for unzipping modpack files (and also could you update the description & repo url & version for all 4 packages)

@theRookieCoder
Copy link
Collaborator

theRookieCoder commented May 20, 2022

I think I'll email the person and tell them that there are already official AUR packages

@theRookieCoder
Copy link
Collaborator

theRookieCoder commented May 20, 2022

should they automatically migrate to xdg or gtk

Is it possible to let them choose? If not choose one based on which DE is used the most on arch, I think it's probably Plasma because of Manjaro

@JustSimplyKyle
Copy link
Contributor

Hmm
Then I'll use xdg for default then
Since that will work no matter on gnome or plasma

@theRookieCoder
Copy link
Collaborator

Since that will work no matter on gnome or plasma

Yeah I read something like this somewhere. So is the GTK backend completely unnecessary?

@JustSimplyKyle
Copy link
Contributor

I think yeah

@theRookieCoder
Copy link
Collaborator

Fixed by b8b2725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority I am working on it, or will soon
Development

No branches or pull requests

3 participants