[PATCH] applet handle side selection
Aaron J. Seigo
aseigo at kde.org
Wed Jul 9 11:52:51 CEST 2008
hi all..
the new applet handle code has a few issues imho:
* the handle is really, really small for larger widgets
* it doesn't always pick which side to appear on very well
attached is a patch that:
* makes the handle the size of the widget if the widget is taller than the
handle
* shows the handle on the the side of the applet the mouse enters on, unless
that would end up putting the handle off screen; if both sides would be off
scren, we try and pick the one that is least worst (most on screen)
what this patch does not do:
* put the close button at the bottom of the handle
* recalculate where the rect should be in the case we rehover quickly and the
applet handle gets re-used
* fix the "handle disappears if you hover the applet, move to the handle, move
back to the applet, move to handle" bug.
i'll work on those things if this patch works for people.
i'd like to ask that as many of you as possible apply this patch, test it out
and let me know what you think.
--
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: applet_handle_side_selection.diff
Type: text/x-patch
Size: 5674 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080709/22215750/attachment.bin
-------------- 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/20080709/22215750/attachment.pgp
More information about the Panel-devel
mailing list