Bug 75087 - To close korganizer you have to press the close button twice
Summary: To close korganizer you have to press the close button twice
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 75375 83154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-12 18:56 UTC by dpavlotzky
Modified: 2008-09-28 20:25 UTC (History)
4 users (show)

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 dpavlotzky 2004-02-12 18:56:31 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 

Hi,

After opening KOrganizer from the systemtray I have to press the close button of KOrganizer twice to close it. I'm using a remote calendar file, which I'm accessing with the fish protocol.

I'll have a look if I get the same behaviour at home.

Kind regards,

David
Comment 1 Reinhold Kainhofer 2004-03-16 11:11:39 UTC
Just had a look at the problem and found it perfectly reproducible. The 
problem lies in the file actionmanager.cpp in lines 1356-1362 (current cvs), 
function ActionManager::queryClose(). The function tries to save resource 
calendar, but while saving the calendar (mCalendarResources->isSaving()) the 
queryClose function returns false (otherwise we'd have korganizer crash on 
exit) and korganizer is not closed.

Cornelius, is there any chance we can close down korganizer while the resource 
calendar is still saving (in particular remote resources)? Or is there any way 
to wait until the resource calendar is saved and then exit korganizer?

Reinhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAVtK0TqjEwhXvPN0RAhCsAJ0dadhKehHUWMOIKvde6xrjpAkoBgCaA9KM
YQmnU8l9kj7FXNAdjgDb4Jw=
=akVF
-----END PGP SIGNATURE-----

Comment 2 Cornelius Schumacher 2004-03-16 13:18:27 UTC
If KOrganizer is still saving or needs to wait for a "save completed" signal it should just hide the main window and exit when saving is finished.
Comment 3 Bram Schoenmakers 2004-06-11 16:03:16 UTC
*** Bug 83154 has been marked as a duplicate of this bug. ***
Comment 4 dpavlotzky 2004-08-22 16:26:58 UTC
Great!

Looks like this is fixed in KDE 3.3.

Closing this bug.
Comment 5 Reinhold Kainhofer 2004-08-22 16:35:32 UTC
No, this bug is not fixed. If you have a remote resource, and you want to close korganizer, korganizer needs to upload the file. Since this is async, korganizer won't immediately exit (it has to wait until the upload is completed). Only after some time, when the upload is done, korganizer can close (but that's not done automatically).

Cheers,
Reinhold
Comment 6 Reinhold Kainhofer 2004-09-13 23:17:03 UTC
*** Bug 75375 has been marked as a duplicate of this bug. ***
Comment 7 Soren Holstebroe 2004-10-19 13:13:00 UTC
Yes, 3.3 didn't fix the problem, now I get an error message the first time I try to exit instead of nothing. I consistently get the error-message:
"Unable to exit. Saving still in progress."
Clicking exit after the error message closes Korganizer.
My only calendar resource in use is a remote resource with tehse settings:
Download from: An http:// url
Upload to:  A fish:// url
Automatic Reload: On startup
Automatic Save: On exit
Comment 8 vermyndax 2004-12-23 21:49:04 UTC
I'm also having this problem with KDE 3.3.1 using a remote resource via webdavs:// for both uploading and downloading.
Comment 9 Reinhold Kainhofer 2006-11-02 19:14:08 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 10 FiNeX 2008-09-28 20:25:10 UTC
Cannot reproduce using current trunk (tested a ics file over fish protocol)... insted I've got a crash. I'll report it on a new bug :)