SUMMARY When opening a system file dialog in a flatpak QT application (QGIS) the dialog is launched behind the main app window. This has been observed on Ubuntu 18.04. See original issue https://github.com/flathub/org.qgis.qgis/issues/11 STEPS TO REPRODUCE 1. sudo add-apt-repository ppa:alexlarsson/flatpak 2. sudo apt update && sudo apt install flatpak 3. flatpak install --from https://flathub.org/repo/appstream/org.qgis.qgis.flatpakref 4. flatpak run org.qgis.qgis 5. In QGIS app menu select Project->Open OBSERVED RESULT Notification message is raised 'Portal "Choose a QGIS Project File to Open" is ready', but the file open dialog is launch in background in separate window. EXPECTED RESULT SOFTWARE/OS VERSIONS Linux: Ubuntu 18.04.4 LTS Qt Version: 5.14.2 ADDITIONAL INFORMATION using ppa:alexlarsson/flatpak $ sudo apt-get install xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-kde flatpak Reading package lists... Done Building dependency tree Reading state information... Done xdg-desktop-portal-kde is already the newest version (5.12.7-0ubuntu0.1). flatpak is already the newest version (1.7.2-flatpak2~bionic). xdg-desktop-portal is already the newest version (1.7.1-flatpak2~bionic). xdg-desktop-portal-gtk is already the newest version (1.7.1-flatpak1~bionic). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
This is not an issue in xdg-desktop-portal-kde: 1) You use Ubuntu (GNOME), therefore you use xdg-desktop-portal-gtk 2) This has been fixed in Qt, however, there is still some issue in GTK probably as I could reproduce this with GTK apps