After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788424 - No feedback when launching an invalid URI
No feedback when launching an invalid URI
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-10-02 12:13 UTC by Iain Lane
Modified: 2018-01-24 17:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
details: Show an in-app notification when passed an invalid file or URL (6.54 KB, patch)
2017-10-02 12:23 UTC, Iain Lane
none Details | Review
screenshot of proposal (508.96 KB, image/png)
2017-10-02 12:41 UTC, Iain Lane
  Details

Description Iain Lane 2017-10-02 12:13:56 UTC
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.
Comment 1 Iain Lane 2017-10-02 12:23:19 UTC
Created attachment 360767 [details] [review]
details: Show an in-app notification when passed an invalid file or URL

Previously there was no feedback when gnome-software was fed a bad URL
on the commandline - show a message.
Comment 2 Iain Lane 2017-10-02 12:41:22 UTC
Created attachment 360771 [details]
screenshot of proposal

I think it's actually true that we could say something to the effect of

 “Could not find ‘%s’“

here. What we know is that we tried to search all the configured plugins and none of them returned a result, so maybe that's good enough?
Comment 3 GNOME Infrastructure Team 2018-01-24 17:48:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/236.