XDG Activation

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

User avatar
xykreinov
Newbie
Newbie
Posts: 3
Joined: 2019-09-21, 14:49

XDG Activation

Unread post by xykreinov » 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. 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?

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1110
Joined: 2014-02-02, 22:15
Location: Chicago, IL, USA

Re: XDG Activation

Unread post by Nigaikaze » 2019-09-21, 18:15

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.
Nichi nichi kore ko jitsu = Every day is a good day.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24876
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: XDG Activation

Unread post by Moonchild » 2019-09-21, 19:15

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
Isengrim
Keeps coming back
Keeps coming back
Posts: 997
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: XDG Activation

Unread post by Isengrim » 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
Linux Mint 19.2 Cinnamon (64-bit), Windows 7 (64-bit), Windows 10 build 1803 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
xykreinov
Newbie
Newbie
Posts: 3
Joined: 2019-09-21, 14:49

Re: XDG Activation

Unread post by xykreinov » 2019-09-22, 16:28

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

vannilla
Astronaut
Astronaut
Posts: 697
Joined: 2018-05-05, 13:29

Re: XDG Activation

Unread post by vannilla » 2019-09-22, 16:50

Make sure there is a space between the 1 and "palemoon".

User avatar
Isengrim
Keeps coming back
Keeps coming back
Posts: 997
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: XDG Activation

Unread post by Isengrim » 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.)
Linux Mint 19.2 Cinnamon (64-bit), Windows 7 (64-bit), Windows 10 build 1803 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
xykreinov
Newbie
Newbie
Posts: 3
Joined: 2019-09-21, 14:49

Re: XDG Activation

Unread post by xykreinov » 2019-09-23, 20:11

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.

User avatar
Isengrim
Keeps coming back
Keeps coming back
Posts: 997
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: XDG Activation

Unread post by Isengrim » 2019-09-24, 00:27

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.
Linux Mint 19.2 Cinnamon (64-bit), Windows 7 (64-bit), Windows 10 build 1803 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
New Tobin Paradigm
Off-Topic Sheriff
Off-Topic Sheriff
Posts: 6201
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: XDG Activation

Unread post by New Tobin Paradigm » 2019-09-26, 23:25

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).
Image
- Old and insecure for legitimate and reasonable purposes. -
http://binaryoutcast.com/ | http://thereisonlyxul.org/ | Freenode #binaryoutcast

Post Reply