fix #159,show correct previews for windows

--this is fixed by hiding/showing very fast
in the beginning of each windows preview. Probably
this is something relevant with buffers in kwin
v0.6
Michail Vourlakos
parent 0234e30d28
commit e355cb1c42

@ -206,15 +206,12 @@ Item {
PlasmaCore.Dialog{
id: windowsPreviewDlg
// hideOnWindowDeactivate: false
type: PlasmaCore.Dialog.Tooltip
flags: Qt.WindowStaysOnTopHint | Qt.WindowDoesNotAcceptFocus | Qt.ToolTip
location: plasmoid.location
visible: false
mainItem: toolTipDelegate
visible: false
property Item activeItem: null
@ -229,6 +226,8 @@ Item {
}
function show(){
//used to initialize windows previews buffers
visible = false;
var tasks = icList.contentItem.children;
for(var i=0; i<tasks.length; ++i){
@ -244,6 +243,7 @@ Item {
//it is used to block dock hiding
root.signalDraggingState(true);
}
visible = true;
}
}

Loading…
Cancel
Save