https://bugs.kde.org/show_bug.cgi?id=488193
Bug ID: 488193 Summary: Cannot create or launch dynamic launchers created with Flatpak portal Classification: Plasma Product: xdg-desktop-portal-kde Version: 5.27.11 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: eye...@codelogistics.net CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org Target Milestone: --- SUMMARY In Flatpak applications which can install custom desktop launchers at run time using the Dynamic Launcher portal, trying to install a launcher using the portal fails, and a notification saying 'Portal closed unexpectedly' appears. Specifically, the call to dynamic_launcher_prepare_install_finish() fails. Launchers created in GNOME fail to launch as well, with a notification saying 'you are not authorised to execute this file.' The launcher, located at ~/.local/share/applications/name.desktop, is a symlink to ~/.local/share/xdg-desktop-portal/applications/name.desktop which is not executable by when created by the portal in GNOME. Making this file executable solves the problem. STEPS TO REPRODUCE 1. Install https://flathub.org/apps/net.codelogistics.webapps 2. Click on add new web app and install any website OBSERVED RESULT The dialog to install the launcher does not appear, the launcher is not installed and a notification saying 'Portal closed unexpectedly' appears. EXPECTED RESULT The portal's inerface asks to install the launcher and the launcher gets installed. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Debian sid (available in About System) KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 ADDITIONAL INFORMATION This problem occurs in GNOME Web as well. It does not occur on GNOME -- You are receiving this mail because: You are watching all bug changes.