Hello community,

here is the log from the commit of package libqt5-qtstyleplugins for 
openSUSE:Factory checked in at 2020-06-10 00:50:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtstyleplugins (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtstyleplugins.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtstyleplugins"

Wed Jun 10 00:50:31 2020 rev:12 rq:812858 version:5.0.0+git20170311

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libqt5-qtstyleplugins/libqt5-qtstyleplugins.changes  
    2020-03-05 23:25:52.837429648 +0100
+++ 
/work/SRC/openSUSE:Factory/.libqt5-qtstyleplugins.new.3606/libqt5-qtstyleplugins.changes
    2020-06-10 00:50:32.991279899 +0200
@@ -1,0 +2,7 @@
+Tue Jun  9 07:58:08 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Amend patch to fix issues with platform themes providing an
+  incompatible palette (boo#1172658):
+  * fix-build-qt5.15.patch
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fix-build-qt5.15.patch ++++++
--- /var/tmp/diff_new_pack.vcatSu/_old  2020-06-10 00:50:33.527281302 +0200
+++ /var/tmp/diff_new_pack.vcatSu/_new  2020-06-10 00:50:33.527281302 +0200
@@ -3,18 +3,30 @@
 
 With 0a93db4d82c051164923a10e4382b12de9049b45
 ("Unify application palette handling between QGuiApplication and QApplication")
-QApplicationPrivate::setSystemPalette is no longer used and necessary.
+QApplicationPrivate::setSystemPalette does no longer exist.
+
+This style does explictly not support "system colors" defined by the platform
+theme, which have priority over the style provided palette. To prevent the
+theme from overriding the colors, it previously used the system palette
+mechanism (which has priority over the theme), but that way does not work
+anymore. Instead, simply use QApplication::setPalette. While that has
+different behaviour and might break in some applications, it's better than
+having a completely messed up palette with certain themes.
+This is the same change as suggested by gamezelda on
+https://aur.archlinux.org/packages/qt5-styleplugins/#comment-749190.
 
 Index: 
qtstyleplugins-opensource-src-5.0.0+git20170311/src/plugins/styles/gtk2/qgtkstyle.cpp
 ===================================================================
 --- 
qtstyleplugins-opensource-src-5.0.0+git20170311.orig/src/plugins/styles/gtk2/qgtkstyle.cpp
 +++ 
qtstyleplugins-opensource-src-5.0.0+git20170311/src/plugins/styles/gtk2/qgtkstyle.cpp
-@@ -440,7 +440,9 @@ void QGtkStyle::polish(QApplication *app
+@@ -440,7 +440,11 @@ void QGtkStyle::polish(QApplication *app
      // not supported as these should be entirely determined by
      // current Gtk settings
      if (app->desktopSettingsAware() && d->isThemeAvailable()) {
 +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
          QApplicationPrivate::setSystemPalette(standardPalette());
++#else
++        QApplication::setPalette(standardPalette());
 +#endif
          QApplicationPrivate::setSystemFont(d->getThemeFont());
          d->applyCustomPaletteHash();


Reply via email to