From a897895ed422cc617702eac11c8e866ac74816dd Mon Sep 17 00:00:00 2001 From: "prathmesh.m" Date: Tue, 2 Apr 2013 15:18:50 +0900 Subject: [PATCH] Fixed paste issue after selecting word in inputbox [Title] Fixed paste issue after selecting word in inputbox [Issue#] WEB-2907 [Problem] Copy some text and paste in edit filed, the seleced text is not getting replaced insteed getting appended [Cause] Selection was getting cleared before the paste call was made due to with the paste function was not getting the selected text so it was appending isteed of replacing the text [Solution] Removed the code for clearing of the text Change-Id: I24d643abd5d4e6a597c5970c8dea36c20804a869 --- Source/WebKit2/UIProcess/WebPageProxy.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/WebKit2/UIProcess/WebPageProxy.cpp b/Source/WebKit2/UIProcess/WebPageProxy.cpp index 2d86888..f81ca4d 100755 --- a/Source/WebKit2/UIProcess/WebPageProxy.cpp +++ b/Source/WebKit2/UIProcess/WebPageProxy.cpp @@ -3449,11 +3449,6 @@ void WebPageProxy::contextMenuItemSelected(const WebContextMenuItemData& item) return; } -#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION) - if (item.action() == ContextMenuItemTagPaste) - m_pageClient->setIsTextSelectionMode(false); -#endif - #if PLATFORM(MAC) if (item.action() == ContextMenuItemTagSmartCopyPaste) { setSmartInsertDeleteEnabled(!isSmartInsertDeleteEnabled()); -- 2.7.4