Bug 467831 - Portals do not open on Nvidia Wayland (Fedora 38)
Summary: Portals do not open on Nvidia Wayland (Fedora 38)
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.3
Platform: Flatpak Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-26 21:44 UTC by chriserizo
Modified: 2023-03-27 15:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chriserizo 2023-03-26 21:44:55 UTC
SUMMARY

Dialogs like Firefox's "Save Link / Image as..."  or even downloading files do not prompt any Window to open asking for the directory or which app to use to open the file. Same behaviour with any flatpak with an "Open ..." dialog option. I've checked that xdg portal and xdg portal kde are running, and they are.


STEPS TO REPRODUCE
1.  Launch any flatpak application
2. Click on a dialog such as "Open file in... / Save image as..." if available

OBSERVED RESULT
Nothing happens; no portal is opened and the application does nothing.

EXPECTED RESULT
A Portal should appear as usual.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 38
KDE Plasma Version:  5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Comment 1 Aleix Pol 2023-03-26 23:38:12 UTC
What makes you think it's because of Nvidia?

Can you check your logs (using `journalctl -xe`) to see if there's any outstanding error messages in there?

Can you see that it works with flatpak apps?
Comment 2 chriserizo 2023-03-27 11:12:46 UTC
(In reply to Aleix Pol from comment #1)
> What makes you think it's because of Nvidia?
> Nothing, just remarking is under Nvidia since I haven't seen this issue reported by AMD users
> Can you check your logs (using `journalctl -xe`) to see if there's any
> outstanding error messages in there?
>  Turns out there are quite a few errors:
> xdg-desktop-portal.service: Failed with resul>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has entered the 'failed' state with result 'timeout'.
Mar 27 13:10:46 robotta-coco-fedora systemd[1948]: Failed to start xdg-desktop-portal.service - >
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 568 and the job result is failed.
Mar 27 13:10:46 robotta-coco-fedora systemd[1948]: xdg-desktop-portal-gnome.service: Failed with>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has entered the 'failed' state with result 'timeout'.
Mar 27 13:10:46 robotta-coco-fedora systemd[1948]: Failed to start xdg-desktop-portal-gnome.serv>
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 584 and the job result is failed.

> Can you see that it works with flatpak apps?
It doesnt work with most flatpak apps I tried.
Comment 3 Aleix Pol 2023-03-27 14:12:39 UTC
This might be an installation problem. It should be using xdg-desktop-portal-kde.
Comment 4 chriserizo 2023-03-27 14:45:19 UTC
(In reply to Aleix Pol from comment #3)
> This might be an installation problem. It should be using
> xdg-desktop-portal-kde.

Tried removing and reinstalling KDE Plasma, but the problem still persists.
Comment 5 chriserizo 2023-03-27 15:21:50 UTC
FIXED: by removing xdg-desktop-portal-gnome.