Skip to content

QTBUG-98988: Add QXdgDesktopPortalFileDialog::useNativeFileDialog() / Fallback to another file dialog implementation when XDP is inaccessible

These are part of a bigger task at Qt: https://bugreports.qt.io/browse/QTBUG-98988

Pt.1 was already backported here: qt/backports-tracker#1891 (closed)

It should be runtime tested by someone with Flatpaks in their daily routine, as a Gentoo dev's system is not the most obvious place for that.

[PATCH 1/2] Add QXdgDesktopPortalFileDialog::useNativeFileDialog()

Task-number: QTBUG-98988
Pick-to: 6.4 6.3 6.2 5.15
Change-Id: I39417f089d839a9af009791088bd20058532bd7a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 6f9f6849c53e057e8b4186db64a1a6b5e1f31eca)

[PATCH 2/2] Fallback to another file dialog implementation when XDP is inaccessible

Fixes: QTBUG-98988
Pick-to: 6.4 6.3 6.2 5.15
Change-Id: Idca1ab4cae0e9eabebc599f3c8efa136a7973918
Reviewed-by: Jan Grulich <jgrulich@redhat.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit fb981a0954119ed0dfa4a402fdef78e7257ffc96)

* asturmlechner 2022-06-11: Fix conflict with dev branch commit
	ceaa7d6341e666f6fe0d071ea34cad9877961a0e

Merge request reports