[Panel-devel] [PATCH] Applet Handles

Eike Hein hein at kde.org
Thu Nov 22 13:23:03 CET 2007


Sven Burmeister wrote:
> Release the mouse-button and try to rotate it back to the original position. 
> This is hardly possible. As a result the user has to remove the applet and 
> hence all settings and re-add it and change the settings again.

To rephrase it a bit more clearer perhaps: The rotation
implementation currently features snapping at 90° degree
angles, but that's measured from the orientation in effect
at the start of a rotation every time. I.e. if you rotate
the clock by 21° degrees clockwise and finish the rotation
there, and then start a new rotation, you won't get snap-
ping when the logical "north" of the applet (12 o'clock)
is at 12 o'clock. The snapping should probably try to
always operate on the initial orientation when the applet
was added.

Another problem apparent with the circular clock applet
especially is that in subsequent rotations the pivot
point of the rotation is no longer the center of the app-
let, but apparently applet+handle, so that if you rotate
the clock a second time, it won't actually rotate around
the clock's center anymore.

Both problems are hardly deal breakers, of course, but
fixing them would be polish that's nice to have.


-- 
Regards,
Eike Hein, hein at kde.org


More information about the Panel-devel mailing list