Hello community,

here is the log from the commit of package libyui-qt for openSUSE:Factory 
checked in at 2020-11-06 23:42:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-qt (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-qt.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-qt"

Fri Nov  6 23:42:47 2020 rev:75 rq:845920 version:2.56.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-qt/libyui-qt.changes      2020-10-29 
09:21:20.654632414 +0100
+++ /work/SRC/openSUSE:Factory/.libyui-qt.new.11331/libyui-qt.changes   
2020-11-06 23:42:49.079526705 +0100
@@ -1,0 +2,7 @@
+Tue Nov  3 12:33:56 UTC 2020 - Stefan Hundhammer <shundham...@suse.com>
+
+- Honor menu item enabled/disabled state when rebuilding menu item tree
+  (e.g. after keyboard shortcut change) (boo#1178394)
+- 2.56.2
+
+-------------------------------------------------------------------

Old:
----
  libyui-qt-2.56.1.tar.bz2

New:
----
  libyui-qt-2.56.2.tar.bz2

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

Other differences:
------------------
++++++ libyui-qt-doc.spec ++++++
--- /var/tmp/diff_new_pack.VfakJ8/_old  2020-11-06 23:42:49.735525444 +0100
+++ /var/tmp/diff_new_pack.VfakJ8/_new  2020-11-06 23:42:49.739525436 +0100
@@ -21,7 +21,7 @@
 
 Name:           %{parent}-doc
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        2.56.1
+Version:        2.56.2
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 

++++++ libyui-qt.spec ++++++
--- /var/tmp/diff_new_pack.VfakJ8/_old  2020-11-06 23:42:49.759525399 +0100
+++ /var/tmp/diff_new_pack.VfakJ8/_new  2020-11-06 23:42:49.763525390 +0100
@@ -18,7 +18,7 @@
 
 Name:           libyui-qt
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        2.56.1
+Version:        2.56.2
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 

++++++ libyui-qt-2.56.1.tar.bz2 -> libyui-qt-2.56.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.56.1/VERSION.cmake 
new/libyui-qt-2.56.2/VERSION.cmake
--- old/libyui-qt-2.56.1/VERSION.cmake  2020-10-23 12:06:43.000000000 +0200
+++ new/libyui-qt-2.56.2/VERSION.cmake  2020-11-04 10:25:45.000000000 +0100
@@ -1,6 +1,6 @@
 SET(VERSION_MAJOR "2")
 SET(VERSION_MINOR "56")
-SET(VERSION_PATCH "1")
+SET(VERSION_PATCH "2")
 SET( VERSION 
"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" )
 
 ##### This is needed for the libyui-qt core ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.56.1/package/libyui-qt-doc.spec 
new/libyui-qt-2.56.2/package/libyui-qt-doc.spec
--- old/libyui-qt-2.56.1/package/libyui-qt-doc.spec     2020-10-23 
12:06:43.000000000 +0200
+++ new/libyui-qt-2.56.2/package/libyui-qt-doc.spec     2020-11-04 
10:25:45.000000000 +0100
@@ -21,7 +21,7 @@
 
 Name:           %{parent}-doc
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        2.56.1
+Version:        2.56.2
 Release:        0
 Source:         %{parent}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.56.1/package/libyui-qt.changes 
new/libyui-qt-2.56.2/package/libyui-qt.changes
--- old/libyui-qt-2.56.1/package/libyui-qt.changes      2020-10-23 
12:06:43.000000000 +0200
+++ new/libyui-qt-2.56.2/package/libyui-qt.changes      2020-11-04 
10:25:45.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Nov  3 12:33:56 UTC 2020 - Stefan Hundhammer <shundham...@suse.com>
+
+- Honor menu item enabled/disabled state when rebuilding menu item tree
+  (e.g. after keyboard shortcut change) (boo#1178394)
+- 2.56.2
+
+-------------------------------------------------------------------
 Thu Oct 15 13:47:14 UTC 2020 - Stefan Hundhammer <shundham...@suse.com>
 
 - Added support for OpenItems property for (nested) tables (bsc#1176402)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.56.1/package/libyui-qt.spec 
new/libyui-qt-2.56.2/package/libyui-qt.spec
--- old/libyui-qt-2.56.1/package/libyui-qt.spec 2020-10-23 12:06:43.000000000 
+0200
+++ new/libyui-qt-2.56.2/package/libyui-qt.spec 2020-11-04 10:25:45.000000000 
+0100
@@ -18,7 +18,7 @@
 
 Name:           libyui-qt
 # DO NOT manually bump the version here; instead, use   rake version:bump
-Version:        2.56.1
+Version:        2.56.2
 Release:        0
 Source:         %{name}-%{version}.tar.bz2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-2.56.1/src/YQMenuBar.cc 
new/libyui-qt-2.56.2/src/YQMenuBar.cc
--- old/libyui-qt-2.56.1/src/YQMenuBar.cc       2020-10-23 12:06:43.000000000 
+0200
+++ new/libyui-qt-2.56.2/src/YQMenuBar.cc       2020-11-04 10:25:45.000000000 
+0100
@@ -82,7 +82,7 @@
        item->setUiItem( menu );
 
        connect( menu, &pclass(menu)::triggered,
-               this, &pclass(this)::menuEntryActivated );
+                 this, &pclass(this)::menuEntryActivated );
 
        // Recursively add menu content
        rebuildMenuTree( menu, item->childrenBegin(), item->childrenEnd() );
@@ -110,6 +110,12 @@
        {
            QMenu * subMenu = parentMenu->addMenu( fromUTF8( item->label() ));
            item->setUiItem( subMenu );
+            subMenu->setEnabled( item->isEnabled() );
+            // Do NOT call
+            //   subMenu->setVisible( item->isVisible() );
+            // here since this would make this pop-up menu visible immediately!
+            // It has to wait until the user explicitly opens it.
+
 
            if ( ! icon.isNull() )
                subMenu->setIcon( icon );
@@ -124,6 +130,8 @@
            QAction * action = parentMenu->addAction( fromUTF8( item->label() ) 
);
            item->setUiItem( action );
            _actionMap[ action ] = item;
+            action->setEnabled( item->isEnabled() );
+            action->setVisible( item->isVisible() );
 
            if ( ! icon.isNull() )
                action->setIcon( icon );
@@ -136,7 +144,7 @@
 YQMenuBar::menuEntryActivated( QAction * action )
 {
     if ( _actionMap.contains( action ) )
-        _selectedItem = _actionMap[ action ];
+        _selectedItem = _actionMap[ action ];
 
     if ( _selectedItem )
     {
@@ -146,8 +154,8 @@
         * Defer the real returnNow() until all popup related events have been
         * processed. This took me some hours to figure out; obviously
         * exit_loop() doesn't have any effect as long as there are still
-        * popups open. So be it - use a zero timer to perform the real
-        * returnNow() later.
+        * popups open. So be it - use a timer to perform the real returnNow()
+        * later.
         */
 
        /*


Reply via email to