Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package breeze for openSUSE:Factory checked in at 2022-08-25 15:33:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/breeze (Old) and /work/SRC/openSUSE:Factory/.breeze.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "breeze" Thu Aug 25 15:33:02 2022 rev:145 rq:998956 version:5.25.4 Changes: -------- --- /work/SRC/openSUSE:Factory/breeze/breeze.changes 2022-08-05 19:49:40.925243254 +0200 +++ /work/SRC/openSUSE:Factory/.breeze.new.2083/breeze.changes 2022-08-25 15:33:04.799922255 +0200 @@ -1,0 +2,6 @@ +Tue Aug 23 12:33:29 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de> + +- Add patch to fix progress bars in some applications: + * 0001-Look-at-QStyleOptionProgressBar-orientation-again.patch + +------------------------------------------------------------------- New: ---- 0001-Look-at-QStyleOptionProgressBar-orientation-again.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ breeze.spec ++++++ --- /var/tmp/diff_new_pack.gQqH0z/_old 2022-08-25 15:33:05.551923897 +0200 +++ /var/tmp/diff_new_pack.gQqH0z/_new 2022-08-25 15:33:05.559923914 +0200 @@ -33,6 +33,8 @@ Source1: https://download.kde.org/stable/plasma/%{version}/breeze-%{version}.tar.xz.sig Source2: plasma.keyring %endif +# PATCH-FIX-UPSTREAM +Patch1: 0001-Look-at-QStyleOptionProgressBar-orientation-again.patch BuildRequires: cmake >= 3.16 BuildRequires: extra-cmake-modules >= 0.0.13 BuildRequires: fdupes ++++++ 0001-Look-at-QStyleOptionProgressBar-orientation-again.patch ++++++ >From 5647eaf512b61b96742dfece1146424978856f69 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fab...@ritter-vogt.de> Date: Tue, 23 Aug 2022 14:31:53 +0200 Subject: [PATCH] Look at QStyleOptionProgressBar::orientation again Some applications (KGet, DigiKam) use that and not QStyle::State_Horizontal. For compatibility, keep looking at it as long as it's available. (cherry picked from commit 5596fd9f2e014e59f3764023d6b1099ce1316028) --- kstyle/breezestyle.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 600d0164..57c502e5 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -162,7 +162,11 @@ private: //_______________________________________________________________ bool isProgressBarHorizontal(const QStyleOptionProgressBar *option) { +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) return option && (option->state & QStyle::State_Horizontal); +#else + return option && ((option->state & QStyle::State_Horizontal) || option->orientation == Qt::Horizontal); +#endif } enum class ToolButtonMenuArrowStyle { -- 2.37.2