RESOLVED FIXED 42253
REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
https://bugs.webkit.org/show_bug.cgi?id=42253
Summary REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
Kenneth Rohde Christiansen
Reported 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.
Attachments
A patch to fix this issue. (20.04 KB, patch)
2010-07-16 15:32 PDT, James Su
no flags
Fix two typos. (20.03 KB, patch)
2010-07-16 15:50 PDT, James Su
no flags
Kenneth Rohde Christiansen
Comment 1 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?
Kenneth Rohde Christiansen
Comment 2 2010-07-14 06:07:17 PDT
EFL is affected as well according to demarchi.
Lucas De Marchi
Comment 3 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.
James Su
Comment 4 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?
James Su
Comment 5 2010-07-16 15:32:58 PDT
Created attachment 61852 [details] A patch to fix this issue.
Early Warning System Bot
Comment 6 2010-07-16 15:38:31 PDT
WebKit Review Bot
Comment 7 2010-07-16 15:39:14 PDT
WebKit Review Bot
Comment 8 2010-07-16 15:42:40 PDT
James Su
Comment 9 2010-07-16 15:50:59 PDT
Created attachment 61854 [details] Fix two typos.
Darin Adler
Comment 10 2010-07-16 17:35:03 PDT
Can we make a regression test for this?
WebKit Commit Bot
Comment 11 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>
WebKit Commit Bot
Comment 12 2010-07-16 18:06:08 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.