RESOLVED FIXED 98253
[EFL][WK2] Implement focus/unfocus in UIClient
https://bugs.webkit.org/show_bug.cgi?id=98253
Summary [EFL][WK2] Implement focus/unfocus in UIClient
Chris Dumez
Reported 2012-10-03 03:41:00 PDT
We currently don't implement focus/unfocus callbacks in EwkView UIClient. We should provide an implementation for those.
Attachments
Patch (2.07 KB, patch)
2012-10-03 05:05 PDT, Chris Dumez
gyuyoung.kim: review+
Patch for landing (2.12 KB, patch)
2012-10-03 06:59 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2012-10-03 05:05:52 PDT
Raphael Kubo da Costa (:rakuco)
Comment 2 2012-10-03 05:56:36 PDT
Comment on attachment 166860 [details] Patch LGTM.
Gyuyoung Kim
Comment 3 2012-10-03 06:22:17 PDT
Comment on attachment 166860 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166860&action=review > Source/WebKit2/UIProcess/API/efl/ewk_view_ui_client.cpp:95 > + evas_object_focus_set(toEwkView(clientInfo), false); BTW, I wonder why we support *takeFocus* as *unfocus* functionality. In mac port and qt port, they process this with other way.
Chris Dumez
Comment 4 2012-10-03 06:24:14 PDT
Comment on attachment 166860 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166860&action=review >> Source/WebKit2/UIProcess/API/efl/ewk_view_ui_client.cpp:95 >> + evas_object_focus_set(toEwkView(clientInfo), false); > > BTW, I wonder why we support *takeFocus* as *unfocus* functionality. In mac port and qt port, they process this with other way. Yes, takeFocus() implementation is not complete but we do the same in WebKit1.
Gyuyoung Kim
Comment 5 2012-10-03 06:52:45 PDT
(In reply to comment #4) > (From update of attachment 166860 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=166860&action=review > > >> Source/WebKit2/UIProcess/API/efl/ewk_view_ui_client.cpp:95 > >> + evas_object_focus_set(toEwkView(clientInfo), false); > > > > BTW, I wonder why we support *takeFocus* as *unfocus* functionality. In mac port and qt port, they process this with other way. > > Yes, takeFocus() implementation is not complete but we do the same in WebKit1. Ok. IMO, it would be good if you say this using "FIXME: bla bla".
Chris Dumez
Comment 6 2012-10-03 06:59:10 PDT
Created attachment 166885 [details] Patch for landing Take Gyuyoung's feedback into consideration.
WebKit Review Bot
Comment 7 2012-10-03 07:32:22 PDT
Comment on attachment 166885 [details] Patch for landing Clearing flags on attachment: 166885 Committed r130285: <http://trac.webkit.org/changeset/130285>
WebKit Review Bot
Comment 8 2012-10-03 07:32:27 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.