Bug 237288 - New alarms cannot be deferred
Summary: New alarms cannot be deferred
Status: CLOSED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 20:56 UTC by Degand Nicolas
Modified: 2011-05-17 16:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: KDE 4.4.5


Attachments
My alarms calendar (20.21 KB, text/calendar)
2010-05-13 10:27 UTC, Degand Nicolas
Details
Test as asked in comment #3 1/4 (18.29 KB, text/calendar)
2010-05-26 09:59 UTC, Degand Nicolas
Details
Test as asked in comment #3 2/4 (3.46 KB, text/calendar)
2010-05-26 10:00 UTC, Degand Nicolas
Details
Test as asked in comment #3 3/4 (7.23 KB, text/calendar)
2010-05-26 10:00 UTC, Degand Nicolas
Details
Test as asked in comment #3 4/4 (2.52 KB, text/plain)
2010-05-26 10:01 UTC, Degand Nicolas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Degand Nicolas 2010-05-11 20:56:48 UTC
Version:           2.4.5 (using 4.4.3 (KDE 4.4.3), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.32-5-amd64

Since KDE SC 4.4.3 (I guess) new alarms cannot be deferred anymore. I get the following message : "Cannot defer alarm : Alarm not found". Some old alarms can still be deferred.
Comment 1 David Jarvie 2010-05-12 23:04:34 UTC
I can't reproduce the bug - I tried with both recurring and non-recurring new alarms. Can you please attach your active alarm calendar file containing a non-deferrable alarm(probably ~/.kde/share/apps/kalarm/calendar.ics), and identify at least one example of an alarm you can't defer. You can edit the display texts in the calendar if you like, for privacy.
Comment 2 Degand Nicolas 2010-05-13 10:27:36 UTC
Created attachment 43529 [details]
My alarms calendar

At least the first alarm "moutouelle" contains the bug
Comment 3 David Jarvie 2010-05-21 18:16:38 UTC
Unfortunately I still can't reproduce the problem.

1) Does the bug happen with recurring alarms, or only non-recurring ones?

2) Can you please attach your KAlarm config file (probably ~/.kde/share/config/kalarmrc).

3) Can you also try displaying the Defer dialogue for an alarm you know will show the bug, and before clicking OK in the Defer dialogue, make a copy of the following files in the ~/.kde/share/apps/kalarm/ directory (or wherever your calendar files are:

   - calendar.ics
   - displaying.ics
   - expired.ics

Once you have confirmed that the bug happens when you click OK, please attach these three files, and identify which alarm you were testing the bug with.

Hopefully that will give me enough information to find out what's going wrong.
Comment 4 Degand Nicolas 2010-05-24 20:09:39 UTC
Le vendredi 21 mai 2010, David Jarvie a écrit :

> 1) Does the bug happen with recurring alarms, or only non-recurring ones?

Seems to only happen with non recurring ones.
 
> 2) Can you please attach your KAlarm config file (probably
> ~/.kde/share/config/kalarmrc).

Done.

> 3) Can you also try displaying the Defer dialogue for an alarm you know
> will show the bug, and before clicking OK in the Defer dialogue, make a
> copy of the following files in the ~/.kde/share/apps/kalarm/ directory (or
> wherever your calendar files are:
> 
>    - calendar.ics
>    - displaying.ics
>    - expired.ics

Done

> Once you have confirmed that the bug happens when you click OK, please
> attach these three files, and identify which alarm you were testing the
> bug with.

The alarm name is "test"

> Hopefully that will give me enough information to find out what's going
> wrong.
Comment 5 David Jarvie 2010-05-26 00:20:12 UTC
You haven't attached the files.
Comment 6 Degand Nicolas 2010-05-26 09:59:36 UTC
Created attachment 43898 [details]
Test as asked in comment #3 1/4
Comment 7 Degand Nicolas 2010-05-26 10:00:10 UTC
Created attachment 43899 [details]
Test as asked in comment #3 2/4
Comment 8 Degand Nicolas 2010-05-26 10:00:45 UTC
Created attachment 43900 [details]
Test as asked in comment #3 3/4
Comment 9 Degand Nicolas 2010-05-26 10:01:08 UTC
Created attachment 43901 [details]
Test as asked in comment #3 4/4
Comment 10 David Jarvie 2010-05-27 02:10:23 UTC
Thanks. It turns out that the alarm isn't being written to displaying.ics when it is shown. There should be a fix soon.
Comment 11 David Jarvie 2010-05-30 11:17:26 UTC
Now fixed in KDE 4.4 branch (SVN commit 1132307). Note that this bug does not apply to KDE trunk.

The fix has missed the deadline for KDE 4.4.4 - it should be in the next release, either KDE 4.4.5 or KDE 4.5.0.