Title: [177632] trunk/Tools
- Revision
- 177632
- Author
- [email protected]
- Date
- 2014-12-22 07:30:08 -0800 (Mon, 22 Dec 2014)
Log Message
[EFL] MiniBrowser steals web view's focus
https://bugs.webkit.org/show_bug.cgi?id=139482
Reviewed by Gyuyoung Kim.
Although we set focus on ewk_view while MiniBrowser initialization
Ecore steals it in a favor of main window. As a result
focused element on web page is unable to receive events.
* MiniBrowser/efl/main.c:
(window_create):
Prevent window from stealing web view's focus on start up.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (177631 => 177632)
--- trunk/Tools/ChangeLog 2014-12-22 11:31:47 UTC (rev 177631)
+++ trunk/Tools/ChangeLog 2014-12-22 15:30:08 UTC (rev 177632)
@@ -1,3 +1,18 @@
+2014-12-22 Grzegorz Czajkowski <[email protected]>
+
+ [EFL] MiniBrowser steals web view's focus
+ https://bugs.webkit.org/show_bug.cgi?id=139482
+
+ Reviewed by Gyuyoung Kim.
+
+ Although we set focus on ewk_view while MiniBrowser initialization
+ Ecore steals it in a favor of main window. As a result
+ focused element on web page is unable to receive events.
+
+ * MiniBrowser/efl/main.c:
+ (window_create):
+ Prevent window from stealing web view's focus on start up.
+
2014-12-19 Brent Fulgham <[email protected]>
[Win] Revise DRT logic to match Mac.
Modified: trunk/Tools/MiniBrowser/efl/main.c (177631 => 177632)
--- trunk/Tools/MiniBrowser/efl/main.c 2014-12-22 11:31:47 UTC (rev 177631)
+++ trunk/Tools/MiniBrowser/efl/main.c 2014-12-22 15:30:08 UTC (rev 177632)
@@ -2288,6 +2288,8 @@
search_box_hide(window);
view_focus_set(window, EINA_TRUE);
+ // Prevent window from stealing web view's focus on start up.
+ elm_object_focus_allow_set(window->elm_window, EINA_FALSE);
evas_object_event_callback_add(window->ewk_view, EVAS_CALLBACK_MOUSE_IN, on_mouse_in, window);
evas_object_event_callback_add(window->ewk_view, EVAS_CALLBACK_MOUSE_OUT, on_mouse_out, window);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes