Bug 430258 - Software Center plugin only finds KDE apps
Summary: Software Center plugin only finds KDE apps
Status: RESOLVED INTENTIONAL
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 13:59 UTC by Patrick Silva
Modified: 2020-12-16 21:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-12-11 13:59:54 UTC
STEPS TO REPRODUCE
1. search for a KDE app like ktorrent or akregator available in the repositories: krunner shows "Software Center - Get <searched app>" row as expected
2. search for a non-KDE app like transmission, qbittorrent, celluloid, smplayer, element available in the repositories: spinner never stops in the search field and krunner finds nothing 

EXPECTED RESULT
Software Center plugin should find any app available in the repositories

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Comment 1 Aleix Pol 2020-12-15 15:41:33 UTC
Can you check whether these applications have appstream entries? They should, you can check by querying "appstreamcli search <app>".

For me searching qbittorrent in KRunner does work.

FWIW there's no kde-specific code on the krunner plugin, there's just the appstream query.
Comment 2 Patrick Silva 2020-12-15 16:13:41 UTC
(In reply to Aleix Pol from comment #1)
> Can you check whether these applications have appstream entries? They
> should, you can check by querying "appstreamcli search <app>".

output here:

Unable to find component matching qbittorrent!
Comment 3 Aleix Pol 2020-12-15 16:18:43 UTC
Ah, now I remember, that's because neon is not exposing appstream from outside of their repositories.

I guess it would make sense for the krunner to include snap or flatpak then. It can't be easily done though.
Comment 4 Nate Graham 2020-12-16 21:45:36 UTC
So basically this behaves as expected due to Neon's configuration.

If you're unsatisfied, there are two courses of action:
1. File a new bug on Neon asking for the configuration to be changed
2. File a new bug on KRunner asking for the apps runner to return results from Snap and Flatpak too (if available).