From 3bbbb3a7095f5403a43bda5866765ca0a2111ad8 Mon Sep 17 00:00:00 2001 From: ayt Date: Thu, 12 Feb 2026 08:36:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(qml):=20=E8=A7=A3=E5=86=B3X=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8B=E5=85=A8=E5=B1=8F=E6=A8=A1=E5=BC=8F=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=9B=9E=E6=AD=A3=E5=B8=B8=E6=A8=A1=E5=BC=8F=E5=90=8E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 由于X环境的页面通过beforeFullScreenExited()信号的槽函数进行UI切换,在现有代码里面没有发射相关信号的代码,导致动画未执行 Bug: #591721 From: kylin Severity: Low Changelog-Other: 改进页面切换状态 Changelog-Break: 全屏模式切换回正常模式时的动画状态 Change-Id: I9eb7748cb644e899d50581350d0273e082e0642a --- qml/AppUI/FullScreenUI.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/AppUI/FullScreenUI.qml b/qml/AppUI/FullScreenUI.qml index d93e5693..3ba65364 100644 --- a/qml/AppUI/FullScreenUI.qml +++ b/qml/AppUI/FullScreenUI.qml @@ -229,7 +229,7 @@ FocusScope { onClicked: { if (mainWindow.isFullScreen) { root.currentSearchText = searchInputBar.text; - mainWindow.isFullScreen = false; + mainWindow.exitFullScreen(); } else { root.currentSearchText = appPage.search.searchInputBar.text; mainWindow.isFullScreen = true; @@ -241,7 +241,7 @@ FocusScope { root.focusOnFoldButton = true; if (mainWindow.isFullScreen) { root.currentSearchText = searchInputBar.text; - mainWindow.isFullScreen = false; + mainWindow.exitFullScreen(); } else { root.currentSearchText = appPage.search.searchInputBar.text; mainWindow.isFullScreen = true; -- Gitee