From ed21bff1d08957e302cbb23aee7cc3bf21cd94d9 Mon Sep 17 00:00:00 2001 From: chenjun Date: Sat, 28 Aug 2021 14:20:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=BB=E5=8A=A1=E6=A0=8F=E5=9C=A8?= =?UTF-8?q?=E4=BB=85=E4=B8=BB=E5=B1=8F=E6=98=BE=E7=A4=BA=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E5=88=87=E6=8D=A2=E4=B8=BB=E5=B1=8F=E8=AE=A9=E5=85=B6?= =?UTF-8?q?=E8=B7=9F=E9=9A=8F=E4=B8=BB=E5=B1=8F=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 跟随主屏模式下,在切换屏幕的处理中,让任务栏显示到切换后的主屏中,根据后台返回的任务栏的显示还是隐藏状态来当前任务栏显示或者隐藏 Log: 修复切换主屏幕任务栏没有跟着切换并且没有唤起的bug Bug: https://pms.uniontech.com/zentao/bug-view-92020.html Bug: https://pms.uniontech.com/zentao/bug-view-92089.html Change-Id: I472176f98b36f81f1fb00cfdc2405292a83ef4a8 --- frame/display/displaymanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frame/display/displaymanager.cpp b/frame/display/displaymanager.cpp index 6a1053b0f..27da59083 100644 --- a/frame/display/displaymanager.cpp +++ b/frame/display/displaymanager.cpp @@ -33,6 +33,7 @@ DisplayManager::DisplayManager(QObject *parent) , m_onlyInPrimary(Utils::SettingValue("com.deepin.dde.dock.mainwindow", "/com/deepin/dde/dock/mainwindow/", "onlyShowPrimary", false).toBool()) { connect(qApp, &QApplication::primaryScreenChanged, this, &DisplayManager::primaryScreenChanged); + connect(qApp, &QApplication::primaryScreenChanged, this, &DisplayManager::dockInfoChanged); connect(qApp, &QGuiApplication::screenAdded, this, &DisplayManager::screenCountChanged); connect(qApp, &QGuiApplication::screenRemoved, this, &DisplayManager::screenCountChanged);