Bug 330601

Summary: Moving IMAP mail is wrongly annotated with an "insecure" red shield
Product: [Applications] kmail2 Reporter: Alexander Patrakov <patrakov>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: montel
Priority: NOR    
Version: 4.12.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 4.13

Description Alexander Patrakov 2014-01-31 07:11:14 UTC
Sometimes KMail, in the status area, displays a red shield even for actions performed over secure connections.

Reproducible: Always

Steps to Reproduce:
1. Set up an IMAP account, configure it to use SSL/TLS on port 993. Configure it to use a trash folder on the same IMAP server. The following assumes that you have some unwanted mail from cron sitting in your inbox.
2. Check mail. While it is being checked, press the upwards-arrow icon in the status area near the progress indicator. This will open the detailed progress information.
3. Search for "cron" in your inbox.
4. Click any of the found messages, press Ctrl+A to select them all.
5. Press Del to move all the found unwanted messages to trash.
6. Watch what KMail displays in the detailed progress area.
Actual Results:  
Among the other, there is a "Moving messages" progress bar. There is a red shield near it. There are other bars (about checking other folders), and they have green shields near them.

Expected Results:  
All shields should be green, as all operations happen over a TLS-protected connection.
Comment 1 Laurent Montel 2014-02-20 07:22:15 UTC
I confirm it.
By default we mustn't show icon.
Comment 2 Laurent Montel 2014-02-20 08:30:32 UTC
Git commit b87c51a398e71f3d9da91c6591b599d2ca56e414 by Montel Laurent.
Committed on 20/02/2014 at 08:29.
Pushed by mlaurent into branch 'master'.

Fix Bug 330601 - Moving IMAP mail is wrongly annotated with an "insecure" red shield

When we can't determinate if we use crypto status don't show crypto status (better)

FIXED-IN: 4.13

M  +1    -1    kmail/kmcommands.cpp
M  +11   -8    kmail/kmkernel.cpp
M  +3    -4    kmail/kmkernel.h
M  +2    -2    knode/knjobdata.cpp
M  +17   -13   libkdepim/progresswidget/progressdialog.cpp
M  +5    -3    libkdepim/progresswidget/progressdialog.h
M  +12   -12   libkdepim/progresswidget/progressmanager.cpp
M  +28   -22   libkdepim/progresswidget/progressmanager.h
M  +3    -3    libkdepim/progresswidget/progressmanager_akonadiagent.cpp
M  +3    -6    libkdepim/progresswidget/ssllabel.cpp
M  +3    -2    libkdepim/progresswidget/ssllabel.h
M  +0    -5    libkdepim/progresswidget/statusbarprogresswidget.cpp
M  +0    -1    libkdepim/progresswidget/statusbarprogresswidget.h

http://commits.kde.org/kdepim/b87c51a398e71f3d9da91c6591b599d2ca56e414