efl/src
Bowon Ryu b5a7ee2ae4 elm_entry: prevents invalid cursor position updates
Summary:
sd->cursor_pos is updated in _entry_cursor_changed_signal_cb.
Generally, there is no problem.
But in some cases, before the _entry_cursor_changed_signal_cb is called
there is a situation in which cursor_pos is updated through _elm_entry_efl_ui_widget_theme_apply.

In this case,
before _entry_cursor_changed_signal_cb is called,
in _elm_entry_efl_ui_widget_theme_apply ()
cursor_pos = sd->cursor_pos; The wrong cursor_pos is set here.
Because it is the value before sd->cursor_pos is updated.
This causes an invalid cursor position when entering a key into the entry.

This patch prevents sd->cursor_pos from being updated with invalid values.

Reviewers: zmike, woohyun

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8923
2019-05-21 09:30:04 -04:00
..
benchmarks meson: enforce 61s timeout for tests, remove explicit timeouts from build files 2019-05-15 18:49:51 +02:00
bin elm_test: add efl.ui.image tests which mimic elm_image tests 2019-05-20 18:23:55 +02:00
bindings efl_mono: generate efl_canvas_text.eo.cs 2019-05-17 19:54:48 +09:00
edje_external
examples Rename Efl.Orient -> Efl.Gfx.Orientation 2019-05-20 11:52:10 -04:00
generic
lib elm_entry: prevents invalid cursor position updates 2019-05-21 09:30:04 -04:00
modules Evas: remove Evil.h when not needed and use evil_private when needed 2019-05-20 08:46:02 -04:00
scripts eolian: rename eolian_event_c_name_get 2019-05-16 15:57:39 +02:00
static_libs libunibreak: add missing __has_attribute definitions for old compilers 2019-05-10 17:56:29 -07:00
tests Efl.Pack_Table: remove table_direction 2019-05-20 13:24:16 +02:00
wayland_protocol
Makefile.am build: add autotools for elm config embedding 2019-03-27 17:23:19 -04:00
Makefile_Cxx.am Makefile_Cxx: add include dependency with evas/gesture 2019-05-15 15:14:15 +09:00
Makefile_EPhysics.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore.am ecore: forgotten autotools update. 2019-05-10 17:58:33 -07:00
Makefile_Ecore_Audio.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Avahi.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Buffer.am
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Drm.am
Makefile_Ecore_Drm2.am
Makefile_Ecore_Evas.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_FB.am
Makefile_Ecore_File.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_IMF.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_IMF_Evas.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Input.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Input_Evas.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Ipc.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Js.am
Makefile_Ecore_SDL.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Wayland.am
Makefile_Ecore_Win32.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ecore_Wl2.am
Makefile_Ecore_X.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ector.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Edje.am autotools: remove usage of eolian_gen .eo.legacy.h generation 2019-04-18 17:55:06 +02:00
Makefile_Edje_Helper.am
Makefile_Eet.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Eet_Helper.am
Makefile_Eeze.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Efl.am Rename Efl.Orient -> Efl.Gfx.Orientation 2019-05-20 11:52:10 -04:00
Makefile_Efl_Js.am
Makefile_Efl_Mono.am efl_mono: generate efl_canvas_text.eo.cs 2019-05-17 19:54:48 +09:00
Makefile_Efl_Mono_MSBuild_Gen_Helper.am
Makefile_Efreet.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Eina.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Eio.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Eldbus.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Elementary.am autotools: add new ui_image tests to proper makefile 2019-05-20 20:25:19 +02:00
Makefile_Elocation.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Elput.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Elua.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Elua_Helper.am
Makefile_Embryo.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Emile.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Emotion.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Eo.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Eolian.am eolian tests: rename owning.eo.c to clear confusion 2019-05-17 16:08:23 +02:00
Makefile_Eolian_Cxx.am tests: eolian_cxx: make sure we add beta_class.eo to dist 2019-03-12 12:48:33 +01:00
Makefile_Eolian_Cxx_Helper.am
Makefile_Eolian_Files_Helper.am autotools: remove usage of eolian_gen .eo.legacy.h generation 2019-04-18 17:55:06 +02:00
Makefile_Eolian_Helper.am
Makefile_Eolian_Js.am
Makefile_Eolian_Js_Helper.am
Makefile_Eolian_Mono_Helper.am
Makefile_Escape.am
Makefile_Ethumb.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Ethumb_Client.am Windows : fix the definition of EAPI 2019-04-15 13:34:20 +01:00
Makefile_Evas.am Gesture Manager: Add gestures and fix gesture managing, recognizer logic. 2019-05-14 16:37:20 +09:00
Makefile_Evil.am Evil: move the inclusion of all headers in evil_private.h 2019-05-15 12:27:37 +01:00
Makefile_Wayland_Protocols.am
Makefile_efl_wl.am