From e442dc9f2bfe96c09a91df99007ac28810daf0ad Mon Sep 17 00:00:00 2001 From: Yunchan Cho Date: Fri, 22 Feb 2013 00:20:51 +0900 Subject: [PATCH] Fix bug regarding app service on specific scenario [Issue#] N/A [Problem] when webapp is launched by specific appservice operation and then default operation is request, start page of the webapp is not loaded. [Cause] ViewLogic code regarding setting start page is wrong. [Solution] ViewLogic is modified to set always its m_startUri member to initial start page's path passed by executable. Change-Id: Ia23ba3ef1835e44fa3092cd11b92e940e38737ba --- src/view/webkit/view_logic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/webkit/view_logic.cpp b/src/view/webkit/view_logic.cpp index 0baefef..4d3bf0c 100644 --- a/src/view/webkit/view_logic.cpp +++ b/src/view/webkit/view_logic.cpp @@ -217,7 +217,7 @@ void ViewLogic::prepareView(WidgetModel* m, const std::string &startUrl) Assert(m); m_model = m; - m_startUrl = ViewModule::UriSupport::getUri(m_model, startUrl); + m_startUrl = startUrl; Assert(NULL != m_ewkContext); Assert(m_window); @@ -605,7 +605,7 @@ void ViewLogic::setStartPage() { /* Start URI (as other uris) is now localized * on WebProcess side */ - m_currentUri = m_startUrl; + m_currentUri = ViewModule::UriSupport::getUri(m_model, m_startUrl); } void ViewLogic::prepareEwkView(Evas_Object *wkView) -- 2.7.4