Hello community,
here is the log from the commit of package kdebase3
checked in at Mon Nov 13 17:55:27 CET 2006.
--------
--- KDE/kdebase3/kdebase3.changes 2006-11-13 13:50:56.000000000 +0100
+++ /mounts/work_src_done/STABLE/kdebase3/kdebase3.changes 2006-11-13 17:41:29.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Nov 13 17:41:17 CET 2006 - dmueller@suse.de
+
+- update kickoff diff to include button-hover fix
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdebase3.spec ++++++
--- /var/tmp/diff_new_pack.WL690d/_old 2006-11-13 17:50:04.000000000 +0100
+++ /var/tmp/diff_new_pack.WL690d/_new 2006-11-13 17:50:04.000000000 +0100
@@ -52,7 +52,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.kde.org/
Version: 3.5.5
-Release: 48
+Release: 49
%define kde_version 3.5.5
Source0: kdebase-%{kde_version}.tar.bz2
Source3: startkde.suse.sh
@@ -374,7 +374,7 @@
Summary: Set and list fileshares
Group: System/Management
Version: 2.0
-Release: 177
+Release: 178
%description -n fileshareset
This package contains the the fileshareset utility to allow users to
@@ -1495,6 +1495,8 @@
%changelog -n kdebase3
* Mon Nov 13 2006 - dmueller@suse.de
+- update kickoff diff to include button-hover fix
+* Mon Nov 13 2006 - dmueller@suse.de
- update kickoff diff to include latest fixes (#219709)
* Fri Nov 10 2006 - llunak@suse.cz
- fix kompmgr leaks (#197990)
++++++ kickoff.diff ++++++
--- /var/tmp/diff_new_pack.WL690d/_old 2006-11-13 17:50:06.000000000 +0100
+++ /var/tmp/diff_new_pack.WL690d/_new 2006-11-13 17:50:06.000000000 +0100
@@ -9676,7 +9676,7 @@
--- kicker/buttons/knewbutton.cpp
+++ kicker/buttons/knewbutton.cpp
-@@ -0,0 +1,384 @@
+@@ -0,0 +1,416 @@
+/*****************************************************************
+
+Copyright (c) 2006 Stephan Binner
@@ -9933,15 +9933,29 @@
+
+void KNewButton::enterEvent(QEvent* e)
+{
-+ KButton::enterEvent(e);
++ KButton::enterEvent(e);
+
-+ m_mouseInside = true;
-+ if (KickerSettings::openOnHover())
-+ m_hoverTimer = startTimer(kMax(200,QApplication::doubleClickInterval()/2));
-+
-+ m_active = true;
-+ m_movie->unpause();
-+ m_movie->restart();
++ QSize s(size());
++ s *= 0.25;
++ s = s.expandedTo(QSize(6,6));
++
++ switch (popupDirection()) {
++ case KPanelApplet::Left:
++ m_sloppyRegion = QRect(rect().topRight() - QPoint(s.width()-1, 0), s);
++ break;
++ case KPanelApplet::Right:
++ m_sloppyRegion = QRect(rect().topLeft(), s);
++ break;
++ case KPanelApplet::Up:
++ m_sloppyRegion = QRect(rect().bottomLeft() - QPoint(0, s.height()-1), s);
++ break;
++ case KPanelApplet::Down:
++ m_sloppyRegion = QRect(rect().topLeft(), s);
++ }
++
++ m_active = true;
++ m_movie->unpause();
++ m_movie->restart();
+}
+
+void KNewButton::rewindMovie()
@@ -9955,7 +9969,7 @@
+ if (m_hoverTimer != -1)
+ killTimer(m_hoverTimer);
+
-+ m_hoverTimer = startTimer(500);
++ m_hoverTimer = startTimer(QApplication::startDragTime());
+ m_mouseInside = true;
+ m_drag = true;
+}
@@ -9976,6 +9990,24 @@
+ KButton::leaveEvent(e);
+}
+
++void KNewButton::mouseMoveEvent(QMouseEvent* e)
++{
++ KButton::mouseMoveEvent(e);
++
++ m_mouseInside = m_sloppyRegion.contains(e->pos());
++
++ if ( m_sloppyRegion.contains(e->pos()))
++ {
++ if (m_hoverTimer == -1 && KickerSettings::openOnHover())
++ m_hoverTimer = startTimer(kMax(200,QApplication::doubleClickInterval()/2));
++ }
++ else if (m_hoverTimer != -1)
++ {
++ killTimer(m_hoverTimer);
++ m_hoverTimer = -1;
++ }
++}
++
+void KNewButton::slotStopAnimation()
+{
+ m_active = false;
@@ -10047,8 +10079,8 @@
+
+void KNewButton::timerEvent(QTimerEvent* e)
+{
-+ if (e->timerId() == m_hoverTimer) {
-+
++ if (e->timerId() == m_hoverTimer)
++ {
+ if (m_mouseInside && !isDown())
+ showMenu();
+
@@ -10063,7 +10095,7 @@
+}
--- kicker/buttons/knewbutton.h
+++ kicker/buttons/knewbutton.h
-@@ -0,0 +1,93 @@
+@@ -0,0 +1,95 @@
+/*****************************************************************
+
+Copyright (c) 2006 Stephan Binner
@@ -10136,6 +10168,7 @@
+
+ virtual void enterEvent(QEvent* e);
+ virtual void leaveEvent(QEvent* e);
++ virtual void mouseMoveEvent(QMouseEvent* e);
+ virtual void dragEnterEvent(QDragEnterEvent*);
+ virtual void dragLeaveEvent(QDragLeaveEvent*);
+ virtual bool eventFilter(QObject *, QEvent *);
@@ -10147,6 +10180,7 @@
+ QMovie* m_movie;
+ QPixmap m_active_pixmap;
+ QPoint m_oldPos;
++ QRect m_sloppyRegion;
+ int m_hoverTimer;
+ int m_openTimer;
+ bool m_active;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org