Dear Elementary developers.

I made a oneline patch.
It's about in single selection mode of elm_genlist.
In single selection mode, some multi touching can make multi selected items.

It can't easy reproduce at PC environment(like as mouse+keyboard), but
If you have multi touching device you can easily reproduce.

Reproduce step is putting two pointing device on genlist.
1.      long pressing one pointer.
2.      Short press another one pointer.
3.      And repeat alternating press two device
Then you can find multi selected items in single selection mode.

So my approach is if a item is not selection and just only highlighted,
Then make it with _item_unselection()

Index: elementary/src/lib/elm_genlist.c
===================================================================
--- elementary/src/lib/elm_genlist.c    (revision 59645)
+++ elementary/src/lib/elm_genlist.c    (working clone)
@@ -1367,6 +1367,7 @@
    it->wd->mouse_down = EINA_FALSE;
    if (it->wd->multitouched)
      {
+        if ((!it->wd->multi) && (!it->selected) && (it->highlighted))
_item_unselect(it);
         if (it->wd->multi_down) return;
         _multi_touch_gesture_eval(data);
         return;


Thank you.

PS: sorry for previous sending html mail. Some mail client can't read about
it. So I resend as plain text.

----------------------------------
Hyoyoung CHANG
Engineer

SAMSUNG ELECTRONICS, Co., Ltd.
E-mail: [email protected]
----------------------------------


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to