Bug 484111

Summary: Discover attempts to install Snap package instead of Flatpak package.
Product: [Applications] Discover Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: Snap BackendAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aleixpol
Priority: NOR Flags: 4wy78uwh: performance-
Version: 6.0.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://discuss.kde.org/t/discover-got-flatpak-and-snap-packages-confused/12740/2?u=rokejulianlockhart
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Depiction of the problem.

Description Roke Julian Lockhart Beedell 2024-03-21 00:12:51 UTC
STEPS TO REPRODUCE
1.  Install cpe:/o:opensuse:tumbleweed:20240318.
2.  Install https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/discover6-6.0.2-2.1.x86_64.rpm.
3.  Adhere to https://forum.snapcraft.io/t/installing-snap-on-opensuse/8375#add-the-repository-1.
4.  Invoke "gdb plasma-discover".
5.  Enable debuginfo.
6.  Search for Authy.
7.  Select its Flathub listing.

OBSERVED RESULT
It attempts to install from Snapcraft's servers.

EXPECTED RESULT
It should install https://dl.flathub.org/repo/appstream/com.authy.Authy.flatpakref.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240318
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
https://discuss.kde.org/t/discover-got-flatpak-and-snap-packages-confused/12740/2?u=rokejulianlockhart
Comment 1 Roke Julian Lockhart Beedell 2024-03-21 00:13:04 UTC
Created attachment 167529 [details]
Depiction of the problem.
Comment 2 Roke Julian Lockhart Beedell 2024-03-21 00:15:45 UTC
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #0)
https://discuss.kde.org/t/discover-got-flatpak-and-snap-packages-confused/12740/3?u=rokejulianlockhart