From: Taeyun An Date: Mon, 25 Mar 2013 12:29:36 +0000 (+0900) Subject: Checking the clipboard status before appear context menu X-Git-Tag: 2.1_release~322 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de35dae1518385b5a7877a3e104290876052de63;hp=c901909b9132a67bbba896130f03cd228d3a1981;p=framework%2Fweb%2Fwebkit-efl.git Checking the clipboard status before appear context menu [Title] Changed signal for showing text selection handles. [Issue#] N_SE-29804 [Problem] Context menu options does disappear after clipboard appear [Cause] There is appear the context menu routine after clipboard appear [Solution] Checking clipboard status before appear context menu Change-Id: I8204b0fb2a48272583b20e6f837917cdfdb7d4c5 --- diff --git a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp index aa4f34e..3e9ad46 100644 --- a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp +++ b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp @@ -398,10 +398,6 @@ void PageClientImpl::didChangeViewportProperties(const WebCore::ViewportAttribut #endif } -#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION) - updateTextSelectionHandlesAndContextMenu(true); -#endif - #if ENABLE(TIZEN_WEBKIT2_FORM_DATABASE) Ewk_View_Smart_Data* smartData = static_cast(evas_object_smart_data_get(m_viewWidget)); if (smartData->api->formdata_candidate_is_showing(smartData)) @@ -1042,7 +1038,8 @@ void PageClientImpl::setVisibleContentRect(const IntRect& newRect, float newScal #endif #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION) - updateTextSelectionHandlesAndContextMenu(true); + if (!isClipboardWindowOpened()) + updateTextSelectionHandlesAndContextMenu(true); #endif }