Bug 384554

Summary: Message dialogs keep stacking up
Product: [Applications] kmail2 Reporter: OlafLostViking <olaf.the.lost.viking>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: minor CC: kde, montel, olaf.the.lost.viking
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=421267
Latest Commit: Version Fixed In:
Attachments: Dialog starts stacking up seconds after starting up Kontact.

Description OlafLostViking 2017-09-10 10:43:39 UTC
When KMail/Akonadi tries to sync with a server and there is an error (like in my case an invalid certificate) it keeps on trying and stacking up dialogs (asking if I want to accept the certificate). When I'm not at the computer, it's quite possible (just happened ;-) ) that I come back to around 200 stacked dialogs.

Possible solution: As long as the user didn't react (saying it's okay or not okay to continue or whatever answer is needed for a dialog), no new tries of the action mentioned should be started.
Comment 1 Laurent Montel 2017-09-10 15:22:04 UTC
Do you have a screenshot about this dialog ?
it's not easy to fixing it but we can try :)
Comment 2 OlafLostViking 2017-09-11 07:18:19 UTC
Created attachment 107793 [details]
Dialog starts stacking up seconds after starting up Kontact.

Sure thing! See attachment.
Comment 3 OlafLostViking 2019-10-12 10:25:25 UTC
Can I be of any further assistance?
Comment 4 Vadim 2024-03-03 22:48:43 UTC
This has been a constant annoyance for years. Here's another addition:

Click on "Continue". This pops up:

> "Would you like to accept this certificate forever without being prompted?"
> 
> [Forever] [Current Session only]

I don't want "Forever", I want to fix the issue, but maybe not today. "Forever" is also a scary button, if I click it, how do I ever undo it afterwards, when I've fixed the cert, to make sure?

But what is even "current session"? Clicking it does seem to work for a while, but there's no understandable concept of "session" here. The messages come back again, during the same day, without rebooting or logging out, or closing kmail. So what does it even do? If "session" intends to refer to the current login session, then it's broken.