Bug 189682

Summary: kalarm hangs does nothing
Product: [Applications] kalarm Reporter: fanisatt <fanisatt>
Component: soundAssignee: David Jarvie <djarvie>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: KDE 4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: calendar.ics
displaying.ics
kalarmrc
Replacement displaying.ics

Description fanisatt 2009-04-15 05:59:59 UTC
Version:           kalarm 2.1.5 (using KDE 4.2.1)
Installed from:    Fedora RPMs

I used Kalarm once to remind me something. It did it , but after this it is always hanging. Every time I am logging in , 1-2 minutes later, Kalarm shows an empty small window. If I try to open the program I get the main Kalarm window , but not working. When I try to close it , I get this error message :

Window with title "KAlarm" is not responding. This window belongs to application kalarm (PID=5747, hostname=localhost).
Do you wish to terminate this application? (All unsaved data in this application will be lost.)

How I can reset this program to work again ?
Comment 1 Andi Clemens 2009-04-15 08:35:13 UTC
Wrong application? Re-assigning to kalarm...
Comment 2 David Jarvie 2009-04-15 10:20:56 UTC
Can you please attach your KAlarm configuration and calendar files. They are ~/.kde4/share/config/kalarmrc, ~/.kde4/share/apps/kalarm/calendar.ics and ~/.kde4/share/apps/kalarm/displaying.ics (or possibly ~/.kde/share...).
Comment 3 David Jarvie 2009-04-16 10:07:28 UTC
Created attachment 32867 [details]
calendar.ics

File supplied privately by the reported
Comment 4 David Jarvie 2009-04-16 10:07:57 UTC
Created attachment 32868 [details]
displaying.ics
Comment 5 David Jarvie 2009-04-16 10:08:30 UTC
Created attachment 32869 [details]
kalarmrc
Comment 6 David Jarvie 2009-04-17 00:19:36 UTC
Created attachment 32881 [details]
Replacement displaying.ics

Could you please replace your displaying.ics with the one attached. Make sure KAlarm is stopped before you copy the file. After you copy it, start KAlarm again, and let me know if that fixes the problem.
Comment 7 David Jarvie 2009-04-22 19:45:45 UTC
Did the new displaying.ics fix the problem? Your answer will tell me how to fix the bug for other people too.
Comment 8 David Jarvie 2009-04-24 18:06:08 UTC
The reporter has stated by direct email that the problem was solved with the new file.
Comment 9 David Jarvie 2009-04-26 16:17:51 UTC
The problem was due to KAlarm trying to play an audio file when the alarm was displayed, and Phonon not returning control within a reasonable time. Audio play is now executed in a separate thread, which ensures that the display is not frozen.

Fixed for KDE 4.2.3 (SVN commits 959546, 959550).
Comment 10 David Jarvie 2009-04-26 16:18:07 UTC
The problem was due to KAlarm trying to play an audio file when the alarm was displayed, and Phonon not returning control within a reasonable time. Audio play is now executed in a separate thread, which ensures that the display is not frozen.

Fixed for KDE 4.2.3 (SVN commits 959546, 959550).