diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 56f39c074..7bb63c58f 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1188,6 +1188,9 @@ void Dialog::componentComplete() { d->componentComplete = true; QQuickWindow::setVisible(d->visible); + if (d->visible) { + KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); + } d->updateTheme(); @@ -1239,6 +1242,9 @@ void Dialog::setVisible(bool visible) setPosition(popupPosition(d->visualParent, size())); } QQuickWindow::setVisible(visible); + if (visible) { + KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); + } //signal will be emitted and proxied from the QQuickWindow code } else { emit visibleChangedProxy();