Created attachment 178398 [details] discover prefers flatpak SUMMARY Discover displays the Flatpak logo on apps that are available through PackageKit, even if PackageKit is set as the Default Source. Opening an app page also defaults to the Flatpak version, even if the rpm version is already installed. STEPS TO REPRODUCE 1. Open Discover 2. Have PackageKit set as the default source 3. Search for "yakuake" (or anything else really that's on flatpak and packagekit) OBSERVED RESULT Yakuake has the Flatpak emblem, and clicking it opens the app page defaulted to flatpak, not the rpm that is already installed. See attached screenshot EXPECTED RESULT Only apps that are not available through PackageKit (and/or actually installed through Flatpak) get the emblem, and the page that is opened should be one for the installed version, and starting from the default source if it is not installed (with. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 41 KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.2 Kernel Version: 6.12.13-200.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz Memory: 15.5 GiB of RAM Graphics Processor: Intel® HD Graphics 520 ADDITIONAL INFORMATION Happens on both git master and stock Fedora 41 version of Discover on one of my laptops, and on my Desktop also stock Fedora 41, but not on another laptop with stock Fedora 41. The only difference that comes to mind is that the laptop where it works was upgraded from Fedora 40, while the other two were directly installed as Fedora 41. discoverrc seems identical between the desktop (incorrect) and laptop (correct), except for window state.
Created attachment 178399 [details] Discover settings showing that Flatpak is not the default source
When you navigate to the application page of yakuake, where it shows the screenshots and description and stuff, can you click the sources box in the top right and tell us what's listed and what's selected there? Also, any useful output when you start the app from a terminal?
Created attachment 179252 [details] discover sources combobox screenshot
Created attachment 179253 [details] output when running discover in terminal
See the new attachments. I noticed that this only seems to happen with search; if I browse the installed packages it will show the RPM version immediately. This is from master, if you want the stock Fedora 41 version as well let me know.