Bug 158540 - interpret calendar event when dragging into To-Do section
Summary: interpret calendar event when dragging into To-Do section
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: todo (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 18:15 UTC by Mikolaj Machowski
Modified: 2011-07-27 21:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Machowski 2008-02-28 18:15:29 UTC
Version:           3.5.9 (using KDE 3.5.9)
Installed from:    Compiled From Sources
OS:                Linux

When dragging calendar event into To-Do section description is used literally as To-Do template.

Title becomes:
BEGIN:VCALENDAR 

Description becomes:
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 3.5//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20080228T170840Z
ORGANIZER;CN=Mikolaj Machowski:MAILTO:xxx@xx.xx
ATTENDEE;RSVP=FALSE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT:mailto:
 xxx@xx.xx
CREATED:20080223T235010Z
UID:libkcal-127040591.1033
SEQUENCE:2
LAST-MODIFIED:20080224T113853Z
DESCRIPTION:Testowanie kodowaÄ w mc *i* cygwinie. Zmienna encoding? 
 guglu\, guglu\nKonieczne do zmiany katalogu z linii poleceĹ i 
 wyszukiwania plikĂłw.\n\nTest:\n- wprowadzanie pliterek w linii 
 poleceĹ\n- szukanie plikĂłw C-S\n- okienka dialogowe
SUMMARY:Test mc - pliterki
CATEGORIES:Biznes
DTSTART:20080225T090000Z
DTEND:20080225T093000Z
TRANSP:OPAQUE
END:VEVENT

END:VCALENDAR

Note several things:
1) completely unreadable for casual user
2) broken encoding; Polish diacritics (input iso-8859-2) becomes mangled UTF-8
3) missed oportunities: unprocessed Category, Attendees, Dates
Comment 1 Mikolaj Machowski 2008-02-28 18:19:50 UTC
VCALENDAR note is interpreted when dragging Note into To-Do section.

Although there is small bug: it creates attachment which is impossible to open: "Malformed URL". With properly interpreted text there is no sense to create attachments.
Comment 2 Mikolaj Machowski 2009-02-15 14:23:11 UTC
This is basically fixed, body of event is properly transferred to body of todo. Some omissions though: data about Location is lost when dragging; also due time could be done smartly and point to event time and date, not week default.
Comment 3 Mikolaj Machowski 2011-07-27 21:31:18 UTC
Fixed as of today trunk.