Solve the problem that sometimes the circular loading progress bar does not rotate

This commit is contained in:
yueyuankun 2022-08-23 16:08:32 +08:00
parent 2d1a4cab37
commit bc3dca5041
2 changed files with 33 additions and 1 deletions

View File

@ -4,7 +4,7 @@
%endif
Name: anaconda
Version: 33.19
Release: 33
Release: 34
Summary: Graphical system installer
License: GPLv2+ and MIT
URL: http://fedoraproject.org/wiki/Anaconda
@ -122,6 +122,7 @@ Patch9026: support-use-sm3-crypt-user-password.patch
Patch6077: bugfix-Cancel-planned-manual-update-of-system-time-on-turni.patch
Patch6078: revert-Set-default-entry-to-the-BLS-id-instead-of-th.patch
Patch6079: bugfix-Solve-the-problem-that-the-circular-loading-progress-bar-does-not-rotate.patch
%define dbusver 1.2.3
%define dnfver 3.6.0
@ -335,6 +336,12 @@ update-desktop-database &> /dev/null || :
%{_datadir}/gtk-doc
%changelog
* Tue Aug 23 2022 yueyuankun <yueyuankun@kylinos.cn> - 33.19-34
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Solve the problem that sometimes the circular loading progress bar does not rotate
* Fri Aug 5 2022 wanglu <wanglu210@huawei.com> - 33.19-33
- Type:bugfix
- ID:NA

View File

@ -0,0 +1,25 @@
From ccc28e983cd2c1f1f02fd00b9b1659fb572bac1b Mon Sep 17 00:00:00 2001
From: yueyuankun <yueyuankun@kylinos.cn>
Date: Tue, 23 Aug 2022 15:53:18 +0800
Subject: [PATCH] Solve the problem that sometimes the circular
loading progress bar does not rotate
---
pyanaconda/ui/gui/spokes/installation_progress.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/ui/gui/spokes/installation_progress.py b/pyanaconda/ui/gui/spokes/installation_progress.py
index 0de742b..5ed3424 100644
--- a/pyanaconda/ui/gui/spokes/installation_progress.py
+++ b/pyanaconda/ui/gui/spokes/installation_progress.py
@@ -85,6 +85,7 @@ class ProgressSpoke(StandaloneSpoke):
if code == progressQ.PROGRESS_CODE_INIT:
self._init_progress_bar(args[0])
+ gtk_call_once(self._spinner.start)
elif code == progressQ.PROGRESS_CODE_STEP:
self._step_progress_bar()
elif code == progressQ.PROGRESS_CODE_MESSAGE:
--
2.27.0