From 0404a9471900781f4bebc4e35ac301e9c7d6ecf6 Mon Sep 17 00:00:00 2001 From: "m.kawonczyk" Date: Mon, 26 Oct 2015 14:23:25 +0100 Subject: [PATCH] Disappearing navigation buttons [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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/WebPageUI/WebPageUI.cpp b/services/WebPageUI/WebPageUI.cpp index 0772868..da61712 100644 --- a/services/WebPageUI/WebPageUI.cpp +++ b/services/WebPageUI/WebPageUI.cpp @@ -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); } -- 2.7.4