Bug fix about scrolling wrong location. The main point is to use the UPDATED geometry...
authorJaehwan Kim <jae.hwan.kim.neo@gmail.com>
Tue, 22 Nov 2011 06:37:30 +0000 (06:37 +0000)
committerJaehwan Kim <jae.hwan.kim.neo@gmail.com>
Tue, 22 Nov 2011 06:37:30 +0000 (06:37 +0000)
commitc2c101d004812e2849e59deea996e79d5051d0a1
tree32c295ea61cd0cb6828ea076ce8fcc3198bc6b56
parentd68ca0ba0fe69fbcf26cd193cd2aa7192848044d
Bug fix about scrolling wrong location. The main point is to use the UPDATED geometry of the child object, but the geometry has yet to be calculated and is queued for calculation later.
Firstly, for efficiency, we add a Job to calculate the whole canvas. Jobs implicitly coallate work per event loop.
Calcuation of object can be a reasonably intensive set of work.
In the job callback we calculate the whole canvas with evas_smart_objects_calculate() to ensure that all objects have the correct geometry at this point.
Reviewed by Raster.

SVN revision: 65509
src/lib/elm_conform.c
src/lib/elm_widget.c