This leads to the wrong selection color being used and no caret cursor in text fields.
To reproduce in QtLauncher:
- Open www.google.com
- Right click on any link and do open in new window
- Wait until the page is loaded before activating the new window
- Click and select text in the new windows
On Windows at least, the selection will be of the wrong color until you give the focus to another widget and give it back to the web view.
Created attachment 43150 [details]
setFocusedFrame check if isFocused() is true before forwarding the event to the frame.
This patch ensure that it is called before.
Comment on attachment 43150 [details]
Clearing flags on attachment: 43150
Committed r50937: <http://trac.webkit.org/changeset/50937>
All reviewed patches have been landed. Closing bug.
*** Bug 35660 has been marked as a duplicate of this bug. ***