Discoverable menu item action in the UI for importing individual events (or meeting invitations) from .ics files into an existing calendar
Looks like https://bugzilla.gnome.org/show_bug.cgi?id=739295 was lost in the migration:
Right now, GNOME Calendar only handles EDS sources. It should support opening and managing ICS files as well.
[...]
At this point (gnome-calendar 3.22.2), when having gnome-calendar set as the default calendar application instead of Evolution, gnome-calendar will be started when clicking on a .ics file in e.g. Geary or Nautilus. I assume this is due to the presence of "MimeType=text/calendar;" in "org.gnome.Calendar.desktop". The application will be attempted to be launched...and fail gracefully without any form of notification or visual clue.
Note: when importing individual events, you make sure to import them in a way that creates a copy that does not depend on the source .ics file, which very well might be deleted by the user and lead to situations like issue #390.
This is also relevant to integration with Geary.
2023 update:
As of version 41 and newer, this dialog is now implemented in GNOME Calendar (see the src/gui/importer/
folder in the source code, which was implemented as part of issue #5 (closed)):
…but it is only accessible by opening a .ics file "with GNOME Calendar" from another application (such as Nautilus), which may be hard to discover.
Ideally:
- GNOME Calendar's mimetype association should have priority over Evolution by default
- We should provide a "Import events from .ics files…" menu action…
- …in GNOME Calendar's main "hamburger" menu
- …in the GNOME Shell dash desktop launcher: #1187
…so that users don't need to use Nautilus (or to know how to deal with mimetypes etc.). This part here would be easy to implement by a newcomer: that action should open a FileChooser widget (through a portal) that allows selecting one (or multiple) ics file(s), then pass that info to the existing event import dialog.