Vcard popup is not always showing up on mouse hover
Description
Environment
Activity

Mircea Carasel December 19, 2011 at 5:46 PM
commited
r12923 = c346206b38338c06cfef3faee8d51e65162c7dd0
small improvement->avoid maintaining state for Timer (Timer already canceled exception may be thrown from time to time)
-a stateless approach is much better - we create the timer every time mouse enters IM area

wroot November 12, 2011 at 1:16 PM
Works better now. Maybe this is not related to this fix, but i see Contacts tab now, though it should be hidden, as gateways are not in the tab and conferences tab is hidden.

Mircea Carasel November 9, 2011 at 8:34 PM
Finally I found a solution to require 0.5 seconds for the mouse to be still until showing the popup
commited: r12894 = 0788c445a81c3a3a89d164152c1fde5663efa4f5
-introduced a timer listener to wait 0.5 seconds until the popup to be displayed
-track latest mouse move time, expect 0.5 for the mouse to be still until displaying the popup

Mircea Carasel October 25, 2011 at 6:57 AM
I tried to keep a 0.5 delay when showing the popup, but this lead to another problem. When you are playing with the mouse and moving it over the contact list area, there were cases when the mouse was positioned to a contact, but the popup showed was of another contact.
In the original code, the 0.5 delay didn't work either. Because of the delay, the mouse motion listener didn't do anything first time mouse enters the contact list area (popup not shown). On the next mouse move, the popup started to be shown with no delay.

wroot October 25, 2011 at 3:54 AM
Popups now works fine. Though i'm thinking, maybe there could be a slight delay before showing it? Now they pop up immediately when you hover a contact, so it can be very annoying while dragging your mouse above the list of your contacts. Maybe that 0.5 seconds was about that? But the implementation was wrong. I mean, if you stop above the contact it should wait for x.x seconds and then show the popup, but if you start dragging again it shouldn't show it immediately but wait for another x.x seconds. If that's possible.
It looks like Spark has a bit weird mouse hover registering. If i slowly drive my mouse pointer and slowly stop hovering the contact, the popup won't come up. Then i have to push a mouse a little bit and then popup will show up. So it is like you have to always jiggle with the mosue to get that popups.