Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libyui for openSUSE:Factory checked in at 2022-08-31 18:08:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui (Old) and /work/SRC/openSUSE:Factory/.libyui.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui" Wed Aug 31 18:08:46 2022 rev:81 rq:1000314 version:4.4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui/libyui.changes 2022-08-23 14:26:30.091206947 +0200 +++ /work/SRC/openSUSE:Factory/.libyui.new.2083/libyui.changes 2022-08-31 18:08:51.847355791 +0200 @@ -1,0 +2,8 @@ +Tue Aug 30 13:25:24 UTC 2022 - Stefan Hundhammer <shundham...@suse.com> + +- Fixed main window stacking order in YQMainWinDock to avoid + unintentional transparency when QSS-styling YQDialogs + (bsc#1199020, bsc#1191112) +- 4.4.4 + +------------------------------------------------------------------- Old: ---- libyui-4.4.3.tar.bz2 New: ---- libyui-4.4.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-bindings.spec ++++++ --- /var/tmp/diff_new_pack.zNQXZJ/_old 2022-08-31 18:08:53.187359336 +0200 +++ /var/tmp/diff_new_pack.zNQXZJ/_new 2022-08-31 18:08:53.195359357 +0200 @@ -20,7 +20,7 @@ Name: libyui-bindings # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 Summary: Bindings for libyui License: LGPL-2.1-only OR LGPL-3.0-only ++++++ libyui-ncurses-pkg.spec ++++++ --- /var/tmp/diff_new_pack.zNQXZJ/_old 2022-08-31 18:08:53.211359400 +0200 +++ /var/tmp/diff_new_pack.zNQXZJ/_new 2022-08-31 18:08:53.219359421 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 libyui-ncurses-rest-api.spec: same change libyui-ncurses.spec: same change ++++++ libyui-qt-graph.spec ++++++ --- /var/tmp/diff_new_pack.zNQXZJ/_old 2022-08-31 18:08:53.287359600 +0200 +++ /var/tmp/diff_new_pack.zNQXZJ/_new 2022-08-31 18:08:53.291359611 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-graph # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 ++++++ libyui-qt-pkg.spec ++++++ --- /var/tmp/diff_new_pack.zNQXZJ/_old 2022-08-31 18:08:53.311359664 +0200 +++ /var/tmp/diff_new_pack.zNQXZJ/_new 2022-08-31 18:08:53.315359675 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 libyui-qt-rest-api.spec: same change libyui-qt.spec: same change libyui-rest-api.spec: same change libyui.spec: same change ++++++ libyui-4.4.3.tar.bz2 -> libyui-4.4.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/VERSION.cmake new/libyui-4.4.4/VERSION.cmake --- old/libyui-4.4.3/VERSION.cmake 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/VERSION.cmake 2022-08-30 17:29:32.000000000 +0200 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "4") SET( VERSION_MINOR "4" ) -SET( VERSION_PATCH "3" ) +SET( VERSION_PATCH "4" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" ) SET( SONAME_MAJOR "16" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/libyui-qt/src/YQMainWinDock.cc new/libyui-4.4.4/libyui-qt/src/YQMainWinDock.cc --- old/libyui-4.4.3/libyui-qt/src/YQMainWinDock.cc 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/libyui-qt/src/YQMainWinDock.cc 2022-08-30 17:29:32.000000000 +0200 @@ -124,13 +124,7 @@ YQMainWinDock::show() { QWidget::show(); - - if ( ! _widgetStack.empty() ) - { - QWidget * dialog = _widgetStack.back(); - dialog->raise(); - dialog->show(); - } + showCurrentDialog(); } @@ -143,8 +137,7 @@ // (the one that currently still is the topmost on the _widgetStack) activateCurrentDialog( false ); - dialog->raise(); - dialog->show(); + raiseDialog( dialog ); yuiDebug() << "Adding dialog " << std::hex << (void *) dialog << std::dec << " to mainWinDock" @@ -158,6 +151,36 @@ void +YQMainWinDock::raiseDialog( YQDialog * newCurrentDialog ) +{ + if ( ! newCurrentDialog ) + return; + + newCurrentDialog->raise(); + newCurrentDialog->show(); + newCurrentDialog->update(); + + for ( YQMainWinDock::YQWidgetStack::iterator it = _widgetStack.begin(); + it != _widgetStack.end(); + ++it ) + { + if ( *it != newCurrentDialog ) + { + QWidget * widget = (QWidget *) (*it)->widgetRep(); + widget->hide(); + } + } +} + + +void +YQMainWinDock::showCurrentDialog() +{ + raiseDialog( topmostDialog() ); +} + + +void YQMainWinDock::activateCurrentDialog( bool active ) { if ( _widgetStack.empty() ) @@ -168,41 +191,12 @@ // level, its widgetRep() is needed -- which may or may not be the same as // the YQDialog. - YQDialog * dialog = _widgetStack.back(); - QWidget * widget = (QWidget *) dialog->widgetRep(); - - - // But then, there is also the exceptional case that this dialog contains a - // wizard with a steps panel. In that case, the steps panel should remain - // untouched; only the right side (the work area) of that wizard is to be - // activated or deactivated. + YQDialog * dialog = topmostDialog(); - // probably no longer needed, now the windows (even with steps) fully overlap ?? - /*YQWizard * wizard = dialog->findWizard(); - - if ( wizard && wizard->wizardMode() == YWizardMode_Steps ) - { - QWidget * wizardWorkArea = wizard->workArea(); - - if ( wizardWorkArea ) - widget = wizardWorkArea; - // else -> stick with dialog->widgetRep() - }*/ - - if ( widget ) - widget->setEnabled( active ); -} - - -void -YQMainWinDock::showCurrentDialog() -{ - if ( ! _widgetStack.empty() ) + if ( dialog ) { - QWidget * dialog = _widgetStack.back(); - yuiDebug() << "Showing dialog " << std::hex << (void *) dialog << std::dec << endl; - dialog->raise(); - update(); + QWidget * widget = (QWidget *) dialog->widgetRep(); + widget->setEnabled( active ); } } @@ -214,9 +208,9 @@ return; if ( ! dialog ) - dialog = _widgetStack.back(); + dialog = topmostDialog(); - if ( dialog == _widgetStack.back() ) + if ( dialog == topmostDialog() ) { // The most common case: // The topmost dialog is to be removed @@ -246,10 +240,8 @@ hide(); // -> hide dock else { - dialog = _widgetStack.back(); // Get the next dialog from the stack - dialog->raise(); // and raise it + raiseDialog( topmostDialog() ); // Raise the next dialog from the stack activateCurrentDialog( true ); - dialog->show(); resizeVisibleChild(); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/libyui-qt/src/YQMainWinDock.h new/libyui-4.4.4/libyui-qt/src/YQMainWinDock.h --- old/libyui-4.4.3/libyui-qt/src/YQMainWinDock.h 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/libyui-qt/src/YQMainWinDock.h 2022-08-30 17:29:32.000000000 +0200 @@ -177,6 +177,11 @@ **/ YQWidgetStack::iterator findInStack( YQDialog * dialog ); + /** + * Raise and show the specified dialog and hide all others. + **/ + void raiseDialog( YQDialog * dialog ); + YQWidgetStack _widgetStack; int _sideBarWidth; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-bindings.spec new/libyui-4.4.4/package/libyui-bindings.spec --- old/libyui-4.4.3/package/libyui-bindings.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-bindings.spec 2022-08-30 17:29:32.000000000 +0200 @@ -20,7 +20,7 @@ Name: libyui-bindings # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 Summary: Bindings for libyui License: LGPL-2.1-only OR LGPL-3.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-ncurses-pkg.spec new/libyui-4.4.4/package/libyui-ncurses-pkg.spec --- old/libyui-4.4.3/package/libyui-ncurses-pkg.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-ncurses-pkg.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-ncurses-rest-api.spec new/libyui-4.4.4/package/libyui-ncurses-rest-api.spec --- old/libyui-4.4.3/package/libyui-ncurses-rest-api.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-ncurses-rest-api.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-ncurses.spec new/libyui-4.4.4/package/libyui-ncurses.spec --- old/libyui-4.4.3/package/libyui-ncurses.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-ncurses.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-qt-graph.spec new/libyui-4.4.4/package/libyui-qt-graph.spec --- old/libyui-4.4.3/package/libyui-qt-graph.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-qt-graph.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-graph # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-qt-pkg.spec new/libyui-4.4.4/package/libyui-qt-pkg.spec --- old/libyui-4.4.3/package/libyui-qt-pkg.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-qt-pkg.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-qt-rest-api.spec new/libyui-4.4.4/package/libyui-qt-rest-api.spec --- old/libyui-4.4.3/package/libyui-qt-rest-api.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-qt-rest-api.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-qt.spec new/libyui-4.4.4/package/libyui-qt.spec --- old/libyui-4.4.3/package/libyui-qt.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-qt.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui-rest-api.spec new/libyui-4.4.4/package/libyui-rest-api.spec --- old/libyui-4.4.3/package/libyui-rest-api.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui-rest-api.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui.changes new/libyui-4.4.4/package/libyui.changes --- old/libyui-4.4.3/package/libyui.changes 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui.changes 2022-08-30 17:29:32.000000000 +0200 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Tue Aug 30 13:25:24 UTC 2022 - Stefan Hundhammer <shundham...@suse.com> + +- Fixed main window stacking order in YQMainWinDock to avoid + unintentional transparency when QSS-styling YQDialogs + (bsc#1199020, bsc#1191112) +- 4.4.4 + +------------------------------------------------------------------- Tue Aug 2 12:23:17 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz> - *-pkg plugins: fully qualify the _1 placeholder, libzypp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.3/package/libyui.spec new/libyui-4.4.4/package/libyui.spec --- old/libyui-4.4.3/package/libyui.spec 2022-08-02 15:09:47.000000000 +0200 +++ new/libyui-4.4.4/package/libyui.spec 2022-08-30 17:29:32.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.3 +Version: 4.4.4 Release: 0 %define so_version 16