** Also affects: xdg-desktop-portal (Ubuntu Jammy)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/1975638
Title:
Broken background portal autostart in 1.14.3
Status in xdg-desktop-portal package in Ubuntu:
Fix Committed
Status in xdg-desktop-portal source package in Jammy:
New
Bug description:
- Impact
With 1.14.3 the background portal creates a broken autostart file (it
sends an incorrectly quoted app ID to implementations). This means
apps like EasyEffects or Pika Backup cannot rely on the background
portal to create a working autostart file. Please update to xdg-
desktop-portal 1.14.4 https://github.com/flatpak/xdg-desktop-
portal/releases/tag/1.14.4 which fixes this issue.
- Test Case
1. Install ASHPD Demo
https://flathub.org/apps/details/com.belmoussaoui.ashpd.demo from
Flathub
2. Within the app make a background portal request with auto start
enabled (you must accept the prompt from GNOME Shell)
3. Note the contents of
~/.config/autostart/com.belmoussaoui.ashpd.demo.desktop is a desktop
file, however the exec key’s value has an app id with quotes, making
it invalid.
4. After logging out and in or restarting, the app will not already be
running, even though it previously asked the portal API for it to be
auto started.
The same steps can be repeated with EasyEffects from Flathub instead
of ASHPD Demo, note the EasyEffects switch is named "Start Service at
Login" within EasyEffects' preferences menu.
When the bug is fixed, the created desktop file for auto start is
valid and the app will start after login.
- Regression potential
The update is a new minor version including the fix for that bug and
translation updates (which are going to be imported by launchpad but
not part of the deb on Ubuntu)
The codepath change is specific to flatpak commandline parsing so
check that flatpaks still start correctly
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1975638/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp