@ -137,7 +137,7 @@ Item {
property bool dockIsHidden: latteDock ? latteDock.dockIsHidden : false
property bool highlightWindows: latteDock ? latteDock.highlightWindows: plasmoid . configuration . highlightWindows
property bool indicateAudioStreams: latteDock ? latteDock.indicateAudioStreams : plasmoid . configuration . indicateAudioStreams
property bool mouseWheelActions: latteDock ? latteDock.mouseWheelActions : true
property bool mouseWheelActions: latteDock ? latteDock.mouseWheelActions : true
property bool reverseLinesPosition: latteDock ? latteDock.reverseLinesPosition : plasmoid . configuration . reverseLinesPosition
property bool dotsOnActive: latteDock ? latteDock.dotsOnActive : plasmoid . configuration . dotsOnActive
property bool showGlow: latteDock ? latteDock.showGlow : plasmoid . configuration . showGlow
@ -150,6 +150,7 @@ Item {
property bool smartLaunchersEnabled: latteDock ? latteDock.smartLaunchersEnabled : plasmoid . configuration . smartLaunchersEnabled
property bool threeColorsWindows: latteDock ? latteDock.threeColorsWindows : plasmoid . configuration . threeColorsWindows
property bool titleTooltips: latteDock ? latteDock.titleTooltips : false
property alias windowPreviewIsShown: windowsPreviewDlg . visible
property int activeIndicatorType: latteDock ? latteDock.activeIndicatorType : Latte . Dock . LineIndicator
property int directRenderAnimationTime: latteDock ? latteDock.directRenderAnimationTime : 0
@ -375,6 +376,12 @@ Item {
property bool signalSent: false
property Item activeItem: null
onVisibleChanged: {
if ( visible ) {
windowsPreviewCheckerToNotShowTimer . start ( ) ;
}
}
function hide ( debug ) {
/ / c o n s o l e . l o g ( " o n h i d e e v e n t c a l l e d : " + d e b u g ) ;
@ -442,6 +449,19 @@ Item {
}
}
/ / ! T i m e r t o f i x # 8 1 1 , r a r e c a s e s t h a t b o t h a w i n d o w p r e v i e w a n d c o n t e x t m e n u a r e
/ / ! s h o w n
Timer {
id: windowsPreviewCheckerToNotShowTimer
interval: 250
onTriggered: {
if ( windowsPreviewDlg . visible && root . contextMenu ) {
windowsPreviewDlg . hide ( ) ;
}
}
}
/ / ! T i m e r t o f i x a c r a s h t h a t w h e n g o i n g t o A l t e r n a t i v e S e s s i o n t h r o u g h C o n t e x t M e n u ,
/ / ! a n i m a t i o n s a r e p l a y e d d u r i n g t h e d e s t r u c t i o n a n d b e c a u s e o f t h a t L a t t e . I c o n I t e m i s c r a s h i n g .
/ / ! t h e t i m e r m a k e s s u r e t h a t t h e a n i m a t i o n s w i l l h a v e e n d e d a n d t h e n c h a n g e t o a l t e r n a t i v e