Bug 362962 - On first run, calendars are read-only, and calendar files are not created
Summary: On first run, calendars are read-only, and calendar files are not created
Status: CLOSED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: general (show other bugs)
Version: 2.11.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
: 368532 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-11 23:48 UTC by David Jarvie
Modified: 2020-08-17 23:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 16.08.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Jarvie 2016-05-11 23:48:19 UTC
KDE Frameworks 5.21
Plasma Workspace 5.5
KDE Applications 16.04

Reproducible: Always
Comment 1 David Jarvie 2016-10-16 23:01:55 UTC
QUrl is being constructed with a local file path parameter, whereas it should include a file:// scheme prefix. It may be that the resource config file is not storing the scheme, but should be.
Comment 2 David Jarvie 2016-10-16 23:02:52 UTC
*** Bug 368532 has been marked as a duplicate of this bug. ***
Comment 3 David Jarvie 2016-10-21 17:31:37 UTC
The file path was wrongly being saved in the resource config file as a local path instead of a full URL.

Fixed in version 2.11.10-5 / KDE Applications 16.08.3 (commit 72b42951fc44bccf5dcbfa0a986f39e6e3b3e86e).
Comment 4 David Jarvie 2016-10-27 19:32:44 UTC
This is how to make KAlarm work if you have a KDE 5 based version of KAlarm which has this bug (if you can't upgrade to the version which is fixed). Create the following 3 files:

~/.local/share/kalarm/calendar.ics
~/.local/share/kalarm/expired.ics
~/.local/share/kalarm/template.ics

All of the files should have the following content:

BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN
VERSION:2.0
X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0
X-KDE-KALARM-VERSION:2.7.0
END:VCALENDAR