Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kvantum for openSUSE:Factory checked 
in at 2026-06-03 20:22:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kvantum (Old)
 and      /work/SRC/openSUSE:Factory/.kvantum.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kvantum"

Wed Jun  3 20:22:19 2026 rev:26 rq:1356784 version:1.1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/kvantum/kvantum.changes  2026-05-10 
16:48:48.853982252 +0200
+++ /work/SRC/openSUSE:Factory/.kvantum.new.1937/kvantum.changes        
2026-06-03 20:26:00.598140155 +0200
@@ -1,0 +2,7 @@
+Tue Jun  2 16:57:42 UTC 2026 - Konstantin Voinov <[email protected]>
+
+- Version 1.1.8
+  * Covered a rare case of finding the parent menu-bar of a menu,
+    especially on Wayland.
+
+-------------------------------------------------------------------

Old:
----
  kvantum-1.1.7.tar.gz

New:
----
  kvantum-1.1.8.tar.gz

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

Other differences:
------------------
++++++ kvantum.spec ++++++
--- /var/tmp/diff_new_pack.7usWE1/_old  2026-06-03 20:26:03.290251832 +0200
+++ /var/tmp/diff_new_pack.7usWE1/_new  2026-06-03 20:26:03.294251998 +0200
@@ -31,7 +31,7 @@
 %define dsc_suffix Qt5
 %endif
 Name:           kvantum%{?pkg_suffix}
-Version:        1.1.7
+Version:        1.1.8
 Release:        0
 Summary:        SVG-based theme engine for Qt5 and Qt6
 License:        GPL-3.0-or-later

++++++ kvantum-1.1.7.tar.gz -> kvantum-1.1.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Kvantum-1.1.7/Kvantum/ChangeLog 
new/Kvantum-1.1.8/Kvantum/ChangeLog
--- old/Kvantum-1.1.7/Kvantum/ChangeLog 2026-05-08 21:04:30.000000000 +0200
+++ new/Kvantum-1.1.8/Kvantum/ChangeLog 2026-05-09 22:40:42.000000000 +0200
@@ -1,3 +1,7 @@
+V1.1.8
+---------
+ * Covered a rare edge case of finding the parent menubar of a menu.
+
 V1.1.7
 ---------
  * Added a workaround for a backward incompatible change in the behavior of 
submenus of Qt 6.11 on Wayland, because of which `QWidget::move()` doesn't work 
with them anymore.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Kvantum-1.1.7/Kvantum/NEWS 
new/Kvantum-1.1.8/Kvantum/NEWS
--- old/Kvantum-1.1.7/Kvantum/NEWS      2026-05-08 21:04:30.000000000 +0200
+++ new/Kvantum-1.1.8/Kvantum/NEWS      2026-05-09 22:40:42.000000000 +0200
@@ -1,5 +1,5 @@
 Latest version:
 
-       8 May 2026, V1.1.7
+       10 May 2026, V1.1.8
 
 See "ChangeLog" for changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Kvantum-1.1.7/Kvantum/kvantummanager/main.cpp 
new/Kvantum-1.1.8/Kvantum/kvantummanager/main.cpp
--- old/Kvantum-1.1.7/Kvantum/kvantummanager/main.cpp   2026-05-08 
21:04:30.000000000 +0200
+++ new/Kvantum-1.1.8/Kvantum/kvantummanager/main.cpp   2026-05-09 
22:40:42.000000000 +0200
@@ -27,7 +27,7 @@
 int main (int argc, char *argv[])
 {
     const QString name = "Kvantum Manager";
-    const QString version = "1.1.7";
+    const QString version = "1.1.8";
 
     QStringList options;
     for (int i = 1; i < argc; ++i)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Kvantum-1.1.7/Kvantum/style/eventFiltering.cpp 
new/Kvantum-1.1.8/Kvantum/style/eventFiltering.cpp
--- old/Kvantum-1.1.7/Kvantum/style/eventFiltering.cpp  2026-05-08 
21:04:30.000000000 +0200
+++ new/Kvantum-1.1.8/Kvantum/style/eventFiltering.cpp  2026-05-09 
22:40:42.000000000 +0200
@@ -990,12 +990,12 @@
           for (QWidget *topWidget : topLevels)
           {
             if (!topWidget->isVisible()) continue;
-            if (qobject_cast<QMenu*>(topWidget))
+            if (auto topMenu = qobject_cast<QMenu*>(topWidget))
             {
               if (topWidget->testAttribute(Qt::WA_X11NetWmWindowTypeMenu)
-                  && qobject_cast<QMenu*>(topWidget)->activeAction())
+                  && topMenu->activeAction())
               {
-                parentMenu = qobject_cast<QMenu*>(topWidget);
+                parentMenu = topMenu;
                 parentMenuCorner = parentMenu->mapToGlobal(QPoint(0,0));
                 break;
               }
@@ -1008,7 +1008,7 @@
             {
               if (QMenuBar *mb = 
qobject_cast<QMenuBar*>(topWidget->childAt(0,0)))
               {
-                if (mb->activeAction() != nullptr &&  mb->activeAction() == 
menu->menuAction())
+                if (mb->activeAction() != nullptr && 
mb->activeAction()->menu() == menu)
                 {
                   parentMenubar = mb;
                   break;
@@ -1026,7 +1026,7 @@
           {
             if (QMenuBar *mb = qobject_cast<QMenuBar*>(mw->menuWidget()))
             {
-              if (mb->activeAction() != nullptr &&  mb->activeAction() == 
menu->menuAction())
+              if (mb->activeAction() != nullptr && mb->activeAction()->menu() 
== menu)
                 parentMenubar = mb;
             }
           }
@@ -1354,12 +1354,8 @@
           {
             if (menu->menuAction() && parentMenubar->activeAction())
             {
-              auto geom = parentMenubar->rect();
-              auto baseGeom = 
parentMenubar->actionGeometry(parentMenubar->activeAction());
-              if (w->layoutDirection() == Qt::RightToLeft)
-                geom.moveTopRight(baseGeom.topRight());
-              else
-                geom.moveTopLeft(baseGeom.topLeft());
+              auto geom = 
parentMenubar->actionGeometry(parentMenubar->activeAction());
+              geom.setSize(geom.size().expandedTo(QSize(1, 1)));
               win->setProperty("_q_waylandPopupAnchorRect", 
geom.translated(DX, DY));
 
               uint constraintAdjustment = 1 | 2;

Reply via email to