Bug 155268

Summary: do not quit as the solution to full disk
Product: [Applications] kmail Reporter: Maciej Pilichowski <bluedzins>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: adrien.cordonnier, jtamate, sven.burmeister
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Maciej Pilichowski 2008-01-08 09:22:05 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    SuSE RPMs

Originated from 
http://bugs.kde.org/show_bug.cgi?id=50462

This is dangerous situation -- after all one way to make disk "less full" is to delete some data, from KMail. So if KMail quits on disk full (think: auto check mail turned on) it is hard or impossible to delete data from KMail.

Quitting does not solve anything, it just scary a bit user and make deleting mail more difficult.

KMail should simply inform user about the problem (and even maybe disable fetching mail in advance if there is less than X MB free on disk).
Comment 1 Thorsten Staerk 2008-01-08 14:10:17 UTC
Maciej is right - setting this bug to CONFIRMED
Comment 2 Jaime Torres 2009-03-15 11:18:51 UTC
As seen in bug 175657, kmail 1.11.x does not exits with a full filesystem.

To inform the user of the low disk space, I guess there is a plasmoid that does this.

I see still pending the ability to autodisable the mail fetching if there is low disk space (informing the user why it is disabled).
Comment 3 Laurent Montel 2015-04-12 10:05:21 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.
Comment 4 Adrien Cordonnier 2015-04-14 18:37:02 UTC
Tested with Kmail 4.14.1 (Kubuntu 14.10).

When the disk is full, Kmail stops fetching e-mails it cannot store. Kmail stays fully useable. New messages stay open if you try to send them or save them as draft. When disk space is freed, Kmail did not let me send or save the new messages but closing and restarting Kmail solved the problem: the new messages were opened again, no data was lost, and I could then send them or save them as draft (it seems that the message were actually saved as draft but that the new message windows just didn't close).

The bug can be marked as fixed.