XDG Desktop portal support for Java Swing applications

Hi all

I was wondering what the status is for using XDG Desktop Portals with Java Swing applications. I’m specifically interested in the File Chooser portal.

I tried just setting GTK_USE_PORTAL=1 on a Java Swing app which uses GTK 3 look and feel, but that doesn’t seem to change much. Are there any efforts to enable this?

The application must use GtkFileChooserNative in order to use the portal code; otherwise, you get the standard, in process file selection dialog which does not use the portal.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.