https://bugs.kde.org/show_bug.cgi?id=312460

--- Comment #21 from Christian Mollekopf <[email protected]> ---
Figured it out at last, here's what's happening:
* To reproduce:
** open kmail
** open a mail in a separate window
** close the mainwindow only (leave the editor/viewer running)
** open kmail again => voila you're in the broken state

KMMainWidget::destruct calls
"disconnect( kmkernel->folderCollectionMonitor(),
SIGNAL(itemAdded(Akonadi::Item,Akonadi::Collection)), 0, 0)"
disconnecting everything from the monitor instead of only itself.

Because the open editor keeps the kmkernel running, and the kmkernel holds the
monitor AND the etm (which are now disconnected). Starting kmail again results
in it attaching to a model without connected monitor.

Really a good example on why singletons are evil.

A fix will be up shortly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to