Fixed addressbar & focus issue including N_SE-34810
authorahram.suh <ahram.suh@samsung.com>
Wed, 17 Apr 2013 13:21:44 +0000 (22:21 +0900)
committerahram.suh <ahram.suh@samsung.com>
Wed, 17 Apr 2013 13:21:44 +0000 (22:21 +0900)
Change-Id: I5b6b193288d46ac97561a7830880466eec310406

src/IntMainForm.cpp

index 09a05bc..960bbb9 100644 (file)
@@ -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();
                }
        }