Hello community, here is the log from the commit of package yast2-qt for openSUSE:11.4 checked in at Fri Feb 18 14:22:23 CET 2011. -------- --- old-versions/11.4/all/yast2-qt/yast2-qt.changes 2011-02-11 14:55:39.000000000 +0100 +++ /mounts/work_src_done/11.4/yast2-qt/yast2-qt.changes 2011-02-16 11:11:17.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Feb 16 11:14:10 CET 2011 - tgoettlicher@suse.de + +- Fixed event handling in context menu (bnc #671147) +- V 2.20.3 + +------------------------------------------------------------------- calling whatdependson for 11.4-i586 Old: ---- yast2-qt-2.20.2.tar.bz2 New: ---- yast2-qt-2.20.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-qt.spec ++++++ --- /var/tmp/diff_new_pack.47wH4s/_old 2011-02-18 14:22:22.000000000 +0100 +++ /var/tmp/diff_new_pack.47wH4s/_new 2011-02-18 14:22:22.000000000 +0100 @@ -18,11 +18,11 @@ Name: yast2-qt -Version: 2.20.2 -Release: 1 +Version: 2.20.3 +Release: 1.<RELEASE2> BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-qt-2.20.2.tar.bz2 +Source0: yast2-qt-2.20.3.tar.bz2 Group: System/YaST License: GPLv2+ BuildRequires: docbook-xsl-stylesheets ++++++ yast2-qt-2.20.2.tar.bz2 -> yast2-qt-2.20.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.20.2/VERSION.cmake new/yast2-qt-2.20.3/VERSION.cmake --- old/yast2-qt-2.20.2/VERSION.cmake 2011-02-11 14:58:56.000000000 +0100 +++ new/yast2-qt-2.20.3/VERSION.cmake 2011-02-16 11:15:49.000000000 +0100 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "20") -SET(VERSION_PATCH "2") +SET(VERSION_PATCH "3") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.20.2/package/yast2-qt.changes new/yast2-qt-2.20.3/package/yast2-qt.changes --- old/yast2-qt-2.20.2/package/yast2-qt.changes 2011-02-11 14:58:56.000000000 +0100 +++ new/yast2-qt-2.20.3/package/yast2-qt.changes 2011-02-16 11:15:50.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Feb 16 11:14:10 CET 2011 - tgoettlicher@suse.de + +- Fixed event handling in context menu (bnc #671147) +- V 2.20.3 + +------------------------------------------------------------------- Fri Feb 11 14:57:41 CET 2011 - tgoettlicher@suse.de - Fixed event handling in tree widget diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.20.2/src/YQContextMenu.cc new/yast2-qt-2.20.3/src/YQContextMenu.cc --- old/yast2-qt-2.20.2/src/YQContextMenu.cc 2011-02-11 14:58:56.000000000 +0100 +++ new/yast2-qt-2.20.3/src/YQContextMenu.cc 2011-02-16 11:15:50.000000000 +0100 @@ -52,6 +52,7 @@ YQContextMenu::YQContextMenu() : QObject () , YContextMenu( ) + , _suppressCancelEvent(false ) { yuiWarning() << "YQContextMenu"; @@ -147,14 +148,17 @@ { // dirty hack // see menuEntryActivated() for details - QTimer::singleShot( 100, this, SLOT( slotReturnMenuHidden() ) ); + QTimer::singleShot( 150, this, SLOT( slotReturnMenuHidden() ) ); } void YQContextMenu::slotReturnMenuHidden() { - YQUI::ui()->sendEvent( new YCancelEvent() ); + if ( ! _suppressCancelEvent ) + YQUI::ui()->sendEvent( new YCancelEvent() ); + + _suppressCancelEvent = false; } @@ -181,6 +185,7 @@ /* * the 100 delay is a ugly dirty workaround */ + _suppressCancelEvent = true; QTimer::singleShot( 100, this, SLOT( returnNow() ) ); } else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-qt-2.20.2/src/YQContextMenu.h new/yast2-qt-2.20.3/src/YQContextMenu.h --- old/yast2-qt-2.20.2/src/YQContextMenu.h 2011-02-11 14:58:56.000000000 +0100 +++ new/yast2-qt-2.20.3/src/YQContextMenu.h 2011-02-16 11:15:50.000000000 +0100 @@ -150,6 +150,7 @@ private: QPoint _position; + bool _suppressCancelEvent; }; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org