https://bugs.kde.org/show_bug.cgi?id=519204

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
AbstractResource::url() generally returns appstream:// URLs which all Discover
backends understand. SnapResource::url() instead returns
https://snapcraft.io/<app name> which nothing (not even itself) can parse,
effectively nuking the source dropdown.

Fix options:
 -  remove SnapResource::url(), let it use appstream as well
 -  store all query results as long as the store page is open
 -  try to use the snap backend and revert the name into an appstream id?
 -  parse https://snapcraft.io/<name> URLs and search by name, probably leads
to mismatches
 -  add an ?alt=appstream-id query or similar and let all other backends parse
https://snapcraft.io/ URLs. AppStreamUtils::appstreamIds already looks at the
alt parameter, but is used only for appstream URLs

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to