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-12-07 17:34:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui (Old) and /work/SRC/openSUSE:Factory/.libyui.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui" Wed Dec 7 17:34:37 2022 rev:83 rq:1040688 version:4.4.7 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui/libyui.changes 2022-11-10 14:19:35.377439323 +0100 +++ /work/SRC/openSUSE:Factory/.libyui.new.1835/libyui.changes 2022-12-07 17:35:50.500827144 +0100 @@ -1,0 +2,7 @@ +Tue Dec 6 13:19:20 UTC 2022 - Stefan Hundhammer <[email protected]> + +- YQPkg: Scroll patterns list by pixels, not by item to avoid problems + caused by non-uniform item heights (bsc#1189550) +- 4.4.7 + +------------------------------------------------------------------- Old: ---- libyui-4.4.6.tar.bz2 New: ---- libyui-4.4.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-bindings.spec ++++++ --- /var/tmp/diff_new_pack.69SKR0/_old 2022-12-07 17:35:51.192830933 +0100 +++ /var/tmp/diff_new_pack.69SKR0/_new 2022-12-07 17:35:51.196830955 +0100 @@ -20,7 +20,7 @@ Name: libyui-bindings # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 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.69SKR0/_old 2022-12-07 17:35:51.212831043 +0100 +++ /var/tmp/diff_new_pack.69SKR0/_new 2022-12-07 17:35:51.216831064 +0100 @@ -19,7 +19,7 @@ Name: libyui-ncurses-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 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.69SKR0/_old 2022-12-07 17:35:51.324831656 +0100 +++ /var/tmp/diff_new_pack.69SKR0/_new 2022-12-07 17:35:51.332831700 +0100 @@ -19,7 +19,7 @@ Name: libyui-qt-graph # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 ++++++ libyui-qt-pkg.spec ++++++ --- /var/tmp/diff_new_pack.69SKR0/_old 2022-12-07 17:35:51.356831831 +0100 +++ /var/tmp/diff_new_pack.69SKR0/_new 2022-12-07 17:35:51.360831853 +0100 @@ -19,7 +19,7 @@ Name: libyui-qt-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 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.6.tar.bz2 -> libyui-4.4.7.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/VERSION.cmake new/libyui-4.4.7/VERSION.cmake --- old/libyui-4.4.6/VERSION.cmake 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/VERSION.cmake 2022-12-06 14:56:32.000000000 +0100 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "4") SET( VERSION_MINOR "4" ) -SET( VERSION_PATCH "6" ) +SET( VERSION_PATCH "7" ) 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.6/libyui-qt-pkg/src/YQPkgPatternList.cc new/libyui-4.4.7/libyui-qt-pkg/src/YQPkgPatternList.cc --- old/libyui-4.4.6/libyui-qt-pkg/src/YQPkgPatternList.cc 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/libyui-qt-pkg/src/YQPkgPatternList.cc 2022-12-06 14:56:32.000000000 +0100 @@ -53,14 +53,13 @@ YQPkgPatternList::YQPkgPatternList( QWidget * parent, bool autoFill, bool autoFilter ) : YQPkgObjList( parent ) - , _howmanyCol(0) { yuiDebug() << "Creating pattern list" << std::endl; int numCol = 0; QStringList headers; - //headers << ""; headers << ""; _statusCol = numCol++; + headers << ""; _iconCol = numCol++; // Translators: "Pattern" refers to so-called "installation patterns", // i.e., specific task-oriented groups of packages, like "everything that @@ -69,14 +68,10 @@ // configuring the web server. For the scope of the package selector, this // is only of little relevance, though. - headers << ""; _iconCol = numCol++; headers << _( "Pattern" ); _summaryCol = numCol++; - //headers << ""; _howmanyCol = numCol++; - setColumnCount( numCol ); - setHeaderLabels(headers); - + setHeaderLabels( headers ); setIndentation(0); // Can use the same colum for "broken" and "satisfied": @@ -85,26 +80,19 @@ _satisfiedIconCol = -42; _brokenIconCol = -42; -// header()->setStretchEnabled( _statusCol , false ); -// header()->setStretchEnabled( _summaryCol, true ); - setSortingEnabled( true ); sortByColumn( summaryCol(), Qt::AscendingOrder ); setAllColumnsShowFocus( true ); - header()->setSectionResizeMode( statusCol(), QHeaderView::Fixed ); - header()->setSectionResizeMode( summaryCol(), QHeaderView::Stretch ); - header()->setSectionResizeMode( howmanyCol(), QHeaderView::Fixed ); + header()->setSectionResizeMode( statusCol(), QHeaderView::Fixed ); + header()->setSectionResizeMode( summaryCol(), QHeaderView::Stretch ); header()->resizeSection( statusCol(), 25 ); setColumnWidth( statusCol(), 25 ); setColumnWidth( summaryCol(), 100 ); - setColumnWidth( howmanyCol(), 15 ); + setVerticalScrollMode( QAbstractItemView::ScrollPerPixel ); // bsc#1189550 - //header()->resizeSection( 0, 0 ); - - //header()->setMinimumSectionSize( 25 ); if ( autoFilter ) { @@ -115,7 +103,6 @@ setIconSize(QSize(32,32)); header()->resizeSection( iconCol(), 34 ); - //header()->resizeSection( howmanyCol(), 15 ); if ( autoFill ) { @@ -166,7 +153,6 @@ yuiDebug() << "Pattern list filled" << std::endl; resizeColumnToContents(_iconCol); resizeColumnToContents(_statusCol); - resizeColumnToContents(_howmanyCol); } @@ -214,12 +200,14 @@ int total = 0; int installed = 0; - zypp::Pattern::Contents c(zyppPattern->contents()); - for ( zypp::Pattern::Contents::Selectable_iterator it = c.selectableBegin(); - it != c.selectableEnd(); + zypp::Pattern::Contents contents( zyppPattern->contents() ); + + for ( zypp::Pattern::Contents::Selectable_iterator it = contents.selectableBegin(); + it != contents.selectableEnd(); ++it ) { ZyppPkg zyppPkg = tryCastToZyppPkg( (*it)->theObj() ); + if ( zyppPkg ) { if ( (*it)->installedSize() > 0 ) @@ -236,7 +224,7 @@ } emit filterFinished(); - resizeColumnToContents(_howmanyCol); + resizeColumnToContents( _statusCol ); } @@ -262,8 +250,8 @@ item = new YQPkgPatternListItem( this, selectable, zyppPattern ); } - resizeColumnToContents(_howmanyCol); - resizeColumnToContents(_summaryCol); + resizeColumnToContents( _statusCol ); + resizeColumnToContents( _summaryCol ); addTopLevelItem(item); applyExcludeRules( item ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/libyui-qt-pkg/src/YQPkgPatternList.h new/libyui-4.4.7/libyui-qt-pkg/src/YQPkgPatternList.h --- old/libyui-4.4.6/libyui-qt-pkg/src/YQPkgPatternList.h 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/libyui-qt-pkg/src/YQPkgPatternList.h 2022-12-06 14:56:32.000000000 +0100 @@ -107,7 +107,7 @@ **/ virtual void selectSomething(); - + public: /** @@ -115,7 +115,7 @@ **/ YQPkgPatternListItem * selection() const; - int howmanyCol() const { return _howmanyCol; } + signals: /** @@ -218,7 +218,7 @@ * Initialize things common to all constructors. **/ void init(); - + /** * Propagate status changes in this list to other lists: * Have the solver transact all patterns. @@ -275,7 +275,7 @@ * Reimplemented from QListViewItem to force categories open at all times **/ virtual void setExpanded( bool open ); - + protected: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-bindings.spec new/libyui-4.4.7/package/libyui-bindings.spec --- old/libyui-4.4.6/package/libyui-bindings.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-bindings.spec 2022-12-06 14:56:32.000000000 +0100 @@ -20,7 +20,7 @@ Name: libyui-bindings # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 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.6/package/libyui-ncurses-pkg.spec new/libyui-4.4.7/package/libyui-ncurses-pkg.spec --- old/libyui-4.4.6/package/libyui-ncurses-pkg.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-ncurses-pkg.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-ncurses-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-ncurses-rest-api.spec new/libyui-4.4.7/package/libyui-ncurses-rest-api.spec --- old/libyui-4.4.6/package/libyui-ncurses-rest-api.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-ncurses-rest-api.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-ncurses-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-ncurses.spec new/libyui-4.4.7/package/libyui-ncurses.spec --- old/libyui-4.4.6/package/libyui-ncurses.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-ncurses.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-ncurses # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-qt-graph.spec new/libyui-4.4.7/package/libyui-qt-graph.spec --- old/libyui-4.4.6/package/libyui-qt-graph.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-qt-graph.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-qt-graph # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-qt-pkg.spec new/libyui-4.4.7/package/libyui-qt-pkg.spec --- old/libyui-4.4.6/package/libyui-qt-pkg.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-qt-pkg.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-qt-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-qt-rest-api.spec new/libyui-4.4.7/package/libyui-qt-rest-api.spec --- old/libyui-4.4.6/package/libyui-qt-rest-api.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-qt-rest-api.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-qt-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-qt.spec new/libyui-4.4.7/package/libyui-qt.spec --- old/libyui-4.4.6/package/libyui-qt.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-qt.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-qt # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui-rest-api.spec new/libyui-4.4.7/package/libyui-rest-api.spec --- old/libyui-4.4.6/package/libyui-rest-api.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui-rest-api.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui.changes new/libyui-4.4.7/package/libyui.changes --- old/libyui-4.4.6/package/libyui.changes 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui.changes 2022-12-06 14:56:32.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Dec 6 13:19:20 UTC 2022 - Stefan Hundhammer <[email protected]> + +- YQPkg: Scroll patterns list by pixels, not by item to avoid problems + caused by non-uniform item heights (bsc#1189550) +- 4.4.7 + +------------------------------------------------------------------- Wed Nov 9 13:59:19 UTC 2022 - Stefan Hundhammer <[email protected]> - Prevent antisocial focus grabbing in pkg list (bsc#1204429) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.4.6/package/libyui.spec new/libyui-4.4.7/package/libyui.spec --- old/libyui-4.4.6/package/libyui.spec 2022-11-09 16:04:22.000000000 +0100 +++ new/libyui-4.4.7/package/libyui.spec 2022-12-06 14:56:32.000000000 +0100 @@ -19,7 +19,7 @@ Name: libyui # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.4.6 +Version: 4.4.7 Release: 0 %define so_version 16
