Bug 89268 - [EFL][WK2] Support keyboard event
Summary: [EFL][WK2] Support keyboard event
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryuan Choi
URL:
Keywords:
Depends on:
Blocks: 61838
  Show dependency treegraph
 
Reported: 2012-06-15 20:14 PDT by Ryuan Choi
Modified: 2012-06-22 16:14 PDT (History)
6 users (show)

See Also:


Attachments
Patch (18.86 KB, patch)
2012-06-15 20:21 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ec2-cr-linux-02 (1.94 MB, application/zip)
2012-06-16 00:20 PDT, WebKit Review Bot
no flags Details
rebased for green ews (18.81 KB, patch)
2012-06-16 07:16 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ec2-cr-linux-03 (1.68 MB, application/zip)
2012-06-16 10:52 PDT, WebKit Review Bot
no flags Details
Patch (18.86 KB, patch)
2012-06-19 16:00 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
patch for green bot (18.85 KB, patch)
2012-06-19 23:35 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryuan Choi 2012-06-15 20:14:58 PDT
There is currently no way to write text in contents using keyboard.
Comment 1 Ryuan Choi 2012-06-15 20:21:21 PDT
Created attachment 147943 [details]
Patch
Comment 2 WebKit Review Bot 2012-06-16 00:20:41 PDT
Comment on attachment 147943 [details]
Patch

Attachment 147943 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/12960819

New failing tests:
svg/filters/feImage-subregions-preseveAspectRatio-none-with-viewBox.svg
svg/custom/image-small-width-height.svg
Comment 3 WebKit Review Bot 2012-06-16 00:20:49 PDT
Created attachment 147957 [details]
Archive of layout-test-results from ec2-cr-linux-02

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-02  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 4 Ryuan Choi 2012-06-16 07:16:50 PDT
Created attachment 147966 [details]
rebased for green ews
Comment 5 WebKit Review Bot 2012-06-16 10:52:15 PDT
Comment on attachment 147966 [details]
rebased for green ews

Attachment 147966 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/12961888

New failing tests:
svg/custom/focus-ring.svg
svg/custom/group-opacity.svg
svg/custom/createImageElement2.xhtml
scrollbars/listbox-scrollbar-combinations.html
svg/as-border-image/svg-as-border-image.html
scrollbars/overflow-scrollbar-combinations.html
svg/custom/image-parent-translation.xhtml
svg/custom/createImageElement.svg
Comment 6 WebKit Review Bot 2012-06-16 10:52:21 PDT
Created attachment 147976 [details]
Archive of layout-test-results from ec2-cr-linux-03

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-03  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 7 Ryuan Choi 2012-06-19 15:54:57 PDT
(In reply to comment #5)
> (From update of attachment 147966 [details])
> Attachment 147966 [details] did not pass chromium-ews (chromium-xvfb):
> Output: http://queues.webkit.org/results/12961888
> 
> New failing tests:
> svg/custom/focus-ring.svg
> svg/custom/group-opacity.svg
> svg/custom/createImageElement2.xhtml
> scrollbars/listbox-scrollbar-combinations.html
> svg/as-border-image/svg-as-border-image.html
> scrollbars/overflow-scrollbar-combinations.html
> svg/custom/image-parent-translation.xhtml
> svg/custom/createImageElement.svg

I can not understand failing because this patch is just for Efl specific.
I will try once more.
Comment 8 Ryuan Choi 2012-06-19 16:00:47 PDT
Created attachment 148450 [details]
Patch
Comment 9 Gyuyoung Kim 2012-06-19 21:56:17 PDT
Comment on attachment 148450 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=148450&action=review

From refactoring of view, I agree with this change for both WK1 and WK2.

> Source/WebCore/ChangeLog:3
> +        [EFL][WK2] Add to support keyboard event.

I think "[EFL][WK2] Support keyboard event" is clear.
Comment 10 Ryuan Choi 2012-06-19 23:35:19 PDT
Created attachment 148515 [details]
patch for green bot
Comment 11 Ryuan Choi 2012-06-19 23:35:45 PDT
(In reply to comment #9)
> (From update of attachment 148450 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=148450&action=review
> 
> From refactoring of view, I agree with this change for both WK1 and WK2.
> 
> > Source/WebCore/ChangeLog:3
> > +        [EFL][WK2] Add to support keyboard event.
> 
> I think "[EFL][WK2] Support keyboard event" is clear.

Ok, I changed.
Comment 12 Gyuyoung Kim 2012-06-20 00:14:35 PDT
Comment on attachment 148515 [details]
patch for green bot

View in context: https://bugs.webkit.org/attachment.cgi?id=148515&action=review

LGTM.

> Source/WebKit2/WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:43
> +    if (m_page->handleEditingKeyboardEvent(event))

I think we can use this function in WebEditorClient.cpp as other ports.

http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp#L279
Comment 13 Gyuyoung Kim 2012-06-20 00:15:42 PDT
(In reply to comment #12)
> (From update of attachment 148515 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=148515&action=review
> 
> LGTM.

*LGTM* is my mistake.
Comment 14 Ryuan Choi 2012-06-20 00:30:25 PDT
(In reply to comment #12)
> (From update of attachment 148515 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=148515&action=review
> > Source/WebKit2/WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:43
> > +    if (m_page->handleEditingKeyboardEvent(event))
> 
> I think we can use this function in WebEditorClient.cpp as other ports.
> 
> http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp#L279

Yes, now they are same.
so we can remove WebEditorClientEfl for now.

But, I am not sure because it should be modified to support ecore-imf in the near future.
Comment 15 Gyuyoung Kim 2012-06-20 00:48:53 PDT
Comment on attachment 148515 [details]
patch for green bot

View in context: https://bugs.webkit.org/attachment.cgi?id=148515&action=review

>>> Source/WebKit2/WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp:43
>>> +    if (m_page->handleEditingKeyboardEvent(event))
>> 
>> I think we can use this function in WebEditorClient.cpp as other ports.
>> 
>> http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp#L279
> 
> Yes, now they are same.
> so we can remove WebEditorClientEfl for now.
> 
> But, I am not sure because it should be modified to support ecore-imf in the near future.

If you're going to submit it, maybe, within a week, I would like to wait for the patch. But, if not so, I think it is good to remove WebEditorClientEfl.cpp for now. We need to stop to keep unneeded file / stub functions.
Comment 16 Gyuyoung Kim 2012-06-20 00:51:29 PDT
If you file a bug for ecore-imf first, I agree to land this patch. Because, EFL WK2 is being to contributed.
Comment 17 Ryuan Choi 2012-06-20 01:13:22 PDT
(In reply to comment #16)
> If you file a bug for ecore-imf first, I agree to land this patch. Because, EFL WK2 is being to contributed.

OK, I created Bug 89552
Comment 18 Gyuyoung Kim 2012-06-20 01:45:05 PDT
Comment on attachment 148515 [details]
patch for green bot

Looks good to me now.
Comment 19 Chang Shu 2012-06-22 13:12:38 PDT
Comment on attachment 148515 [details]
patch for green bot

LGTM, too.
Comment 20 WebKit Review Bot 2012-06-22 16:14:02 PDT
Comment on attachment 148515 [details]
patch for green bot

Clearing flags on attachment: 148515

Committed r121068: <http://trac.webkit.org/changeset/121068>
Comment 21 WebKit Review Bot 2012-06-22 16:14:38 PDT
All reviewed patches have been landed.  Closing bug.