Bug 310445 - IMAP quota warnings aren't displayed
Summary: IMAP quota warnings aren't displayed
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 14:21 UTC by Pal Körössy
Modified: 2012-11-21 17:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pal Körössy 2012-11-21 14:21:22 UTC
KMail2 doesn't display any quota warnings if my IMAP account size is over the notification level configured on the server.
Open the same IMAP account in konqueror, it displays the warning.

Reproducible: Always

Steps to Reproduce:
1. Set quota warning to 80% on the IMAP server
2. Start Kmail and open IMAP account which size exceeds 80%
3.
Actual Results:  
KMail displays no quota warning

Expected Results:  
Quota warning should be displayed.
Comment 1 Laurent Montel 2012-11-21 14:41:49 UTC
Ah ? you didn't have color ?
Could you change color in kmail->configuration->color->quota and look at if it can display it ?

Regards
Comment 2 Pal Körössy 2012-11-21 15:03:38 UTC
You're right, "Use custom colours" option wasn't enabled for me up till now. I've checked it and the folders turned red. Although this default red is very similar to the colour of 'Broken accont', so it needs to be changed.
And what about the notification warning popping up in a separate window? It was implemented by default in KMail1, wasn't it?
Comment 3 Laurent Montel 2012-11-21 15:17:16 UTC
"You're right, "Use custom colours" option wasn't enabled for me up till now. I've checked it and the folders turned red. Although this default red is very similar to the colour of 'Broken accont', so it needs to be changed."
So default color (without use custom colors) is not good

And default color "red" is not good too ? Will look at it.

"And what about the notification warning popping up in a separate window? It was implemented by default in KMail1, wasn't it?" didn't remember if there was it.
Not sure that if it's easy to reimplement it (or implement it) but not for 4.10 we are in string freeze
Comment 4 Laurent Montel 2012-11-21 15:26:24 UTC
ok found bug when we use default color.
It will fix in 4.9.4
Comment 5 Laurent Montel 2012-11-21 15:30:48 UTC
"Although this default red is very similar to the colour of 'Broken accont', so it needs to be changed." IT's right we use the same color, but we need to use "KColorScheme" and there is just one "red".

But for quota it's just 1 folder which is show in red.
but when it's broken account it's all folders.

So for me it's not a problem.
Comment 6 Laurent Montel 2012-11-21 15:33:19 UTC
Git commit 0ef7d7d8763934ee63ebceb175f55b2431189ee7 by Montel Laurent.
Committed on 21/11/2012 at 16:31.
Pushed by mlaurent into branch 'KDE/4.9'.

Fix 310445 IMAP quota warnings aren't displayed.

We didn't load SettingsIf->closeToQuotaThreshold() when we used default
color.

FIXED-IN: 4.9.4

M  +1    -1    mailcommon/foldertreewidget.cpp

http://commits.kde.org/kdepim/0ef7d7d8763934ee63ebceb175f55b2431189ee7
Comment 7 Pal Körössy 2012-11-21 16:05:39 UTC
(In reply to comment #5)
> "Although this default red is very similar to the colour of 'Broken accont',
> so it needs to be changed." IT's right we use the same color, but we need to use "KColorScheme" and there is just one "red".
> 
> But for quota it's just 1 folder which is show in red.
> but when it's broken account it's all folders.
> 
> So for me it's not a problem.

For me, the quota is set up per account not per folder. So the account  that is over the notification-limit has about 10 subfolders, and now all of them are red, except three (It is also unclear for me why these three are black).  
In the morning I had a network connection failure and all the subfolders were  red too (Broken account). It's confusing and difficult to say what is the problem if both case are signed with red.
Comment 8 Pal Körössy 2012-11-21 16:07:04 UTC
(In reply to comment #3)
> "And what about the notification warning popping up in a separate window? It
> was implemented by default in KMail1, wasn't it?" didn't remember if there
> was it.
> Not sure that if it's easy to reimplement it (or implement it) but not for
> 4.10 we are in string freeze

I remember this feature working but don't remember when it disappeared (it was a long time ago). Shall I file this issue as a separate wish?
Comment 9 Laurent Montel 2012-11-21 17:04:43 UTC
Yes please open an other bug for this wish.