언어 설정

Menu
Sites
Language
Using of elm_naviframe_content_preserve_on_pop_set(navi, EINA_TRUE)

Hello,

Does anybody use

elm_naviframe_content_preserve_on_pop_set(navi, EINA_TRUE);

The problem is that when current layout is popped then this popped layout is still visible above the underneath layout. I can see both of them simultaneously. As far as I understand the elm_naviframe_content_preserve_on_pop_set(navi, EINA_TRUE) should preserve layout (don’t destroy it) when it’s popped, but it should hide the popped layout and make visible the underneath layout. Am I wrong or this is a bug?

Responses

5 댓글
colin Rao

Yes, you are right. As the Tizen Mobile Native App Programming > Tutorials > UI Tutorials > Naviframe tutorial

   // by default, objects are destroyed when they are popped from the naviframe;
   // since we save and re-use them, we enable "preserve_on_pop"
   elm_naviframe_content_preserve_on_pop_set(z->naviframe, EINA_TRUE);

I've ever used this setting, don't encounter such issue as you said. But I am just used a Genlist widget as the navi item content. 

Eric Satkimbaev

Hi,

Thank you for answer. Unfortunately, The popped layout is visible even I hide it manually:

evas_object_hide(elm_naviframe_item_pop(app->nf));

This looks like a bug. I am going to remove

elm_naviframe_content_preserve_on_pop_set(navi, EINA_TRUE);

from my code and create some workaround.

Alex Ashirov

Hi,
I experienced the same problem. I thought that this is my mistake (push/pop are used incorrectly), but later I noticed that this is never used in SDK samples. I tried to add this functionality to SDK samples but this didn’t work correctly as well.
So, this looks like a bug.

Eric Satkimbaev

Hello,

It seems that the issue is still present in the new SDK 2.3.0 rev.2.

daniel kim

Hi,

I guess this issue will be fixed in the next version of SDK. as Samsung recently released SDK by around two months interval, I think that we may download new SDK in April.

Hope this will help you.