Summary: | mp3/video preview does not stop | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | bloodpup |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.0.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
bloodpup
2002-07-23 21:22:06 UTC
There are lots of instances of this bug. it's not particular to previews. *** This bug has been marked as a duplicate of 44354 *** Maybe, but it isn't a duplicate of 44354. CVS commit by bwalter: Check if another window covers the viewport so that we can really know if the pointer leaves the view. CCMAIL: 45673-done@bugs.kde.org M +9 -0 konq_iconviewwidget.cc 1.275 --- kdebase/libkonq/konq_iconviewwidget.cc #1.274:1.275 @@ -30,4 +30,5 @@ #include <qmovie.h> #include <qregexp.h> +#include <qcursor.h> #include <kapplication.h> @@ -1320,4 +1321,12 @@ void KonqIconViewWidget::setSortDirector void KonqIconViewWidget::contentsMouseMoveEvent( QMouseEvent *e ) { + if ( QApplication::widgetAt( QCursor::pos() ) != topLevelWidget() ) + { + if (d->pSoundPlayer) + d->pSoundPlayer->stop(); + d->pSoundItem = 0; + if (d->pSoundTimer && d->pSoundTimer->isActive()) + d->pSoundTimer->stop(); + } d->renameItem= false; QIconView::contentsMouseMoveEvent( e ); |