popup picker should be memeber of webview instance.
authorRyuan Choi <ryuan.choi@samsung.com>
Sat, 14 Sep 2013 03:59:54 +0000 (12:59 +0900)
committerRyuan Choi <ryuan.choi@samsung.com>
Sat, 14 Sep 2013 04:00:31 +0000 (13:00 +0900)
[Title] popup picker should be memeber of webview instance.
[Issue#] P130912-04605
[Problem] open the popup picker by clicking select tag, and home -> click the shortcut to navigate any sites.
          Then, popup picker was remained although new sites are shown.
[Cause] picker was member of webview instance but it remains although webview was hidden.
[Solution] Make picker as member of webview instance.
           So webview became hidden, picker will be hidden.

Change-Id: Iffe21159ab53768176c2e8a0dc4b3ada7b3ad0bc

Source/WebKit2/UIProcess/API/efl/tizen/ewk_popup_picker.cpp

index 30c4285..87c4a89 100644 (file)
@@ -190,6 +190,7 @@ Ewk_Popup_Picker* ewk_popup_picker_new(Evas_Object* parent, Eina_List* items, in
     }
 
     createAndShowPopupList(picker, parent, items, selectedIndex);
+    evas_object_smart_member_add(picker->container, parent);
 
     resizeAndShowPicker(picker);
     edje_object_signal_emit(elm_layout_edje_get(picker->container), "show,picker,signal", "");