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 743769 - fails to render tasks / VTODO items from iCalendar URLs
fails to render tasks / VTODO items from iCalendar URLs
Status: RESOLVED NOTABUG
Product: evolution
Classification: Applications
Component: Tasks
3.12.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-01-31 13:51 UTC by daniel
Modified: 2015-02-11 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Github-iCalendar integration screenshot (95.48 KB, image/png)
2015-02-11 14:12 UTC, daniel
Details

Description daniel 2015-01-31 13:51:06 UTC
I've also reported this is a Debian bug, #776705 as I'm using the packaged version of Evolution on Debian jessie.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776705


I've tried to view a list of VTODO items from an iCalendar feed in the
Evolution tasks panel.

They don't appear.

Steps to reproduce / test the issue:

- create an ics file, put it on a web server somewhere, e.g.
     http://localhost/test-file.ics

- put a mixture of VEVENT and VTODO items in the ics file

- in Evolution, click
     - New
     - Calendar
     - On The Web
     - URL: put in the URL of the test ics file, e.g.
               http://localhost/test-file.ics

Look in the calendar and the VEVENT items (e.g. birthdays, appointments)
from the ics file are displayed correctly but the VTODO items don't
appear in the task list.

I tested this against the iCalendar support being added to UDD:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775180
and the github-icalendar module:
http://danielpocock.com/github-issues-as-an-icalendar-feed

The same test feeds and static hosted ics file are loaded correctly in
Mozilla Lightning.

If there is some bug parsing the VTODO feed then Evolution should
display a warning to let the user know that it is not displaying the
full content of the feed.  Otherwise, the user may look in the tasks panel and think there aren't any tasks at all when there are some tasks but they are just not being displayed.
Comment 1 Milan Crha 2015-02-10 17:55:50 UTC
(In reply to daniel from comment #0)
> - put a mixture of VEVENT and VTODO items in the ics file
> 
> - in Evolution, click
>      - New
>      - Calendar

Thanks for a bug report. Evolution works differently, the source type tells it what to read from the given file. If you configure a Calendar, then it'll read VEVENT components, if you configure a Tasks List, then it'll read VTODO components. It's not ideal to point two sources into the same file, but as long as it's read only it's okay.
Comment 2 daniel 2015-02-10 19:00:34 UTC
I'm not sure what you mean by "Evolution works differently"

If it hides information from users, or creates extra effort for the user (asking them to set up the source in multiple places) is not being "different", it is just broken.

The RFC is quite clear:

https://tools.ietf.org/html/rfc5545#section-3.4

   The Calendaring and Scheduling Core Object is a collection of
   calendaring and scheduling information.  Typically, this information
   will consist of an iCalendar stream with a single iCalendar object.
   However, multiple iCalendar objects can be sequentially grouped
   together in an iCalendar stream.

It is not appropriate for Evolution to try and go against what is in the RFC and be inconsistent with other client programs such as Mozilla Lightning or even Outlook.

In any case, I couldn't find anywhere in the Tasks section of Evolution to add an iCalendar source, it only seems to let me add the source in the Calendars panel.
Comment 3 Milan Crha 2015-02-11 11:23:47 UTC
(In reply to daniel from comment #2)
> ...it is just broken.

No, Evolution works differently, it has a different design. Reworking it is quite impossible.

> In any case, I couldn't find anywhere in the Tasks section of Evolution to
> add an iCalendar source, it only seems to let me add the source in the
> Calendars panel.

File->New->Tasks List and point it to the same file, with an On The Web type, the same way as with the Calendar.
Comment 4 daniel 2015-02-11 14:10:34 UTC
This option to add a Task List had not been obvious to me because of the way everything moves around in the menu.

This type of confusion is probably specific to this situation with Calendar/Tasks

When I was in the Tasks panel, I clicked the New menu, I looked down the bottom and saw Calendar and thought that is the way to proceed because (a) that is how it is done in other clients and (b) Calendar was down there with other things such as Address Book.  I didn't notice Task List exists as an option because it is elsewhere in the top of the menu.

After finding this other option I was able to get my task list from Github-iCalendar into Evolution but there is a UI bug, I'm opening a separate bug report for that.

Even if the task and calendar settings are stored differently, isn't there some way you can add something to the UI to ask people when adding a calendar "Do you want to create a new Task List with a copy of the URL for this Calendar?".
Comment 5 daniel 2015-02-11 14:12:20 UTC
Created attachment 296601 [details]
Github-iCalendar integration screenshot

This shows how the tasks from a Github-iCalendar feed appear.  Using http://danielpocock.com/github-issues-as-an-icalendar-feed
Comment 6 Milan Crha 2015-02-11 15:20:19 UTC
What is your exact evolution and gtk3 version, please? I do not recall seeing this "almost empty task list" bug in any recent time (unfortunately neither where it led). We might look on it in your new bug report, which is...?
Comment 7 daniel 2015-02-11 15:26:26 UTC
Here is the new bug report:
https://bugzilla.gnome.org/show_bug.cgi?id=744329