[Applet handle] Problem with new implementation

Loïc Marteau loic.marteau at gmail.com
Mon Jul 7 13:14:40 CEST 2008


Just one update...

I've just tried the old frame handle at work with neon builds (build date is
03/07) and in fact i have exactly the same problem with rotated plasmoid....
They make some "jump" some times and become non rotated.

Regards
Loic

---------- Forwarded message ----------
From: Loïc Marteau <loic.marteau at gmail.com>
Date: Jul 7, 2008 7:15 AM
Subject: [Fwd: [Applet handle] Problem with new implementation]
To: aseigo at kde.org

Yop :) and perhaps good morning...

as you ask me to write a mail to p.d.k.o

I just forward the one i have already made yesterday

i did not understand if you ask me that because it was not complete or if it
is just that you don't have receive it...

The first problem comes randomly, i have the impression that it comes more
often with the code i have on my machine.
i have done some code factorisation and some adaptations you suggested since
the last commit.
applethandle.cpp attached bellow.

First problem :
rotate the folderview plasmoid put the mouse over the applet and outside a
few times.
sometime the frame handle will have a wrong position (non rotated) and then
the plasmoid follow the wrong position
the bug seems to appear more frequently if you rotate the plasmoid so you
not have anymore access to the handle (on top on the screen, in negative
coordonates)
screencast here :

http://dl.trem-servers.com/rotate-bug.ogv


for the second problem i would like to be sure to show the applet handle
when the applet is rotated.
Im sure that it is easy to do that but im just lacking some knowledge...
i have to calculate the coordonate of the applet handle in the screen, dont
know how to do that, i have tested a lot of (certainly dummies) things but
without results...
i need both this and the width/height of the screen (dont know how i can
grab this two values) to calculate the best position for the applet handle
(the left or the right).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20080707/20bd50a0/attachment.html 


More information about the Panel-devel mailing list