atspi: genlist - remove unnecessary lines 47/139847/5
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 20 Jul 2017 23:46:34 +0000 (08:46 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Thu, 27 Jul 2017 01:29:26 +0000 (01:29 +0000)
commit0a95e65db813e609d30155d9490802294b2f414a
tree060f13b7486a496a3e06e7f6593e70c85b559aa3
parentf1eefd00b00880878bbf1936573f88ddf5f22323
atspi: genlist - remove unnecessary lines

Looping navigation could make first object grab highlight.
If the first object is unrealized genlist item, the genlist item will be
realized. While the first genlist item is realized, genlist calculation logic
makes the first genlist item unhighligted, and gives highlight to next proper
genlist item based on geometry value. See the following backtrace.

※ Backtrace
0  elm_interface_atspi_component_highlight_grab
1  in _item_position
2  in _item_all_position
3  in _item_block_realize
4  in _elm_genlist_pan_evas_object_smart_calculate
5  in evas_obj_smart_calculate
6  in ?? () from target:/lib/libevas.so.1
7  in ?? () from target:/lib/libevas.so.1
8  in ?? () from target:/lib/libevas.so.1
9  in evas_canvas_render_async
10 in evas_render_async
11 in ?? () from target:/lib/ecore_evas/engines/wayland/v-1.16/module.so
12 in ?? () from target:/lib/libecore_evas.so.1
13 in ?? () from target:/lib/libecore.so.1
14 in ?? () from target:/lib/libecore.so.1
15 in ecore_main_loop_begin () from target:/lib/libecore.so.1
16 in elm_run () at elm_main.c:1128
17 in ?? () from target:/usr/lib/libappcore-efl.so.1
18 in appcore_base_init () from target:/lib/libappcore-common.so.1
19 in appcore_ui_base_init () from target:/lib/libappcore-ui.so.1
20 in appcore_efl_base_init () from target:/usr/lib/libappcore-efl.so.1
21 in ?? () from target:/usr/lib/libcapi-appfw-application.so.0
22 in ui_app_main () from target:/usr/lib/libcapi-appfw-application.so.0
23 in main () from target:/usr/apps/org.tizen.watch-setting/bin/watch-setting
24 in _start ()

It seems that this is a mistake of commit migration from Tizen 3.0
to Tizen 4.0. So the lines should be removed.

※ migration commit: d8bdb91a65cb678258ac3704d11610520aa8948d

Change-Id: Ib5a58b8959828ad47867298338a40c76b4417bf7
src/mobile_lib/elm_genlist.c