From e21e0b228328722ded74ffa92668338544d9c0cd Mon Sep 17 00:00:00 2001 From: luoqing Date: Thu, 19 Oct 2023 13:59:27 +0800 Subject: [PATCH 2/2] fix(network-tray):Fixed a flash issue when the tray position changed from bottom to top, the first time to click the tray, the page display position is not correct, resulting in a flash issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复托盘位置由底部变为顶部时,第一次点击托盘,页面显示位置不对,导致的闪现问题 --- plugins/network/src/tray/network-tray.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/network/src/tray/network-tray.cpp b/plugins/network/src/tray/network-tray.cpp index c43d8ff..9834a0e 100644 --- a/plugins/network/src/tray/network-tray.cpp +++ b/plugins/network/src/tray/network-tray.cpp @@ -282,6 +282,7 @@ void NetworkTray::showOrHideTrayPage() this->hide(); else { + setTrayPagePos(); // XXX:托盘界面在不可见的情况,不方便去修改size和位置,暂时先显示后在调整大小和位置 // this->setFixedSize(258, 258); this->show(); -- 2.33.0