D6739: [akregator part] Protect part from auto delete

Anthony Fieroni noreply at phabricator.kde.org
Thu Jul 20 05:41:37 BST 2017


anthonyfieroni added a reviewer: dfaure.
anthonyfieroni added a comment.


  I face the problem, when you start with session restore there is not windowhandle when call here -> https://phabricator.kde.org/source/akregator/browse/master/src/mainwindow.cpp;a03c9d7001bdc92059e8cf02eb6f00b4a8019ee6$123
  in kxmlgui https://phabricator.kde.org/source/kxmlgui/browse/master/src/kmainwindow.cpp;af76e8add07ffca2104f4ecb82ded43059e6abfb$666 the window becaume parent of part widget and when it's delete it cause part to delete itself.
  Test:
  akregator --session ~/.config/session/<session-id>
  
  winId() in kxmlgui should not die? David how to fix this issue?

REPOSITORY
  R201 Akregator

REVISION DETAIL
  https://phabricator.kde.org/D6739

To: anthonyfieroni, mlaurent, #kde_pim, dfaure
Cc: alexeymin, genaxxx, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20170720/cc9f78b1/attachment.html>


More information about the kde-pim mailing list