Throwing the mouse at the toolbox real quick

Aaron J. Seigo aseigo at kde.org
Sun Apr 13 23:41:03 CEST 2008


On Wednesday 16 April 2008, Stefan Monov wrote:
> Since r781885 throwing the mouse at the toolbox really quick does not
> expand it. This seems to be an unintentional side effect caused by
> non-continuous event positions, am I correct?

in the hover event we draw a path that consists of just the outside pixels of 
the toolbox (the arc) and only respond to hover events that occur within 
that.

this prevents:

* triggering due to moving from one virtual screen to another
* triggering when closing a window whose close button is over the box

probably other things as well. to make it less annoying, we could make the 
path wider.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080413/c0b4e703/attachment.pgp 


More information about the Panel-devel mailing list