Problem to use PopupApplet
Charles Wautier
p3ti7.pr1nce at gmail.com
Mon Sep 21 17:43:02 CEST 2009
Hi,
I made a PopupApplet plasmoid one can see here :
http://img3.imageshack.us/content.php?page=done&l=img3/6124/contextchooser.png
What makes this plasmoid unusual is that the Popup showing/hiding is not
controlled by an icon as it's supposed to be, but by a click on the label.
To realize that, I tricked, by not setting the PopupIcon (with setPopupIcon)
as I'm supposed to do (a known trick on #plasma)
The problem is : it seems that this trick has undesirable side-effects :
1/ When the plasmoid just have been started, the first click on the label
show the menu but hide it right away. Then the behaviour become normal.
2/ When resizing, the mouse cursor keeps the form of the
resizing-double-arrow even when we hover the popup
3/ The scroll bars are ugly
I would be very grateful if someone could tell me :
- if the problems I evoked really are side-effects of my trick
- if it is, how I could solve the problem
Thank you all,
Cheers,
Charly
PS : part of the code on http://pastebin.com/d501133b4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090921/2b3c5e4b/attachment.htm
More information about the Plasma-devel
mailing list