No feedback when launching an invalid URI
Submitted by Iain Lane
Link to original bug (#788424)
Description
If I click a link somewhere to an invalid URI, gnome-software launches to its front page. On the console this message is logged:
12:08:20:0203 Gs failed to convert URL to GsApp: no application was created for running url-to-app with refine-flags=require-icon with failure-flags=use-events with timeout=60 with search=appstream://you.must.be.joking/ on plugin=snap
To reproduce, you can for example run -
$ xdg-open appstream://this.is.invalid
from a terminal.
I'm attaching a patch and a screenshot to start a design discussion. We're shipping this in Ubuntu, but I'm up for refining it to get this upstream.