Bug 67905 - Icon Effect bug when window overlaps icon
Summary: Icon Effect bug when window overlaps icon
Status: CLOSED FIXED
Alias: None
Product: kdesktop
Classification: Miscellaneous
Component: icons (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 17:18 UTC by Dik Takken
Modified: 2009-01-02 20:26 UTC (History)
1 user (show)

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 Dik Takken 2003-11-11 17:18:38 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
OS:          Linux

How to reproduce:

* Clear the desktop of all windows.
* Open one window and place it in such a way that it partly overlaps one of the icons on the desktop.
* Place your mousepointer in the window.
* Move your mousepointer to the edge of the window, at the position where it overlaps the icon.
* Move the mouse out of the window, to the icon, the icon will show the highlight effect, it will look brighter.
* Now move your mouse back to the window. The icon will stay highlighted, which shouldn't happen. Apparently, the icon has not noticed that the mouse has left it's bounding box.

This bug occurs with any icon that shows effects, like the file icons in konqueror.

I have I focus-follows-mouse config, in case that matters.
Comment 1 Dik Takken 2003-12-02 13:04:26 UTC
There is another problem: the gamma thumbnail effect is not always removed after the mouse leaves the konqueror window. It can also cause the music of audio previews to keep playing until the mouse enters the same window again. It is probably due to the same bug as described above.

How to reproduce:

When you view a directory of pictures, resize the konqueror window so that only the upper half of the last visible row of thumbnails is visible. When you put your mouse inside the bounding box of one of these bottom-row thumbs, they will show the gamma image effect. The effect should be gone as soon as the mouse leaves the bounding box of the image. 

The problem is that konqueror only triggers the image effect when the mouse enters or leaves the bounding box of the thumbnail. When one or more of the edges of the bounding box are not visible, you can leave the bounding box without getting detected. 
Comment 2 Dik Takken 2004-07-23 12:57:38 UTC
The first icon effect bug is still present in KDE 3.3 Beta 1.

The second bug cannot be triggered anymore. It looks like the position of the preview popups has been changed so that it does not overlap the icon.
Comment 3 Martin Koller 2007-04-22 20:05:21 UTC
SVN commit 656915 by mkoller:

BUG: 67905

when mouse leaves window, do actions as would be done when
mouse moves over an empty viewport area


 M  +2 -2      konq_iconviewwidget.cc  


--- branches/KDE/3.5/kdebase/libkonq/konq_iconviewwidget.cc #656914:656915
@@ -1335,8 +1335,8 @@
 
 void KonqIconViewWidget::leaveEvent( QEvent *e )
 {
-    // when leaving the widget, stop possible pending filetip
-    d->pFileTip->setItem( 0 );
+    // when leaving the widget, stop possible pending filetip and icon effect
+    slotOnViewport();
 
     KIconView::leaveEvent(e);
 }
Comment 4 FiNeX 2009-01-02 20:26:00 UTC
Bug closed. Kdesktop is no more mantained.