[Bug 157970] Drag desktop->panel misses visual feedback

Chani chanika at gmail.com
Fri Mar 28 22:47:13 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157970         




------- Additional Comments From chanika gmail com  2008-03-28 22:47 -------
hmm. I don't have as many notes as I thought I had.
basically the idea is, when an applet is dragged out of the containment it's in, we make a little floating corona, move the applet there, make that follow the mouse, move the applet back to a desktop containment when we mouse over one, etc...

03:46 < fredrikh> Chani: you have to create a borderless toplevel argb window, render the plasmoid into it, and thenmove the window when the cursor moves

03:55 < aseigo> Chani: should be easy enough by creating a Plasma::View and putting the item in it ... only trick ismoving the item on the scene somewhere that isn't visible via the other views... otherwise, it's much like plasmoidviewer
03:55 < aseigo> Chani: hm.. actually
03:55 < aseigo> Chani: you could even just move it to a whole new Corona for that matter until drop
03:55 < aseigo> a little heavy, but shouldn't be too bad

03:56 < aseigo> of course, on drop fail it would need to return to it's original home

04:12 < Chani> aseigo: what worries me most is whether events will be reliable enough for me to know when to move the applet between the desktop and its own little floaty thing. do you think that might be a pain like knowing when to draw applethandles is?

04:13 < Chani> oh, and if it's rotated and composit is off it'll be surrounded by an ugly black box, won't it?

04:14 < fredrikh> Chani: you could perhaps work around that by setting a mask on window

04:17 < ruphy> Chani: btw, ask pinheiro about the visual feedback... I know it, but he's the most appropriate to explain it


More information about the Panel-devel mailing list