Page 1 of 1

XDG Activation

Posted: 2019-09-21, 15:21
by xykreinov
For the 28.7.0 update, one of the highlighted changes is native xdg file picker support. Yet, when I attempt a download, it is still gtk. I am currently using KDE Plasma 5.16.5, for reference.
I looked all throughout the settings and could not find anything for changing the default file picker. Am I missing something?

Re: XDG Activation

Posted: 2019-09-21, 18:15
by Nigaikaze
xykreinov wrote:
2019-09-21, 15:21
For the 28.7.0 update, one of the highlighted changes is native xdg file picker support. Yet, when I attempt a download, it is still gtk.
See further details here ...

https://github.com/MoonchildProductions/UXP/issues/999

... specifically the last two posts for that issue.

Re: XDG Activation

Posted: 2019-09-21, 19:15
by Moonchild

Re: XDG Activation

Posted: 2019-09-21, 19:52
by Isengrim
To summarize, you will need several things:
  • xdg-desktop-portal-kde package
  • GTK+ 3.20 or higher
  • Environment variable GTK_USE_PORTAL=1
  • widget.allow-gtk-native-file-chooser in about:config is set to true

Re: XDG Activation

Posted: 2019-09-22, 16:28
by xykreinov
Isengrim wrote:
2019-09-21, 19:52
To summarize, you will need several things:
  • xdg-desktop-portal-kde package
  • GTK+ 3.20 or higher
  • Environment variable GTK_USE_PORTAL=1
  • widget.allow-gtk-native-file-chooser in about:config is set to true
Hmmm, I have assured all of this. Yet, I do not have any luck. Does the user agent mode setting matter? I'm just throwing out ideas.
For reference, screenshots showing I've completed the steps:
- Image
- Image
- Image
- Image

Re: XDG Activation

Posted: 2019-09-22, 16:50
by vannilla
Make sure there is a space between the 1 and "palemoon".

Re: XDG Activation

Posted: 2019-09-23, 02:25
by Isengrim
Are you using a custom build of Pale Moon? Pale Moon must be built with the GTK3 toolkit in order to use the XDG portal, but official builds use GTK2. (I forgot to mention that in my original post, my bad.)

Re: XDG Activation

Posted: 2019-09-23, 20:11
by xykreinov
Isengrim wrote:
2019-09-23, 02:25
Are you using a custom build of Pale Moon? Pale Moon must be built with the GTK3 toolkit in order to use the XDG portal, but official builds use GTK2. (I forgot to mention that in my original post, my bad.)
Ah, I'm guessing this is it. Could you please show me how to do that? I've followed the instructions to install Pale Moon from source successfully. But, I'm clueless on how to build it from source with GTK3.

Re: XDG Activation

Posted: 2019-09-24, 00:27
by Isengrim
There are build instructions available on the developer site, but be warned that custom builds - even just changing the GTK toolkit - are not officially supported. Meaning if something breaks, you're on your own with figuring it out, unless you can reproduce the same exact issue with an official build.

So in other words, you won't be able to use the XDG portal with Pale Moon in any officially supported capacity, unless PM gets an official GTK3 build for Linux in the future. You're welcome to try it on your own, just keep in mind the limited support for such a build.

Re: XDG Activation

Posted: 2019-09-26, 23:25
by New Tobin Paradigm
There are plans to add a GTK3 Linux64 build to the line up of Official "Generic" builds. But this requires infrastructure changes specifically with the Application Update Service to accommodate it. There is just a fuckton on my plate at the moment.

IF you can hold out for while, you will be able to switch to it when it gets out the door. Likely with Pale Moon 28.8.0. (might be next point release of 28.7.x but don't expressly count on it).