[PATCH] fix for 165789 - easier dropping of applets onto panel

Mario Oschwald mario.oschwald at hpi.uni-potsdam.de
Mon Jul 14 02:46:05 CEST 2008


> 
> is the call to !item->acceptDrops() really needed? afaik, dragMove events 
> shouldn't appear unless the item above rejects/ignores it?

It's not needed, as drop events should go to the children first, who are on top.
I put it in anyway because t doesn't hurt and might help in the (corner) case of an item
not accepting the move event but accepting a drop (Could be i'm mistaken here though,
don't know if qt even generates drop events if a dragmove wasn't accepted before)
> 
> the drop isn't passed onto the app, it causes that window to activate. it's 
> useful as it is.
> 
> what it should probably do is ignore drops that have the applet mimetype.
> 

yes, that would then give the clear visual indication about the remaining area,
wher an applet can not be dropped.

Mario



More information about the Panel-devel mailing list