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

Firefox Wayland, KDE Filechooser portal not launching #138

Open
boredsquirrel opened this issue Oct 16, 2024 · 4 comments
Open

Firefox Wayland, KDE Filechooser portal not launching #138

boredsquirrel opened this issue Oct 16, 2024 · 4 comments

Comments

@boredsquirrel
Copy link

Output of bubblejail --version

0.9.3

Your distro name and version

Fedora Kinoite 40

Description

in about:config I enabled

widget.use-xdg-desktop-portal.file-picker 1

when disabling it, the nonfunctional integrated GTK portal launches.

When enabling it, it gives this error

(org.mozilla.firefox:2): Gdk-WARNING **: 09:12:03.022: Server is missing xdg_foreign support
[Parent 2, Main Thread] WARNING: Failed to export handle, could not set transient for: 'glib warning', file /builddir/build/BUILD/firefox-131.0.2/toolkit/xre/nsSigHandlers.cpp:187

(org.mozilla.firefox:2): Gtk-WARNING **: 09:12:03.022: Failed to export handle, could not set transient for

As this is not happening outside of bubblejail or with the Flatpak, I assume this is a bubblejail issue.

@igo95862
Copy link
Owner

Hello @boredsquirrel

To be able to use portal you need to activate the gnome_toolkit service and the gnome_portal setting.

yield DbusSessionTalkTo("org.freedesktop.portal.*")

I plan on revisiting the portal integration but this is currently the only way to activate portals.

@boredsquirrel
Copy link
Author

hi there, how would I do that?

@igo95862
Copy link
Owner

Add this to config:

[gnome_toolkit]
gnome_portal = true

@boredsquirrel
Copy link
Author

Thanks! Interesting, this makes FF use the KDE Portal even without setting the about:config variable.

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

No branches or pull requests

2 participants