Bug 157970 - Drag desktop->panel misses visual feedback
Summary: Drag desktop->panel misses visual feedback
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-17 14:05 UTC by Stephan Binner
Modified: 2008-07-05 18:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Binner 2008-02-17 14:05:32 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Dragging a plasmoid from the desktop onto panel is missing a visual feedback before you actually drop.
Comment 1 Chani 2008-03-02 07:42:38 UTC
I know.

somewhere on my computer, I have notes on how to add such feedback. if you're interested in implementing this I can send you a copy.
Comment 2 Gael Beaudoin 2008-03-27 16:01:27 UTC
Could you share those notes ?
Maybe I'd like to try :)
Thanks!
Comment 3 Chani 2008-03-28 22:47:12 UTC
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

Comment 4 Thomas Georgiou 2008-07-05 18:08:47 UTC
There is visual feedback now