bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=66010e5a9f29e3f50adbe5f58c440ff1521d99c6

commit 66010e5a9f29e3f50adbe5f58c440ff1521d99c6
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Tue Jun 4 19:55:50 2019 +0200

    efl_ui_active_view: fix plain view_manager
    
    the problem here is, when we update content. We need to unset visibility
    to the *old* content, and set visibility to the *new* content. This is
    now finally fixed.
    
    fix T8002
    
    Reviewed-by: Jaehyun Cho <jae_hyun....@samsung.com>
    Differential Revision: https://phab.enlightenment.org/D9073
---
 src/lib/elementary/efl_ui_active_view_view_manager_plain.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_active_view_view_manager_plain.c 
b/src/lib/elementary/efl_ui_active_view_view_manager_plain.c
index 32c530d827..ea60d01627 100644
--- a/src/lib/elementary/efl_ui_active_view_view_manager_plain.c
+++ b/src/lib/elementary/efl_ui_active_view_view_manager_plain.c
@@ -86,8 +86,10 @@ _content_changed(Eo *obj, 
Efl_Ui_Active_View_View_Manager_Plain_Data *pd)
 {
    if (efl_ui_active_view_active_index_get(pd->container) != 
pd->current_content)
      {
+        int old_current_content = pd->current_content;
         pd->current_content = 
efl_ui_active_view_active_index_get(pd->container);
-        efl_gfx_entity_visible_set(efl_pack_content_get(pd->container, 
pd->current_content), EINA_FALSE);
+        efl_gfx_entity_visible_set(efl_pack_content_get(pd->container, 
old_current_content), EINA_FALSE);
+        efl_gfx_entity_visible_set(efl_pack_content_get(pd->container, 
pd->current_content), EINA_TRUE);
         _geom_sync(obj, pd);
         _emit_position(obj, pd);
      }

-- 


Reply via email to