Bug 225639

Summary: kmail "send queued messages" button grayed out inappropriately
Product: [Applications] kmail Reporter: p92
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: montel
Priority: NOR    
Version: 1.12.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description p92 2010-02-05 15:52:06 UTC
Version:           1.12.4 (using KDE 4.3.5)
OS:                Linux
Installed from:    Ubuntu Packages

I have set up my outbox to not automatically send messages. I also have added a "send queued messages" button in my kmail toolbar.

Let's compose messages and send them, they are all waiting in outbox.

Now if my current folder in the outbox, the button is active to "send queued messages".

But as soon as I go to another folder (usually inbox), the button is inactive and greyd out.

Expected behaviour : the "send queued messages" button should be active whenever message_count(outbox) > 0
Comment 1 p92 2010-02-16 17:29:29 UTC
With :

Qt : 4.6.1
Plate-forme de développement de KDE : 4.4.00 (KDE 4.4.0)
KMail : 1.13.0

the behaviour is a little bit better but there are still some cases where the button is grayed out when it should'nt be.
Comment 2 Laurent Montel 2010-09-02 15:28:45 UTC
I can confirm this bug in kde 4.4.5 too.
I tried to fix it, but there is a pb in outbox->count(), never correctly updated.
Don't know why yet.
=> it"s a pb
Comment 3 p92 2011-01-15 12:51:57 UTC
Still true in 4.5.5
Comment 4 p92 2011-01-15 12:52:20 UTC
please change this to CONFIRMED
Comment 5 Laurent Montel 2015-04-12 09:59:18 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.