On Sat, Mar 27, 2010 at 12:15 PM, Carsten Haitzler <[email protected]> wrote:
> 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)

Hello raster,

Thanks for looking into this problem.

I just updated elm_genlist.c.  The problem still exists but the
behaviour has changed.
Before the last change, the misplaced item (left-over on the screen)
will stay for some time until (it seems) the list is scrolled to where
it belongs.  Now the misplaced item will only stay as far as the list
is not moved (dragged or scrolled).  Once the list is dragged, the
misplaced item will disappear.  I guess the fix is good and it is
possible that there are some more scenarios that need a similar fix.
Any idea?


brian

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



-- 
brian
------------------

Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
http://cool-idea.com.tw/

iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe

------------------------------------------------------------------------------
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