Bug 1226112 - Supersede kmozillahelper by xdg-desktop-portal integration
Summary: Supersede kmozillahelper by xdg-desktop-portal integration
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Factory Mozilla
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-08 15:20 UTC by Fabian Vogt
Modified: 2024-06-27 19:03 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2024-06-08 15:20:22 UTC
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?
Comment 1 Frank Krüger 2024-06-27 19:03:38 UTC
(In reply to Fabian Vogt from comment #0)
> 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?

JFYI: Removing kmozillahelper solved bug #1215852.