[Kde-pim] Review Request: Fix KMail crashy krazy2 issues

Michael Leupold lemma at confuego.org
Wed Jul 8 13:14:28 BST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/950/
-----------------------------------------------------------

(Updated 2009-07-08 05:14:27.697306)


Review request for KDE PIM.


Changes
-------

Fix up some of the issues:
- forgot to delete a dialog in one case
- before accessing a dialog after exiting the eventloop, check if it still exists
- fix deletion of widgets in SnippetWidget::showSingleVarDialog(). deleting the dialog will delete the child layouts/widgets as well (checked that using QPointers on all of the layouts/widgets)

So far I covered most of the changes using manual testing, excluding:
- Parts that needs chiasmus which I don't have a license for (kmcommands.cpp:3179, kmcomposewin.cpp:4319, objecttreeparser.cpp:1867)
- Changes in folderdialogacltab.cpp (:151,560,596) because I currently lack an IMAP server with acl support (I may test that later today)
- kmfoldercachedimap.cpp:3201 (seems complicated, will try to reach that code later)


Summary
-------

This is the start of my work on some of the KMail krazy2 issues fixing the crashy dialog-on-stack issue.

It's not really intended for review as I haven't done any tests yet (it compiles and *might* work). Still I thought it might be a good idea to upload so you know that I'm on it and we can avoid redundant work.

... please ignore the kaddressbook part. I'm not really sure where that comes from and it's definitely not part of the patch :)


Diffs (updated)
-----

  /trunk/KDE/kdepim/kmail/accountdialog.cpp 992911 
  /trunk/KDE/kdepim/kmail/accountwizard.cpp 992911 
  /trunk/KDE/kdepim/kmail/configuredialog.cpp 992911 
  /trunk/KDE/kdepim/kmail/editorwatcher.cpp 992911 
  /trunk/KDE/kdepim/kmail/favoritefolderview.cpp 992911 
  /trunk/KDE/kdepim/kmail/filterimporterexporter.cpp 992911 
  /trunk/KDE/kdepim/kmail/filterlogdlg.cpp 992911 
  /trunk/KDE/kdepim/kmail/folderdialogacltab.cpp 992911 
  /trunk/KDE/kdepim/kmail/folderrequester.cpp 992911 
  /trunk/KDE/kdepim/kmail/imapaccountbase.cpp 992911 
  /trunk/KDE/kdepim/kmail/kmcommands.cpp 992911 
  /trunk/KDE/kdepim/kmail/kmcomposewin.cpp 992911 
  /trunk/KDE/kdepim/kmail/kmfoldercachedimap.cpp 992911 
  /trunk/KDE/kdepim/kmail/kmlineeditspell.cpp 992911 
  /trunk/KDE/kdepim/kmail/kmmainwidget.cpp 992911 
  /trunk/KDE/kdepim/kmail/messagelistview/core/themeeditor.cpp 992911 
  /trunk/KDE/kdepim/kmail/objecttreeparser.cpp 992911 
  /trunk/KDE/kdepim/kmail/recipientseditor.cpp 992911 
  /trunk/KDE/kdepim/kmail/redirectdialog.cpp 992911 
  /trunk/KDE/kdepim/kmail/snippetwidget.cpp 992911 

Diff: http://reviewboard.kde.org/r/950/diff


Testing
-------


Thanks,

Michael

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list