Revision 0fea532...

Go back to digest for 15th July 2012

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [kde-workspace/KDE/4.9] /:

Delay closing of a window by one event cycle

This is an issue we already had in the past with Aurorae. When
closing a window the graphics scene crashes because the deco
gets destroyed before the code in the graphics scene finished
the execution.

With the port to QML this seemed to be fixed unless as it turns
out it throws an XIO error on closing:
fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

This can be triggered using glxgears. Closing glxgears would
reliable crash Aurorae. To circumvent this issue we have to
delay the close by one event cycle using QMetaObject's
invokeMethod with a Qt::QueuedConnection.

This has also to be done in the useractions menu as the menu
is still open when the window closes causing the same problem
inside Aurorae.


FIXED-IN: 4.9.0
Reviewed-By: Thomas Lüking

File Changes

Modified 3 files
  •   kwin/useractions.cpp
  •   kwin/clients/aurorae/src/aurorae.cpp
  •   kwin/clients/aurorae/src/aurorae.h
3 files changed in total