efl/src
SangHyeon Jade Lee c9060ca997 elm_genlist: item scroll show sould be processed after block calculation
Summary:
there are buggy actions in the item show api,
when the list is launched, scroll to far distance item.
the reason is item_scroll is called before it's block is fully
calculated in calc_job().
the origin patch of cause the issue is
f6b66cc1d3
by raster in 28 Nov, 2013
but we already do some extra works in calc_job(),
so the code is not necessarily called in queue_process().

more detail descriptions :
mainly this caused by block width size,
so the normal case block width is zero, and item_scroll() will be dismissed,
and deferred action in calc_job(), but in issue case,
block width is already been set, so it can scroll the item directly though
they aren't properly calculated yet.

most cases block was generated in the same queue processing so width size is
not exist, but in issue cases, they re-using the block which was already been
generated by previous queue processing, so the width size is already exist,
but height is not properly calculated yet.

we could move the block height calculation and min/max calculation
in the queue processing, but I'm afraid to face side effect,
so removing item_scroll() call is best option that I got.

Test Plan:
I'll upload some sample file my_genlist_example_4.c,
so please do a test with this.
issue is reproduced very rarely, but I could see the issue within 20 times try.

{F3300793}

Reviewers: raster, eagleeye, Hermet, singh.amitesh, #reviewers

Reviewed By: Hermet, #reviewers

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6952
2018-09-19 09:35:07 +09:00
..
benchmarks
bin test_gengrid: add focused, unfocused callback to test focus signal 2018-09-13 09:53:58 +02:00
bindings efl-csharp: Add copy constructor for eina.Value. 2018-09-11 11:41:38 -03:00
edje_external
examples spinner_example: add focused, unfocused callback to test focus signal 2018-09-13 09:54:28 +02:00
generic
lib elm_genlist: item scroll show sould be processed after block calculation 2018-09-19 09:35:07 +09:00
modules emotion: Convert to new animators 2018-09-18 09:43:22 -05:00
scripts elua: make old documentation generator generate instead of failing 2018-09-05 13:12:05 +02:00
static_libs docs: Fix typos in API reference doc and comments. 2018-08-31 17:45:31 +09:00
tests eo: add funktion for alive checks 2018-09-14 11:18:56 +02:00
wayland_protocol
CMakeLists.txt
CMakeLists_Eina.txt
Makefile.am tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00
Makefile_Cxx.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_EPhysics.am
Makefile_Ecore.am ecore_pipe: remove null check condition and fix segfualt on Windows 2018-08-17 12:42:35 -04:00
Makefile_Ecore_Audio.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Ecore_Avahi.am
Makefile_Ecore_Buffer.am
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Ecore_Drm.am
Makefile_Ecore_Drm2.am
Makefile_Ecore_Evas.am build: add keymapheader to dist tarbal 2018-09-03 17:11:02 +02:00
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Js.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am
Makefile_Ecore_Win32.am
Makefile_Ecore_Wl2.am ecore_wl2: add support for intree loading of the module 2018-09-12 08:39:14 -04:00
Makefile_Ecore_X.am
Makefile_Ector.am
Makefile_Edje.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Edje_Helper.am
Makefile_Eet.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eet_Helper.am
Makefile_Eeze.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl_Js.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl_Mono.am C# bindings: Make efl_loop_timer.eo available to bindings 2018-07-06 15:00:51 -04:00
Makefile_Efl_Mono_MSBuild_Gen_Helper.am
Makefile_Efreet.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eina.am move efreet xdg envvars to eina 2018-08-20 12:57:57 -04:00
Makefile_Eio.am tests/eio: disable efreet cache for eio tests 2018-08-16 10:16:44 -04:00
Makefile_Eldbus.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elementary.am efl_ui_popup: Replace class Efl.Ui.Popup_Part with Efl.Ui.Popup_Part_Backwall 2018-09-05 15:16:11 +09:00
Makefile_Elocation.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elput.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elua.am build: fix distcheck when elua is disabled in main tree 2018-07-13 15:41:15 -04:00
Makefile_Elua_Helper.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Embryo.am
Makefile_Emile.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Emotion.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Eo.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eolian.am Remove EOLIAN_TESTS_EOS_GENERATED 2018-08-16 12:41:16 -05:00
Makefile_Eolian_Cxx.am eolian-cxx: Fix parallel compilation for eolian_cxx_test_wrapper.cc 2018-09-04 09:10:57 +09:00
Makefile_Eolian_Cxx_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Files_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Helper.am
Makefile_Eolian_Js.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eolian_Js_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Mono_Helper.am
Makefile_Escape.am
Makefile_Ethumb.am
Makefile_Ethumb_Client.am
Makefile_Evas.am build: break out ddraw and cocoa static engine builds into utility libraries 2018-09-14 10:54:09 +02:00
Makefile_Evil.am
Makefile_Wayland_Protocols.am
Makefile_efl_wl.am