Description of problem:
Installing flatpak and install the flatpak version of QGIS you are not able to
open the file dialog in QGIS. Installing xdg-desktop-portal-kde (iam running plasma) solves the Problem.
This package is essential for many flatpaks.
Steps to Reproduce:
2.Install flatpak QGIS
3.Try to open a file in QGIS
Assigning to the registered maintainer.
This bug is still not fixed and is also valid for MGA 7 Beta
I've bumped up the flatpak stack to a supported version and fixed this issue by adding Recommends: xdg-desktop-portal to flatpak.
It's sitting in updates-testing for cauldron right now as part of a freeze move request: https://ml.mageia.org/l/arc/dev/2019-06/msg00126.html
On Plasma system, when flatpak is installed, xdg-desktop-portal-kde is not installed.
This is current situation on Mageia 8 beta 1 (actual Cauldron).
It should be recommended on such systems or as flatpak already default installed in Beta 1, provides xdg-desktop-portal-kde by default on Plasma Live ISO.
Assigning to latest maintainer.
xdg-desktop-portal is not a depency for flatpak-0.10.3-1.mga6.x86_64.rpm =>
xdg-desktop-portal-kde is not a dependency for flatpak-1.8.1-1.mga8
I don't see any others distribs who added xdg-desktop-portal-kde as recommended package nor as a required!
That maybe the case but without the package several menus eg. in qgis flatpak the data browser does not work and if i remember correctly this is the case in many flatpaks.
What about users who doesn't use plasma?
There is a xdg-desktop-portal-gtk package for Gnome etc. I am not shure if the xdg-desktop-portal package alone es enough to get it working.
Probably "Requires" is not the way to solve this issue. The appropriate xdg-desktop-portal-* package should be installed by default for each desktop environment by including it in the rpmsrate file of meta-task.
xdg-desktop-portal-kde and xdg-desktop-portal requires already flatpak.
So the good rationnal is to install them instead of flatpak.
We can't add xdg-desktop-portal-kde as a require of flatpak as it would install KDE/KF5 libraries on non Plasma WM
Some people does not want flatpak by default to be installed.
The rationale of the bug is to have the good desktop integration portal to be installed when flatpak is installed:
1) xdg-desktop-portal-kde for Plasma/lxqt to provide QT file dialog integration.
2) xdg-desktop-portal-gtk for GNOME and all GTK DE.
The best thing that can be done is to advertise to install Plasma Discover to have flatpak support under Plasma, and make it to pull xdg-desktop-portal-kde.
xdg-desktop-portal-kde-5.19.4-2.mga8.src.rpm, meta-task-8-0.35.mga8.src.rpm =>
xdg-desktop-portal-kde-5.20.4-1.mga8.src.rpm, meta-task-8-0.35.mga8.src.rpm =>
xdg-desktop-portal-kde is not a dependency for flatpak-1.8.1-1.mga8 =>
xdg-desktop-portal-kde is not a dependency for plasma-discover with flatpak under Plasma Workspace