Bug 451198

Summary: If app's Appstream ID ends in .desktop, searching for it without the .desktop suffix fails
Product: [Applications] Discover Reporter: Nate Graham <nate>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.26
Sentry Crash Report:

Description Nate Graham 2022-03-06 15:25:36 UTC
> $ xdg-open appstream://org.kde.okular
Discover opens but can't find Okular.

> $ xdg-open appstream://org.kde.okular.desktop
Discover opens and displays Okular.

as a fallback, maybe we should look for the other version too (with or without .desktop on the end) if going to one doesn't find anything.

This issue causes the button on https://apps.kde.org/okular to not work properly in Discover.
Comment 1 Nate Graham 2022-10-11 13:45:10 UTC
This is working now.