Bug 499839

Summary: xdg-desktop-portal-kde opens on wrong screen in non-qt apps
Product: [Plasma] xdg-desktop-portal-kde Reporter: Alexad <al.neodim>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: aleixpol, nicolas.fella
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexad 2025-02-11 21:12:48 UTC
In dual display setup the dialog (xdg-desktop-portal) always pops up on a wrong screen/display if run from non-qt apps (e.g. google-crhome). It doesn't appear on a display where the original application that triggers `xdg-desktop-portal` is run.
Comment 1 Bug Janitor Service 2025-02-11 21:33:39 UTC
Thank you for the bug report!

However Plasma 6.1.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.2 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 6.1.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.
Comment 2 Nicolas Fella 2025-02-11 21:39:56 UTC
You are talking about the file dialog, right?

I haven't tested it, but I would guess this happens when the application doesn't pass a parent window to the portal, so the portal has no idea where the dialog should go
Comment 3 Alexad 2025-02-12 15:43:14 UTC
(In reply to Nicolas Fella from comment #2)
> You are talking about the file dialog, right?
Correct. It worked properly in 23.10

It's frustrating to see so many bugs being constantly brought by every KDE update.