GNOME Bugzilla – Bug 791287
handle geo URI
Last modified: 2017-12-08 12:06:28 UTC
Should open the gnome maps app to handle geo URI, instead shows error because geo URI is interpreted as local file path https://en.wikipedia.org/wiki/Geo_URI_scheme
Do you have an example pdf file? This should be fairly simple to fix. In the code, we are either checking for a :// in the URL or mailto: Instead we should be using g_app_info_get_default_for_uri_scheme and get the uri scheme from the URI, and then act accordingly.
Created attachment 365175 [details] [review] shell: better handle external links Currently we only handle uris with :// and mailto: uris. Handle all uris that g_app_info actually can handle.
@Carlos this should fix this, but I wonder, is the mailto: only verification a safety measure???
(In reply to José Aliste from comment #3) > @Carlos this should fix this, but I wonder, is the mailto: only verification > a safety measure??? No idea :-P
Created attachment 365188 [details] [review] shell: Free app launch context According to the documentation, we have to free the context after use with g_object_unref.
Review of attachment 365175 [details] [review]: pushed to master
Review of attachment 365188 [details] [review]: I also pushed this fix for an old FIXME. according to docs we have to unref the launch context after using it.
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
Created attachment 365215 [details] test file with geo URI test file with geo URI (made with LaTeX/TeXStudio)
(In reply to José Aliste from comment #9) > This problem has been fixed in the unstable development version. The fix > will be available in the next major software release. You may need to > upgrade your Linux distribution to obtain that newer version. Thanks for this disclaimer. For a LinuxMint user this prbably will take years to arrive in my distribution, or is there another way to try it out? I searched evince dev ppa, gnome dev ppa but could not find a lead.