Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winform ImeCommitText Method do not work #3267

Closed
Green1ee opened this issue Oct 29, 2020 · 2 comments
Closed

Winform ImeCommitText Method do not work #3267

Green1ee opened this issue Oct 29, 2020 · 2 comments
Labels
upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.

Comments

@Green1ee
Copy link

Green1ee commented Oct 29, 2020

For Example:

        Task.Run(async delegate
            {
                var host = this.chromeBrowser.GetBrowserHost();

                host.SendMouseClickEvent(843, 270, MouseButtonType.Left, false, 1, CefEventFlags.None);
                host.SendMouseClickEvent(843, 270, MouseButtonType.Left, true, 1, CefEventFlags.None);
                await Task.Delay(3000);
                host.ImeCommitText("words", null, 0);  // run successfully, but no effect.
            }
        );
@amaitland amaitland assigned amaitland and unassigned amaitland Oct 29, 2020
@amaitland
Copy link
Member

ImeCommitText is intended to be used by the WPF/OffScreen versions.

You'll need to report your problem on https://magpcss.org/ceforum/index.php as implemented in CEF/Chromium. By all means post a link back here for reference.

Closing as upstream.

@amaitland amaitland added the upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium. label Oct 29, 2020
@amaitland
Copy link
Member

You can try using DevTools and https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-insertText as an alternative.

For details on executing commands see #3165

It's important to remember that CefSharp is just one of many chromium embedded framework wrappers and doesn't actually implement these features we just allow you to call the C++ methods from .Net

ImeCommitText is not something we can fix directly and reporting the problem here doesn't inform the CEF developers there is an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.
Projects
None yet
Development

No branches or pull requests

2 participants