Fixed when IME disappear, copy & paste context menu is displayed twice.
authorTaeyun An <ty.an@samsung.com>
Wed, 16 Oct 2013 09:15:41 +0000 (18:15 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Mon, 21 Oct 2013 05:01:00 +0000 (05:01 +0000)
commit45513ab2942438e391027b961cba67d56b06cfbc
treebd5188b96237e422f59d06204f9adccfff4b829f
parent83d03a91584989338fd33317764e7fe93158d647
Fixed when IME disappear, copy & paste context menu is displayed twice.

[Title] Fixed when IME disappear, copy & paste context menu is displayed twice.
[Issue#] P130830-03879
[Problem] When IME disappear, copy & paste context menu is displayed twice.
[Cause] When IME disappear, webview is resized.
        If parent of copy & paste context menu is resized, "dismissed" callback fucntion to hide copy & paste context menu  is called.
        And then, copy & paste context menu is updated by setVisibleContentRect() function.
        So, copy & paste context menu is displayed twice.
[Solution] 1. Prevent to hide copy & paste context menu automatically using elm_ctxpopup_auto_hide_disabled_set() function.
           2. If geometry, visibleContentRect or etc.. of webview are not chagned,
              copy & paste context menu is not update again.

Change-Id: I6c79d8722443b4676b231da36910664d5c96fde7
Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp
Source/WebKit2/UIProcess/API/efl/tizen/TextSelection.cpp
Source/WebKit2/UIProcess/tizen/WebContextMenuProxyTizen.cpp