Bug 123679 - The "Tooltips on Images" don't disappear when scrolling in the preview window
Summary: The "Tooltips on Images" don't disappear when scrolling in the preview window
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Jesper K. Pedersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 20:43 UTC by Moe Szyszlak
Modified: 2010-01-04 22:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
123679-tooltip-hiding.patch (1.87 KB, patch)
2007-06-17 21:28 UTC, Jan Kundrát
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moe Szyszlak 2006-03-15 20:43:34 UTC
Version:           2.0 (using KDE 3.4.3, Gentoo)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (x86_64) release 2.6.15-gentoo-r5

I make a selection of 50 pictures and open the preview window, then i scroll down using the mouse wheel or the keyboard and press Ctrl + 1 or leave the window --> the big tooltip does not disappear. Even switching desktops in KDE does help and sometimes the tooltip hide the button where i have to click to come back to kimdaba.
Comment 1 Jan Kundrát 2007-06-17 17:06:48 UTC
I'm unable to reproduce with recent version of KPA. Could you please reopen if this is still an issue with KPA 3.0.2?
Comment 2 Tuomas Suutari 2007-06-17 17:37:26 UTC
I can reproduce this with following method:

1. Enable tooltip.
2. Goto thumbnail view with many thumbnails.
3. Scroll ThumbnailView, for example with MouseWheel, while holding mouse cursor over thumbnails.
4. Move mouse cursor outside ThumbnailView while scrolling.

Sometimes the tooltip appears too late when mouse cursor is already outside of the ThumbnailView. Then tooltip will never get event for leaving the ThumbnailView and so tooltip won't disappear until mouse is moved back to ThumbnailView.

Especially annoying when tooltip is left over annotation dialog or some other application.
Comment 3 Jan Kundrát 2007-06-17 21:28:38 UTC
Created attachment 20880 [details]
123679-tooltip-hiding.patch

Try this. OTOH, I'm not sure if it's worth the effort, as:

a) It still isn't reliable (it failed to hide the tip for me once)
b) It can be fooled in a weird and hard way (when exiting from Viewer, tooltip
might get displayed right under mouse cursor, which will trigger a loop of
enterEvent/leaveEvent)
c) The original issue is quite rare
Comment 4 Jesper Pedersen 2010-01-04 22:59:55 UTC
I beleive this issue is resolved by now. At least I couldn't trigger the bug, and I see that the is code for checking for LeaveEvent (in an event filter) now.