Bug 440956 - Discover unable to find some applications
Summary: Discover unable to find some applications
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.22.4
Platform: Neon Linux
: NOR grave
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-14 09:03 UTC by MK
Modified: 2021-08-17 14:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Discover results for "virtualbox" against apt search results (325.44 KB, image/png)
2021-08-14 09:03 UTC, MK
Details
appstreamcli search virtualbox result (55.01 KB, image/png)
2021-08-16 19:28 UTC, MK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MK 2021-08-14 09:03:42 UTC
Created attachment 140709 [details]
Discover results for "virtualbox" against apt search results

SUMMARY
Discover seems unable to find certain applications (eg. virtualbox)

STEPS TO REPRODUCE
1. run Discover
2. search for virtualbox

OBSERVED RESULT
irrelevant results are displayed

EXPECTED RESULT
Discover finds the relevant packages

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-25-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

ADDITIONAL INFORMATION
I removed the flatpak backend entirely via apt
Comment 1 MK 2021-08-14 09:05:07 UTC
Potentially relevant: https://bugs.kde.org/show_bug.cgi?id=440954
Comment 2 Nate Graham 2021-08-16 17:07:09 UTC
I suspect this is caused by KDE Neon's decision to hide GUI software from Discover in favor of encouraging users to get their software from Flatpak or Snap sources. It make Discover seem stupid, though. What does `appstreamcli search virtualbox` return for you?
Comment 3 MK 2021-08-16 19:28:09 UTC
Created attachment 140778 [details]
appstreamcli search virtualbox result

Apparently it can't seem to find Virtualbox
Comment 4 Nate Graham 2021-08-16 20:14:46 UTC
Yep, that means it has no AppStream metadata, which in the case of Neon is intentional. If this peeves you, you'll need to take it up with the Neon devs. :)
Comment 5 Harald Sitter 2021-08-17 08:55:29 UTC
(In reply to Nate Graham from comment #2)
> I suspect this is caused by KDE Neon's decision to hide GUI software from
> Discover

That isn't factual. We hide apps that aren't maintained by us because they are not maintained by us and thus potentially broken but most definitely outdated and not giving the user experience the developers intend the user to have. IOW discover only offers debs for apps we know are expected to work on neon. All other apps (that is: the ones inherited from ubuntu) are by default not supported - they may work, or not, we don't know or care really, but we also can't advertise broken stuff to the user.

https://neon.kde.org/faq#diff-

https://www.virtualbox.org/wiki/Downloads
Comment 6 Nate Graham 2021-08-17 14:21:02 UTC
Perhaps I should have been more precise and said, "GUI software from the Ubuntu repos". :) Nonetheless, the result is the same: apps that experienced users know are available using the command-line package manager do not not appear in Discover. In general I agree with not advertising unsupported software, but you have to admit it makes Discover look pretty dumb in this case. And it can be frustrating for software that is available but hidden in the main repos to not appear in Discover when it's not available elsewhere either.
Comment 7 Harald Sitter 2021-08-17 14:40:25 UTC
(In reply to Nate Graham from comment #6)
> but you have to admit it makes Discover look pretty dumb in this
> case. 

Sure.

> And it can be frustrating for software that is available but hidden in
> the main repos to not appear in Discover when it's not available elsewhere
> either.

It's not something we as KDE can do anything about though. If orcale doesn't put at least bootstrappers onto the app stores then that's orcales decision or maybe nobody told them to, and users are left with going to https://www.virtualbox.org/ It sucks to be sure, but there is no solution to that problem that we can facilitate.
Comment 8 MK 2021-08-17 14:55:01 UTC
(In reply to Harald Sitter from comment #7)
> (In reply to Nate Graham from comment #6)
> > but you have to admit it makes Discover look pretty dumb in this
> > case. 
> 
> Sure.
> 
> > And it can be frustrating for software that is available but hidden in
> > the main repos to not appear in Discover when it's not available elsewhere
> > either.
> 
> It's not something we as KDE can do anything about though. If orcale doesn't
> put at least bootstrappers onto the app stores then that's orcales decision
> or maybe nobody told them to, and users are left with going to
> https://www.virtualbox.org/ It sucks to be sure, but there is no solution to
> that problem that we can facilitate.

I have a couple questions here:

1. Any chance this decision can be turned into an "expert mode" option or something like that, so experienced users can get access to ubuntu packages through Discover after being informed about the dangers (think the way Firefox warns you upon visiting a suspicious site)

2. If the problem lies with Oracle, then why is it that krunner is able to find virtualbox and offer me the option to install it? Where is it fetching that info?

Thanks