choc icon indicating copy to clipboard operation
choc copied to clipboard

expose MoveFocus()..

Open rorywalsh opened this issue 2 years ago • 3 comments

Not so much an issue as a request. I wonder if you wouldn't mind exposing, the MoveFocus() method on Windows. Without it, one can't get keyboard focus to the underlying webview, or at least that's how it appears in my tests.

rorywalsh avatar May 23 '23 12:05 rorywalsh

Sorry, didn't see this issue until just now.

I actually can't remember why there's a commented-out MoveFocus line in the existing code, but this is stuff we're going to be fine-tuning soon. But I'd be reluctant to add a focus method for all platforms just to fix a windows-specific problem so would rather find a way to make it work as the other platforms do if that's possible somehow?

julianstorer avatar Jun 12 '23 07:06 julianstorer

Sure. I'm happy to patch it myself for now. Mac is fine btw, no problems there :+1:

rorywalsh avatar Jun 12 '23 09:06 rorywalsh

Thanks - if you spot any changes that help without affecting the API, I'd be curious to know!

julianstorer avatar Jun 12 '23 14:06 julianstorer