Disappearing navigation buttons 78/50178/2
authorm.kawonczyk <m.kawonczyk@samsung.com>
Mon, 26 Oct 2015 13:23:25 +0000 (14:23 +0100)
committerDariusz Frankiewicz <d.frankiewic@samsung.com>
Mon, 26 Oct 2015 15:15:45 +0000 (08:15 -0700)
[Issue]        https://bugs.tizen.org/jira/browse/TT-233
[Problem]      Navigation buttons are missing
[Solution]     Calling efl program responsible of shrinking url bar.
[Verification] 1) Load some webpage
               2) Go to tab manager and open new blank page
               3) From blank page go to tab manager and switch to
               previously loaded page
               Check if navigation buttons are present.

Change-Id: If23ac877548465210fcc71fc64d19bd72be6a394

services/WebPageUI/WebPageUI.cpp

index 07728685f3e208525e960d67652ed28c84646823..da61712d073f57d5085e785068e0f0f3ad17e46e 100644 (file)
@@ -170,6 +170,8 @@ void WebPageUI::switchViewToErrorPage()
     m_homePageActive = false;
     setMainContent(m_errorLayout);
     evas_object_show(m_leftButtonBar->getContent());
+    elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
+    elm_object_signal_emit(m_URIEntry->getContent(), "shiftright_uribg", "ui");
     setErrorButtons();
     refreshFocusChain();
 }
@@ -180,6 +182,8 @@ void WebPageUI::switchViewToIncognitoPage()
     m_homePageActive = false;
     setMainContent(m_privateLayout);
     evas_object_show(m_leftButtonBar->getContent());
+    elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
+    elm_object_signal_emit(m_URIEntry->getContent(), "shiftright_uribg", "ui");
     setPrivateButtons();
     refreshFocusChain();
     m_URIEntry->changeUri("");
@@ -201,6 +205,8 @@ void WebPageUI::switchViewToWebPage(Evas_Object* content, const std::string uri,
     m_URIEntry->showPageTitle();
     refreshFocusChain();
     evas_object_show(m_leftButtonBar->getContent());
+    elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
+    elm_object_signal_emit(m_URIEntry->getContent(), "shiftright_uribg", "ui");
     elm_object_focus_custom_chain_append(m_mainLayout, content, NULL);
 }