[Bug 1226112] New: Supersede kmozillahelper by xdg-desktop-portal integration
https://bugzilla.suse.com/show_bug.cgi?id=1226112 Bug ID: 1226112 Summary: Supersede kmozillahelper by xdg-desktop-portal integration Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Firefox Assignee: factory-mozilla@lists.opensuse.org Reporter: fabian@ritter-vogt.de QA Contact: qa-bugs@suse.de CC: opensuse-kde-bugs@opensuse.org Target Milestone: --- Found By: --- Blocker: --- For some time now, Firefox (and Thunderbird I hope) can use xdg-desktop-portal APIs for DE integration. We should try to migrate away from kmozillahelper in favor of using the builtin xdg-desktop-portal integration. For that, we need to make sure that on Plasma it uses xdg-desktop-portal instead of GTK file dialogs out of the box. Currently this needs to be done manually by setting widget.use-xdg-desktop-portal.file-picker=1 widget.use-xdg-desktop-portal.mime-handler=1 I'm not sure about widget.use-xdg-desktop-portal.open-uri. Can we get FF and TB configured such that it uses xdg-desktop-portal by default if it detects a Plasma session? -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c4 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org --- Comment #4 from Fabian Vogt <fabian@ritter-vogt.de> --- (In reply to Björn Bidar from comment #3)
What is left that kmozillahelper does that the new switch to use the XDG-Portal doesn't do?
Nothing really relevant anymore FWICT.
From my point of view there should be no downside to use portals by default even outside of Plasma as it can useful for other use cases.
Not sure whether there are any edgecases. Some DEs might not have portals configured correctly or not available at all. So IMO doing this only for Plasma for now is safer. (In reply to Fabian Vogt from comment #2)
Ping - this is becoming more and more urgent.
Another week gone, maybe it helps to CC the maintainer directly. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c7 --- Comment #7 from Frank Krüger <fkrueger@mailbox.org> --- JFYI: https://bugzilla.suse.com/show_bug.cgi?id=1232567#c18 -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c8 --- Comment #8 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1226112) was mentioned in https://build.opensuse.org/request/show/1221400 Factory / MozillaFirefox-branding-openSUSE -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c9 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #9 from Wolfgang Rosenauer <wolfgang@rosenauer.org> --- It is now switched in Firefox. I think we should now wait a bit to see the impact/feedback coming in and if it's ok, maybe in this bug proceed to eol the kmozillahelper software in TW. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c16 --- Comment #16 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1226112) was mentioned in https://build.opensuse.org/request/show/1223283 Factory / MozillaFirefox-branding-openSUSE -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c19 --- Comment #19 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1226112) was mentioned in https://build.opensuse.org/request/show/1224250 Factory / MozillaThunderbird -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c22 Michael Pujos <pujos.michael@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pujos.michael@gmail.com --- Comment #22 from Michael Pujos <pujos.michael@gmail.com> --- What does "some desktops have limited support" even mean about xdg-desktop-portal ? I'm not using a DE, just bare i3 as a Windows Manager and I can use xdg-desktop-portal just fine in Firefox/Thunderbird with the GTK backend (I could as well use the KDE backend if I wanted). -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226112 https://bugzilla.suse.com/show_bug.cgi?id=1226112#c25 --- Comment #25 from Michael Pujos <pujos.michael@gmail.com> --- xdg-desktop-portal requires an implementation to also be installed for it to work. Here's the list (packages): xdg-desktop-portal-cosmic xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-hyprland xdg-desktop-portal-kde6 xdg-desktop-portal-lxqt xdg-desktop-portal-pantheon xdg-desktop-portal-wlr If a user does not have at least one of these installed, it cannot work. It's also possible the less common implementations may have bugs. At least the gtk and kde6 implementation work fine, I tested them both in Firefox/Thunderbird for file dialogs. To force the use of a specific implementation, simply link to the implementation portals.conf file in ~/.config/xdg-desktop-portal (create that folder if necesary). For example to force the use of the kde portal: ln -s /usr/share/xdg-desktop-portal/kde-portals.conf portals.conf (then relogin for the change to take effect. A 'systemd --user restart xdg-desktop-portal' may also be sufficient). Also, for proper operation when using a Window Manager, I have these line in my Xorg startup script: dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY QT_AUTO_SCREEN_SCALE_FACTOR QT_SCREEN_SCALE_FACTORS GDK_SCALE GDK_DPI_SCALE GTK_THEME This will make these environment variables seen by the xdg-desktop-portal* processes. Some of them are necessary for proper scaling/theming if they are set by the user in his startup scripts. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com