dcef3 icon indicating copy to clipboard operation
dcef3 copied to clipboard

Browser window stealing focus after loading

Open djjd47130 opened this issue 7 years ago • 1 comments

I'm writing an app for editing files, and displaying their HTML while editing. The problem is that when any document is loaded into the browser, the browser window steals focus away from where the focus was.

Even if I SetFocus in the OnLoadEnd event, it still ends up with focus, so the user isn't able to type for longer than half a second before they can no longer type (and keyboard input gets directed to the browser).

I had the same problem using the TWebBrowser (IE), which is one of the many reasons I moved to dcef.

djjd47130 avatar May 15 '17 00:05 djjd47130

I can confirm this problem, also happens with me. This did not happen on the build 2704, but happens on the most recent build 2924.

thefunkyjoint avatar Jul 28 '17 17:07 thefunkyjoint