Bug 87975 - digikam: thumbnail tooltip not deleted when scrolling with MMB wheel
Summary: digikam: thumbnail tooltip not deleted when scrolling with MMB wheel
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Image (show other bugs)
Version: 0.7.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 22:03 UTC by Achim Bohnet
Modified: 2017-07-14 04:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2004-08-24 22:03:02 UTC
Version:           0.7.0-cvs (using KDE 3.2.3,  (3.1))
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-7)
OS:                Linux (i686) release 2.6.7-ach-1-686

fresh cvs build:
When I scroll via the mouse wheel the tooptip is not deleted or
updated when a new thumbnail is under the mouse cursor.

Similar: clicking on a thumbnail, no tooltip pops up. moving
with MMB wheel no tooltip pops up when a new image is scrolled
under the mouse cursor.

Achim
Comment 1 Renchi Raju 2004-08-25 02:10:30 UTC
CVS commit by pahlibar: 


hide tooltip on mouse wheel event

CVS_SILENT
CCMAIL: 87975-done@bugs.kde.org


  M +10 -0     thumbview.cpp   1.16
  M +1 -0      thumbview.h   1.6


--- kdeextragear-3/digikam/digikam/thumbview.cpp  #1.15:1.16
@@ -906,4 +906,14 @@ void ThumbView::contentsMouseDoubleClick
 }
 
+void ThumbView::contentsWheelEvent(QWheelEvent *e)
+{
+    d->toolTipItem = 0;
+    d->toolTipTimer->stop();
+    slotToolTip();
+
+    QScrollView::contentsWheelEvent(e);
+    viewport()->update();
+}
+
 void ThumbView::rebuildContainers()
 {

--- kdeextragear-3/digikam/digikam/thumbview.h  #1.5:1.6
@@ -66,4 +66,5 @@ protected:
     virtual void contentsMouseReleaseEvent(QMouseEvent *e);
     virtual void contentsMouseDoubleClickEvent(QMouseEvent *e);
+    virtual void contentsWheelEvent(QWheelEvent *e);
     
     virtual void viewportPaintEvent(QPaintEvent *pe);


Comment 2 Renchi Raju 2004-08-25 02:15:06 UTC
"clicking on a thumbnail, no tooltip pops up.": this is normal. if user presses a button, its expected that user is trying to do something and most likely doesn't want to be bothered by the tooltip
"moving with MMB wheel no tooltip pops up when a new image is scrolled
under the mouse cursor.": same here. just move the mouse a little and the tooltip will popup again if the mouse is on an item