From: ahram.suh Date: Wed, 17 Apr 2013 13:21:44 +0000 (+0900) Subject: Fixed addressbar & focus issue including N_SE-34810 X-Git-Tag: accepted/tizen_2.1/20130425.023723~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47d559f558bbdfb7a3f11be61cbd1fbe8b080d8a;p=apps%2Fosp%2FInternet.git Fixed addressbar & focus issue including N_SE-34810 Change-Id: I5b6b193288d46ac97561a7830880466eec310406 --- diff --git a/src/IntMainForm.cpp b/src/IntMainForm.cpp index 09a05bc..960bbb9 100644 --- a/src/IntMainForm.cpp +++ b/src/IntMainForm.cpp @@ -495,13 +495,15 @@ MainForm::InitWebControl() void MainForm::OnFocusGained(const Control& source) { +/* + * We don't need any action here for focus. + * The focus of Addressbar will be set after keypad is opened.(OnAddressBarKeypadOpened()) if(__pAddressbar != null) { __pFooterUrlField->SetFocusable(false); __pAddressbar->SetAddressbarURLFocus(); - } - +*/ } void @@ -2730,7 +2732,7 @@ MainForm::OnAddressBarKeypadOpened(const Addressbar& addBar) { __pAddressbar->SetShowState(true); __pAddressbar->SetBounds(Rectangle(0,0,GetClientAreaBounds().width,__pAddressbar->GetHeight())); -// __pAddressbar->SetAddressbarURLFocus(); + __pAddressbar->SetAddressbarURLFocus(); } }