https://bugs.kde.org/show_bug.cgi?id=520866

            Bug ID: 520866
           Summary: Discover installs wrong version of Flatpak extension
    Classification: Applications
           Product: Discover
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Flatpak Backend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
  Target Milestone: ---

DESCRIPTION

When installing an extension for a Flatpak, Discover doesn't seem to make sure
that the runtime version of the extension matches the installed version of the
extended package.

STEPS TO REPRODUCE
1. Install an older version of GIMP (e. g. `flatpak install
o1d82a86436bcda3b796c0af551b21bc6a3043dd950a37e016150ab97347187b8 --commit
1d82a86436bcda3b796c0af551b21bc6a3043dd950a37e016150ab97347187b8`)
2. Install `org.gimp.GIMP.Plugin.Resynthesizer`
3. Look for actions like "heal" or "resynthesizer" in the GIMP UI, check
`flatpak info org.gimp.GIMP` and `flatpak info
org.gimp.GIMP.Plugin.Resynthesizer` for the runtime version

OBSERVED RESULT

The plugin doesn't get loaded, as it has the wrong runtime version.

EXPECTED RESULT

The plugin gets loaded and you can use Resynthesizer in GIMP.

SOFTWARE/OS VERSIONS

Discover: 6.4.5
Ubuntu 25.10 (Wayland)
KDE Frameworks: 6.17.0
Qt: 6.9.2 wird verwendet und gebaut wurde mit 6.9.2
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.17.0-29-generic


ADDITIONAL INFORMATION

There is an issue in Flatpak to only offer compatible versions to install:
https://github.com/flatpak/flatpak/issues/5581

Once this is resolved, Discover still has to make sure how to show in the user
interface if an extension is available, but not in the correct version – it
seems like clicking the "Extensions" button currently only searches for
flatpaks of type extension for the specific flatpak ID.

I'm not sure how flatpak handles/will handle updates of Flatpaks when there are
extensions installed that don't support the newer version. This will probably
need UI design, too – we should notify the user if a package can't be updated
because of extensions and allow to uninstall the extensions.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to