GNOME Bugzilla – Bug 545153
Ask whether to quit with pending operations
Last modified: 2015-01-08 08:54:00 UTC
Evolution version: 2.22.1.1 OS: openSUSE 11.0 Gnome: 2.22 When we close evolution and if internet is down at that time then it takes so long(I generally have to kill evolution) to close it. It stays in status "Storing account imap://.....". If LAN is down then it closes immediate but if LAN is on but internet is down then only this problem occurs. Prerequisites: 1. Configured IMAP account 2. Download messages for offline mode enabled Steps to reproduce: 1. Open evolution 2. Do some operations with mailbox. 3. Simulate internet outage somehow(not LAN) 4. Close evolution Actual Results: 1. Evolution window is greyed out and status shows "Storing account imap://....." Expected Result: 1. After several seconds it should detect internet outage and should close instead of keep trying to store the account.
This is due to a socket timeout when trying connecting to a remote host. We use NetworkManager to detect network connectivity of the local host machine, but it's not easy to detect "Internet outages." One of the things we could do in this situation is periodically ask the user whether he wants to cancel the pending operations or keep waiting, similar to when the window manager asks you whether to terminate or keep waiting on a non-responsive window.
I think this is good idea. So users have choice whether to wait or cancel the pending operations and close evolution.
Proposed wording for such a dialog: Evolution is taking a long time to shut down, possibly due to network connectivity issues. Would you like to cancel all pending operations and close immediately, or keep waiting? [Close Immediately] [Keep Waiting]
Thats cool.
Is it going to make it in the next version?
No, too late for 2.24 at this point.
So can we expect it in 2.26?
*** Bug 651716 has been marked as a duplicate of this bug. ***
I made the change with Matthew's wording. I do not ask repeatedly, only once, but I also ask when user re-clicks the "x" button to close he window. In that case the message is not fully accurate, the part about Evolution being slow, but that's just a minor detail, isn't it? Created commit 4646811 in evo master (3.13.8+) [1] [1] https://git.gnome.org/browse/evolution/commit/?id=4646811
*** Bug 741914 has been marked as a duplicate of this bug. ***
If I understand comment 9 correctly, this was not fixed/implemented before, only now with 3.13.8+ ?
(In reply to comment #11) > If I understand comment 9 correctly, this was not fixed/implemented before, > only now with 3.13.8+ ? Correct. New strings, new UI => 3.14 material.