Bug 406505

Summary: one problem (refused login) result in duzends of identical info dialogs that grab focus
Product: [Frameworks and Libraries] Akonadi Reporter: Achim Bohnet <ach>
Component: IMAP resourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: picture of the duzends akonadi dialogs

Description Achim Bohnet 2019-04-13 14:32:56 UTC
akonadi 5.10.3 (version listed in bugzilla)

SUMMARY: unfortunately due to massive problems with akonadi in the last weeks (multiple merge candidate, several sync of same collection ~ 30 sec) I had to fallback to use thunderbird someties -> ~ doubling the # of IMAP collections.   This triggers akonadi 'Informational' dialog: 

  ...  A000002 NO Maximum number of connections from user+IP exceeded ( mail_max_userip_connections=10 ) [ UNAVAILABLE  ]



STEPS TO REPRODUCE
1. start several akonadi sessions/thunderbirds/macmail... in parallel (laptop, desktop, vbox ...)
2. when 'N' the max # of imap connection on the imap server is reached:
3. duzends of informational akonadi dialogs appear that grap focus

OBSERVED RESULT
* a new dialog appear (every few seconds a new one).  I had 23 of them
* they needlessly grab be focus -> e.g. kicker and krunner are closed
* After ~ 15 min the latest dialog starts to grab the focus as soon another window is aktivated. (only workaround is to close all the dialogs)


EXPECTED RESULT
* Only one dialog instead of a two duzend dialogs.
* As it's only informational there no need to grab the focus
* prefered would be one standard Plasma notification instead of a dialog window

SOFTWARE/OS VERSIONS: 
Linux/KDE Plasma:  kde neon user
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks 5.56.0
Qt 5.12.0 (kompiliert gegen 5.12.0)
Das xcb Fenstersystem
Comment 1 Achim Bohnet 2019-04-13 14:36:27 UTC
Created attachment 119402 [details]
picture of the duzends akonadi dialogs