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 320865 - Register iCalendar MIME types
Register iCalendar MIME types
Status: RESOLVED WONTFIX
Product: Evolution Webcal
Classification: Deprecated
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Rodney Dawes
Rodney Dawes
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-11-07 11:04 UTC by Ross Burton
Modified: 2014-08-30 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ross Burton 2005-11-07 11:04:33 UTC
evolution-webcal currently only registers to handle the webcal: URL scheme, but
doesn't handle the iCalendar MIME type. It should.
Comment 1 Mark McLoughlin 2005-11-07 13:18:08 UTC
Wouldn't it get passed a copy of the downloaded .ics file rather than the URI
and so it wouldn't be able to subscribe to the original URI ? (I thought that
was one of the reasons for the webcal: URI scheme)
Comment 2 Ross Burton 2005-11-07 13:47:36 UTC
I think if the desktop file says it can load URIs, then Epiphay should Do The
Right Thing.
Comment 3 Ross Burton 2005-11-07 13:55:47 UTC
Dammit, I just tried this:

[Desktop Entry]
Encoding=UTF-8
Name=Evo Webcal
Exec=/usr/lib/evolution-webcal/evolution-webcal %u
MimeType=text/calendar
StartupNotify=true
Terminal=false
Type=Application

And Epiphany is still downloading the file locally before starting
evolution-webcal.  Personally I consider this an Epiphany bug, the desktop file
clearly states it can handle a URL.
Comment 4 Rodney Dawes 2005-11-07 16:23:37 UTC
I believe you need to use a capital U for the argument. However,
evolution-webcal cannot handle iCalendar files that are not on webcal/http/https
URIs. Adding a desktop file means that things will also try to pass local files
to it, or even files on remote hosts that are samba, sftp, or some other method.
This would a bad thing to do. I'm going to say that this is an Epiphany bug if
it is not opening webcal: URIs with evolution-webcal. If the URI is actually
http or https though, it is probably doing the "right" thing, and trying to use
the MIME type only. Yes, MIME and URI handling is still a giant mess. :-/

There is currently no possible way to say "this app only handles this mime type,
and only over this transport method". Should this be NOTABUG, WONTFIX, or just
moved to Ephinay for them to decide?
Comment 5 Ross Burton 2005-11-07 16:29:17 UTC
%U is list of URLs, %u is a single URL, so it should work.  However, Epiphany
ignores this and will always download a file, with the rationale that the URL
may depend on cookies or HTTP auth.

I'd like to see a custom field like MimeType added, say X-UriHandler, so the
desktop file can say that it handles text/calendar files on http, https and webcal.
Comment 6 Rodney Dawes 2006-02-12 18:51:01 UTC
This sounds like something that should be discussed on the xdg list then, and added to the desktop file specification. We also really need a cross-desktop specification for handling URIs in general, so that we don't continue sticking ourselves in the foot with the gconf stuff.
Comment 7 Bastien Nocera 2007-08-22 03:37:18 UTC
(In reply to comment #5)
> %U is list of URLs, %u is a single URL, so it should work.  However, Epiphany
> ignores this and will always download a file, with the rationale that the URL
> may depend on cookies or HTTP auth.

Does it work with Firefox? As for the rationale, I guess it's better than nothing for the calendar to be added, and if it doesn't work, evo-webcal will complain straight away.

> I'd like to see a custom field like MimeType added, say X-UriHandler, so the
> desktop file can say that it handles text/calendar files on http, https and webcal.

You're volunteered!
Comment 8 André Klapper 2014-08-30 00:06:08 UTC
evolution-webcal has not seen any code changes since May 2010:
https://git.gnome.org/browse/archive/evolution-webcal/log

This project is not under active development anymore and got recently archived
in GNOME Git.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this bug report in the future if anyone
takes the responsibility for active development again.