Bug 38121 - xdg-open generic should call xdg-email for mailto: links
Summary: xdg-open generic should call xdg-email for mailto: links
Status: RESOLVED MOVED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.1.0 rc1
Hardware: All Linux (All)
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 09:58 UTC by chadberg
Modified: 2019-02-16 13:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description chadberg 2011-06-09 09:58:19 UTC
Not every application is well enough behaved to call xdg-email for mailto: links, and not everyone is using a DE that will handle this.  In these cases, xdg-open should detect the mailto: and pass it on to xdg-email.

e.g., in my own xdg-open I have added 

> if (echo "$1" | grep -q '^mailto:')
>         then xdg-email "$1"
>         exit_success
>     fi

to the open_generic routine, after the file: check and before passing it to the browser.  I had a circumstance where clicking a mailto: on a web page was opening a new blank browser window instead of the intended behavior.
Comment 1 GitLab Migration User 2019-02-16 13:30:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org'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.freedesktop.org/xdg/xdg-utils/issues/46.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.