Bug 23644 - xdg-desktop-portal-kde is not a dependency for plasma-discover with flatpak under Plasma Workspace
Summary: xdg-desktop-portal-kde is not a dependency for plasma-discover with flatpak u...
Status: ASSIGNED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard:
Keywords: 8beta1
Depends on:
Blocks:
 
Reported: 2018-10-06 16:12 CEST by Patric Schramm
Modified: 2021-01-08 17:40 CET (History)
3 users (show)

See Also:
Source RPM: xdg-desktop-portal-kde-5.20.4-1.mga8.src.rpm, meta-task-8-0.36.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Patric Schramm 2018-10-06 16:12:21 CEST
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.


How reproducible:


Steps to Reproduce:
1.Install flatpak
2.Install flatpak QGIS
3.Try to open a file in QGIS
Comment 1 Marja Van Waes 2018-10-07 14:36:58 CEST
Assigning to the registered maintainer.

Assignee: bugsquad => ngompa13
CC: (none) => marja11

Comment 2 Patric Schramm 2019-05-10 14:58:28 CEST
This bug is still not fixed and is also valid for MGA 7 Beta
Comment 3 Neal Gompa 2019-06-17 01:02:46 CEST
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

Status: NEW => ASSIGNED

Comment 4 Aurelien Oudelet 2020-08-23 15:12:36 CEST
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.

Hardware: x86_64 => All
Assignee: ngompa13 => geiger.david68210
Keywords: (none) => 8beta1
Version: 6 => Cauldron
CC: (none) => ouaurelien
Source RPM: flatpak-0.10.3-1.mga6.src.rpm => xdg-desktop-portal-kde-5.19.4-2.mga8.src.rpm

Aurelien Oudelet 2020-08-23 15:13:40 CEST

Summary: 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

Comment 5 David GEIGER 2021-01-06 08:13:39 CET
I don't see any others distribs who added xdg-desktop-portal-kde as recommended package nor as a required!
Comment 6 Patric Schramm 2021-01-06 16:40:02 CET
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.
Comment 7 David GEIGER 2021-01-06 16:58:39 CET
What about users who doesn't use plasma?
Comment 8 Patric Schramm 2021-01-06 17:35:55 CET
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.
Comment 9 David Walser 2021-01-06 23:50:41 CET
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.

Priority: Normal => release_blocker
Source RPM: xdg-desktop-portal-kde-5.19.4-2.mga8.src.rpm => xdg-desktop-portal-kde-5.19.4-2.mga8.src.rpm, meta-task-8-0.35.mga8.src.rpm

Comment 10 Nicolas Lécureuil 2021-01-08 14:58:45 CET
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

CC: (none) => mageia

Comment 11 Aurelien Oudelet 2021-01-08 15:27:48 CET
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.

Source RPM: 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

Aurelien Oudelet 2021-01-08 17:40:18 CET

Source RPM: xdg-desktop-portal-kde-5.20.4-1.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.36.mga8.src.rpm
Summary: 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


Note You need to log in before you can comment on or make changes to this bug.