Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package deepin-launcher for openSUSE:Factory checked in at 2023-02-01 16:39:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deepin-launcher (Old) and /work/SRC/openSUSE:Factory/.deepin-launcher.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deepin-launcher" Wed Feb 1 16:39:30 2023 rev:8 rq:1062365 version:5.5.31 Changes: -------- --- /work/SRC/openSUSE:Factory/deepin-launcher/deepin-launcher.changes 2022-09-01 22:11:03.044224408 +0200 +++ /work/SRC/openSUSE:Factory/.deepin-launcher.new.32243/deepin-launcher.changes 2023-02-01 16:43:39.935340553 +0100 @@ -1,0 +2,5 @@ +Mon Jan 30 07:10:31 UTC 2023 - Hillwood Yang <hillw...@opensuse.org> + +- Add fix-stuck-issue.patch, fix a stuck issue + +------------------------------------------------------------------- New: ---- fix-stuck-issue.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deepin-launcher.spec ++++++ --- /var/tmp/diff_new_pack.S9OYR8/_old 2023-02-01 16:43:40.591344124 +0100 +++ /var/tmp/diff_new_pack.S9OYR8/_new 2023-02-01 16:43:40.595344145 +0100 @@ -1,7 +1,7 @@ # # spec file for package deepin-launcher # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ License: GPL-3.0-or-later URL: https://github.com/linuxdeepin/dde-launcher Source0: https://github.com/linuxdeepin/dde-launcher/archive/%{version}/%{_name}-%{version}.tar.gz +# https://github.com/linuxdeepin/dde-launcher/commit/0612c1181f232eb1c7be05a40c9c951a51cd0f2a +Patch2: fix-stuck-issue.patch Group: System/GUI/Other BuildRequires: cmake BuildRequires: gtest @@ -52,7 +54,7 @@ %lang_package %prep -%setup -q -n %{_name}-%{version} +%autosetup -p1 -n %{_name}-%{version} sed -i 's|lrelease|lrelease-qt5|g' translate_generation.sh %build ++++++ fix-stuck-issue.patch ++++++ >From 0612c1181f232eb1c7be05a40c9c951a51cd0f2a Mon Sep 17 00:00:00 2001 From: Zhang Dingyuan <zhangdingy...@deepin.org> Date: Mon, 26 Dec 2022 16:22:38 +0800 Subject: [PATCH] fix: window mode show slowly community version has qt patch Log: --- src/model/appsmanager.cpp | 2 +- src/model/iconcachemanager.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/model/appsmanager.cpp b/src/model/appsmanager.cpp index 3542ed55..f5decc10 100644 --- a/src/model/appsmanager.cpp +++ b/src/model/appsmanager.cpp @@ -760,7 +760,7 @@ const QPixmap AppsManager::appIcon(const ItemInfo &info, const int size) // ç¼åä¸æ²¡ææ¶ï¼èµæºä»ä¸»çº¿ç¨å è½½ m_itemInfo = info; - m_iconValid = getThemeIcon(pix, info, size, !m_iconValid); + m_iconValid = getThemeIcon(pix, info, size, !DSysInfo::isCommunityEdition()); if (m_iconValid) { m_tryNums = 0; diff --git a/src/model/iconcachemanager.cpp b/src/model/iconcachemanager.cpp index 7cdb57d0..21d37456 100644 --- a/src/model/iconcachemanager.cpp +++ b/src/model/iconcachemanager.cpp @@ -44,7 +44,7 @@ void IconCacheManager::createPixmap(const ItemInfo &itemInfo, int size) return; QPixmap pixmap; - m_iconValid = getThemeIcon(pixmap, itemInfo, size, !m_iconValid); + m_iconValid = getThemeIcon(pixmap, itemInfo, size, !DSysInfo::isCommunityEdition()); if (m_iconValid) { m_tryNums = 0; } else { @@ -54,7 +54,7 @@ void IconCacheManager::createPixmap(const ItemInfo &itemInfo, int size) QIcon::setThemeSearchPaths(QIcon::themeSearchPaths()); QThread::msleep(10); - m_iconValid = getThemeIcon(pixmap, itemInfo, size, true); + m_iconValid = getThemeIcon(pixmap, itemInfo, size, !DSysInfo::isCommunityEdition()); } else { if (m_tryCount > 10) { m_tryCount = 0; @@ -71,7 +71,7 @@ void IconCacheManager::createPixmap(const ItemInfo &itemInfo, int size) ++m_tryCount; QThread::msleep(500); - m_iconValid = getThemeIcon(pixmap, itemInfo, size, true); + m_iconValid = getThemeIcon(pixmap, itemInfo, size, !DSysInfo::isCommunityEdition()); } } }