[PyKDE] Problems with KApplication.quit ()

Frederick Polgardy Jr polgardy at bodacion.com
Wed Aug 27 20:22:01 BST 2003


If I remember correctly, this had something to do with out-of-order 
destruction of certain KDE objects (like KApplication before 
KMainWindow) due to the undefined order of keys in namespaces, correct?

On Wednesday 27 August 2003 01:01 pm, Jim Bublitz wrote:
> About a year ago, Frederick Polgardy (apologies) posted a bug
> report about PyKDE apps segfaulting at exit when using
> KApplication.quit (). Closing the window using the  title bar
> button has always worked correctly (and still does).
>
> In the original thread, Phil suggested the same method he used
> with QApplication.quit(), which works, but "disables" the
> KMainWindow.queryClose and KMainWindow.queryExit methods.
>
> The fix I've implemented is in Python (in kdecore.py) rather than
> C++, but should work correctly.  A C++ implementation is
> possible, but likely to be extremely difficult to get working.
>
> The fix will be in 3.8 - looks like that will be available early
> next week.
>
> Jim




More information about the PyQt mailing list