Bug 225497

Summary: Error messages and progress info from resources not shown
Product: [Applications] kmail2 Reporter: Christophe Marin <christophe>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kdepim-bugs, lfranchi, unnamedrambler, vkrause
Priority: NOR Keywords: akonadi-ports-regression
Version: 1.99.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 223438    
Attachments: akonadi_pop3 dialog

Description Christophe Marin 2010-02-04 12:46:39 UTC
Created attachment 40526 [details]
akonadi_pop3 dialog

Using trunk (r1084972).

Test:
- Set up a pop account with a wrong password,
- Try to check mail.

There is no dialog telling the user his password is wrong.

Console output:

[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] The server said: "[AUTH] Username and password not accepted.""
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveError: KIO::Slave(0x8354e78) 133 "Could not login to pop.gmail.com. The password may be wrong.
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource]
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] The server said: "[AUTH] Username and password not accepted.""
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/akonadiresource (pop3) POPSession::slotSlaveError: Got a slave error: "Could not login to pop.gmail.com. The password may be wrong.
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource]
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] The server said: "[AUTH] Username and password not accepted.""
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/akonadiresource (pop3) POP3Resource::cancelSync: ============== ERROR DURING POP3 SYNC ==========================
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/akonadiresource (pop3) POP3Resource::cancelSync: "Unable to login to the server pop.gmail.com.
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] Could not login to pop.gmail.com. The password may be wrong.
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource]
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] The server said: "[AUTH] Username and password not accepted.""
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/akonadiresource (pop3) POP3Resource::saveSeenUIDList: UID list from server is not valid.
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/akonadiresource (pop3) POP3Resource::saveSeenUIDList: The seen UID list has 0 entries
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/kio (Scheduler) KIO::SchedulerPrivate::disconnectSlave: KIO::Slave(0x8354e78)
[/kde/inst/kdepim-runtime/bin/akonadi_pop3_resource] akonadi_pop3_resource_3(19330)/kio (Slave) KIO::Slave::kill: killing slave pid 19390 ( "pop3s://pop.gmail.com" )
Comment 1 Thomas McGuire 2010-02-04 18:03:41 UTC
Not a bug in the POP3 resource, the error is signaled correctly there by calling cancelTask( error ).

The real bug is that KMail does neither display error messages nor progress information from Akonadi. Changing the summary to reflect that.
Comment 2 Thomas McGuire 2010-02-04 18:04:24 UTC
Btw, for progress information, there is a AgentProgressMonitor in libkdepim.
Comment 3 Casey Link 2010-05-28 18:47:24 UTC
FYI, the imap resource doesn't have this problem. A popup is shown informing (albeit cryptically) the user of the problem
Comment 4 Thomas McGuire 2010-06-07 14:44:12 UTC
*** Bug 240782 has been marked as a duplicate of this bug. ***
Comment 5 Casey Link 2010-06-07 19:19:06 UTC
Quoting from bug 240782
(From Thomas McGuire 2010-06-07)
> We are missing something to display error messages and progress from Akonadi,
> as well as a cancel button for mail check (was, among others, implemented in
> the progress widget). I think for sending, we have the start of that
> integration, but not yet for incoming accounts.


Is this an actual bug, unimplemented feature, or a case of missing plumbing?
Comment 6 Leo Franchi 2010-06-30 15:45:42 UTC
Casey added progress information for agents in the kmail window recently, using the progessbar. There is also a cancel button to cancel the check mail task.