Summary: | digikam: thumbnail tooltip not deleted when scrolling with MMB wheel | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Achim Bohnet <ach> |
Component: | Thumbs-Image | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.7.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Achim Bohnet
2004-08-24 22:03:02 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); "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 |