To reproduce: - Open Discover and type 'keepass' in search field. Expected result: The program KeePassX should be displayed in search result Actual result: KeePassX is not displayed in search result
Works for me with 5,12.5 on Kubuntu 18.04. What distro are you using?
I had the issue on both Kubuntu 18.04 and then Neon (I say 'had' because I have since then uninstalled them due to other issues I also had with kde). I was honestly a little surprised because I know you have worked hard on improving Discover. Should have taken a screen shot of it... But I got the exact same result in both distros: keepassx was missing from search result, while displaying two unrelated entries (same unrelated entries in both distros). I plan to install Neon again once the 18.04 version is out, I can report back then.
Works here on ArchLinux too both for distro packages and flatpak.
Created attachment 113327 [details] Search result for string 'keepass'
Created attachment 113328 [details] Search result for string 'keepassx'
Thanks for the screenshot, that helps. If you click on "Applications" and search for "keepass", do you get more appropriate results?
BTW, just hit the PrintScreen key on your keyboard and the Spectacle program will open, allowing you to take a screenshot; no need to point your phone at the screen!
(In reply to Nate Graham from comment #6) > Thanks for the screenshot, that helps. If you click on "Applications" and > search for "keepass", do you get more appropriate results? I get no result at all (i.e. 'Sorry, nothing found..."). I take it then you are not able to reproduce this issue? (Thanks for the screenshot tip, but I took the pics with my phone because I tried Neon in a VM on another machine simply to see if I could reproduce the reported issue; it was faster/easier to simply snap the pics with my phone than transfer the pics from that machine....)
I am not able to reproduce this issue with Kubuntu running on real hardware. Are you in a live session, perchance? Can you successfully search for *anything* while in the Applications category?
The screenshots are from a live session. But the initial report was filed after installing the distros (Kubuntu 18.04 and Neon), and fully updated the system - hence my bug report: the result from the live session is IDENTICAL to what I saw after the installations. I wouldn't have reported it if I weren't running on metal (even though I would probably still have expected it to work in a VM as well). Yep, if I search 'word' I get 'LibreOffice Writer', among several other text editor suggestions; I actually tried this very search in my previous installations as well, just to confirm that I could get any relevant hits at all. That's why I specifically reported only KeePassX.
Very weird, thanks for the info.
What these screenshots are showing is Discover without any appstream information on the system. This issue gets fixed, on Debian* distros by running "apt update". Maybe it was just the first time you'd use Discover?
accron1@yahoo.com, let us know if the issue is fixed after an `apt update` and restarting Discover. Aleix, could we have Discover automatically do this if it detects that there's no AppStream metadata downloaded?
I did: - boot into a live session running in a VM - run 'sudo apt update' - open Disover and search 'keepass', both from main screen and under Applications Result: exactly as reported earlier Isn't this to be expected though, given that: 1) the exact search 'keepassx' does find the app (i.e. if it were a matter of missing data then you wouldn't expect the exact search to return anything either) 2) as I explained in comment #10, I had this issue on a fully updated system as well
Does comment #14 provide the requested information? Please set the bug status or add a comment.
Created attachment 113604 [details] Screenshot of search 'keepass' on main screen in Kde Neon, installed and running on bare metal, and fully updated. As reported, I got the same error not only in VM live session, but also running on bare metal and fully updated. The screenshot shows that.
Created attachment 113605 [details] Screenshot of search 'keepass' in Application screen in Kde Neon, installed and running on bare metal, and fully updated. As reported, I got the same error not only in VM live session, but also running on bare metal and fully updated. The screenshot shows that.
Created attachment 113606 [details] Screenshot of exact search 'keepassx' on main screen in Kde Neon, installed and running on bare metal, and fully updated. As reported, I got the same error not only in VM live session, but also running on bare metal and fully updated. The screenshot shows that.
Can you check what's the output of "appstreamcli search keepass"?
(In reply to Aleix Pol from comment #19) > Can you check what's the output of "appstreamcli search keepass"? Output is (in direct translation): "Could not find component matching keepass!" I also searched for 'keepassX', and interestingly enough the output is the same even though the exact search does work in Discover.
There's something broken in your appstream set up. I recommend checking with your distro.