On Tue, 23 Mar 2010 14:31:01 +0800 Brian Wang <[email protected]> said:

> Hello all,
> 
> In elm_genlist.c:_item_block_unrealize(), _item_unrealize() may be
> skipped if it->dragging.
> My question is:
> What's the reason for skipping it if it's being dragged?
> 
> I commented out the "if (it->dragging) ..." part, and the "residual
> image" problem is gone.  But I don't know if there's any side effect
> to it.
> Please refer to:
> http://cool-idea.com.tw/brian/elm_genlist-residue.png
> for the symptom.  The residual item is actually clickable and not a
> screen redrawing problem.
> 
> Thanks in advance.

this is done because the actual evas object is used for detecting drag
directions on items - the actual object needs to stay around. what is missing
is handling the unrealize when dragging is turned off in _mouse_up if it was
meant to be unrealized. and i think i now fixed that. (see my commit i just did)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to