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" )
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.
Btw, for progress information, there is a AgentProgressMonitor in libkdepim.
FYI, the imap resource doesn't have this problem. A popup is shown informing (albeit cryptically) the user of the problem
*** Bug 240782 has been marked as a duplicate of this bug. ***
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?
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.