@@ -55,7 +55,7 @@ private val defaultTrayAppEnterTransition =
5555 animationSpec = tween(250 , easing = EaseInOut )
5656 ) + fadeIn(animationSpec = tween(200 , easing = EaseInOut ))
5757 else
58- fadeIn(animationSpec = tween(200 , easing = EaseInOut ))
58+ fadeIn(animationSpec = tween(if (detectLinuxDesktopEnvironment() == LinuxDesktopEnvironment . KDE ) 50 else 200 , easing = EaseInOut ))
5959
6060private val defaultTrayAppExitTransition =
6161 if (getOperatingSystem() == WINDOWS )
@@ -64,7 +64,7 @@ private val defaultTrayAppExitTransition =
6464 animationSpec = tween(250 , easing = EaseInOut )
6565 ) + fadeOut(animationSpec = tween(200 , easing = EaseInOut ))
6666 else
67- fadeOut(animationSpec = tween(200 , easing = EaseInOut ))
67+ fadeOut(animationSpec = tween(if (detectLinuxDesktopEnvironment() == LinuxDesktopEnvironment . KDE ) 50 else 200 , easing = EaseInOut ))
6868
6969private val defaultVerticalOffset = when (getOperatingSystem()) {
7070 WINDOWS -> - 10
@@ -781,10 +781,6 @@ private fun ApplicationScope.TrayAppImplLinux(
781781
782782 if (isVisible) {
783783 if (! shouldShowWindow) {
784- val w = currentWindowSize.width.value.toInt()
785- val h = currentWindowSize.height.value.toInt()
786- dialogState.position =
787- getTrayWindowPositionForInstance(instanceKey, w, h, horizontalOffset, verticalOffset)
788784 shouldShowWindow = true
789785 lastShownAt = System .currentTimeMillis()
790786 }
0 commit comments