Needs porting to new PackageKit DBus API
Affected version
- Nightly flatpak: Yes
- Stable 3.32: Yes
Steps to reproduce
- From a Files window, try to open a file of a type which no installed application can open.
- In the dialog that pops up, click the "Search in Software" button.
Current behavior
A notification pops up:
Additional MIME Types Required
An application is requesting additional fonts.
[ Find in Software ]
Problems with current behavior
- The notification says "An application", as if it doesn't know which application.
- The notification is asking confirmation again, when the user has already confirmed on step 2..
Desired behavior
No notification. Instead, the Software app opens and finds apps to install.
Additional information
This can be fixed by porting from the outdated org.freedesktop.PackageKit.Modify
DBus interface, to the current org.freedesktop.PackageKit.Modify2
, defined here.
As a side effect, this will remove the need for some X11-specific inclusions and guards, as mentioned here.
The new DBus interface also allows us to export a desktop-startup-id
, to let the Software app window pop up above the other windows.
Edited by António Fernandes