Version: 0.39 (using KDE )
Widgets go on-top with "setWidgetOnTop(widget, True)", but fail to go off-top with "setWidgetOnTop(widget, False)".
The widget just stays on-top all the same, though now I can click on it and then send it off-top with KDE's hotkeys, like any other window. Before it goes on-top with setWidgetOnTop KDE's hotkeys to send it on-top have no effect.
I've got a work around using "reloadTheme(widget)", thus resetting widget's status, but that's no real solution.
Loaded widgets: just a test one for this behaviour.
Backtraces: command is executed correctly, no errors reported.
SVN commit 553433 by nickell:
Use the KeepBelow and KeepAbove arguments to KWin::setState()
instead of using KWin::clearState().
M +2 -2 karamba.cpp
--- branches/KDE/3.5/kdeutils/superkaramba/src/karamba.cpp #553432:553433
@@ -2047,12 +2047,12 @@
onTop = true;
- KWin::setState( winId(), NET::StaysOnTop );
+ KWin::setState( winId(), NET::KeepAbove );
onTop = false;
- KWin::clearState( winId(), NET::StaysOnTop );
+ KWin::setState( winId(), NET::KeepBelow );