Bug 42253 - REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
Summary: REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P3 Critical
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks: 35784
  Show dependency treegraph
 
Reported: 2010-07-14 06:01 PDT by Kenneth Rohde Christiansen
Modified: 2010-07-16 18:06 PDT (History)
12 users (show)

See Also:


Attachments
A patch to fix this issue. (20.04 KB, patch)
2010-07-16 15:32 PDT, James Su
no flags Details | Formatted Diff | Diff
Fix two typos. (20.03 KB, patch)
2010-07-16 15:50 PDT, James Su
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Rohde Christiansen 2010-07-14 06:01:30 PDT
r61484 changed the behaviour of setFocusedNode by calling setInputMethodState before the focused node is changed, something that Qt depended on and needs to depend on.
Comment 1 Kenneth Rohde Christiansen 2010-07-14 06:06:36 PDT
Wouldn't it have been better if the patch had introduced a method to finish ongoing composition session? or make setInputMethodState take an enum instead?
Comment 2 Kenneth Rohde Christiansen 2010-07-14 06:07:17 PDT
EFL is affected as well according to demarchi.
Comment 3 Lucas De Marchi 2010-07-14 06:29:18 PDT
This is impacting the EFL implementation as well. In setInputMethodState we need the new focused node, not the old, in order to get the input method hints.
Comment 4 James Su 2010-07-14 09:49:08 PDT
(In reply to comment #1)
> Wouldn't it have been better if the patch had introduced a method to finish ongoing composition session? or make setInputMethodState take an enum instead?

Sounds better. Why way would you prefer? a new enum or an new method?
Comment 5 James Su 2010-07-16 15:32:58 PDT
Created attachment 61852 [details]
A patch to fix this issue.
Comment 6 Early Warning System Bot 2010-07-16 15:38:31 PDT
Attachment 61852 [details] did not build on qt:
Build output: http://webkit-commit-queue.appspot.com/results/3370531
Comment 7 WebKit Review Bot 2010-07-16 15:39:14 PDT
Attachment 61852 [details] did not build on gtk:
Build output: http://webkit-commit-queue.appspot.com/results/3581076
Comment 8 WebKit Review Bot 2010-07-16 15:42:40 PDT
Attachment 61852 [details] did not build on chromium:
Build output: http://webkit-commit-queue.appspot.com/results/3594045
Comment 9 James Su 2010-07-16 15:50:59 PDT
Created attachment 61854 [details]
Fix two typos.
Comment 10 Darin Adler 2010-07-16 17:35:03 PDT
Can we make a regression test for this?
Comment 11 WebKit Commit Bot 2010-07-16 18:06:02 PDT
Comment on attachment 61854 [details]
Fix two typos.

Clearing flags on attachment: 61854

Committed r63602: <http://trac.webkit.org/changeset/63602>
Comment 12 WebKit Commit Bot 2010-07-16 18:06:08 PDT
All reviewed patches have been landed.  Closing bug.