diff --git a/launchercontroller.cpp b/launchercontroller.cpp index 81fac513..4037cf34 100644 --- a/launchercontroller.cpp +++ b/launchercontroller.cpp @@ -271,7 +271,7 @@ void LauncherController::showHelp() void LauncherController::setCurrentFrameToWindowedFrame() { setVisible(false); - QTimer::singleShot(100, this, [this]() { + QTimer::singleShot(0, this, [this]() { setCurrentFrame("WindowedFrame"); setVisible(true); }); diff --git a/qml/Main.qml b/qml/Main.qml index 1276629e..f22af63b 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -316,7 +316,7 @@ QtObject { DWindow.enableSystemMove: false // Fullscreen mode: always assume dark theme DWindow.themeType: ApplicationHelper.DarkType - DWindow.windowStartUpEffect: PlatformHandle.EffectOut + DWindow.windowStartUpEffect: PlatformHandle.EffectNone onVisibleChanged: { if (visible) { diff --git a/shell-launcher-applet/package/launcheritem.qml b/shell-launcher-applet/package/launcheritem.qml index 042c5cc8..0e66f040 100644 --- a/shell-launcher-applet/package/launcheritem.qml +++ b/shell-launcher-applet/package/launcheritem.qml @@ -227,7 +227,7 @@ AppletItem { DWindow.enableSystemMove: false // Fullscreen mode: always assume dark theme DWindow.themeType: ApplicationHelper.DarkType - DWindow.windowStartUpEffect: PlatformHandle.EffectOut + DWindow.windowStartUpEffect: PlatformHandle.EffectNone onVisibleChanged: { if (visible) {