You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm currently supporting CEFSharp app. After updating from version 39 to 49 virtual keyboard does not appear any more. I have read all issues I had found and tried all possible combinations of them . No success.
The list of workarounds I have tried:
Then I have installed Visual Studio on tablet, build a WinForms example 49. But keyboard still does not appear. My question is, what should I do to make keyboard appear in this simple example.
System:
Lenovo miix 3 1030
CefSharp version 49.0
x86
Win10
WinForms
Steps will reproduce:
Start CefSharp.WinForms.Example on tablet.
Then I have installed Visual Studio on tablet, build a WinForms example 49. But keyboard still does not appear. My question is, what should I do to make keyboard appear in this simple example.
Does the problem reproduce in 47.0.4? You might be better to rollback a version.
Thanx for your help. After rollback to 47.0.4 my project works perfectly fine for me.
In CefSharp.WinForms.Example you need to set FocusHandler to null. Otherwise virtual keyboard appears but keypress does not work.
Should we close the issue?
The master branch has been upgraded to CEF 2704.1415 which is based on Chromium 51.0.2704.63. If you have time to download the source and test this out that would be much appreciated.
A -pre release based on this version will likely be released in the next couple of weeks.
We are developing a kiosk solution using Windows 10 and CefSharp but we have the same problem with the touch keyboard not appearing in 49 and 51. We tried downgrading to version 47 hoping that would fix it, but no luck. When using a Chrome browser, the keyboard appears.
So we are wondering: Are we even initialising CEF correctly? What are the required settings in CEF for making the onscreen keyboard appear?
We are developing a kiosk solution using Windows 10 and CefSharp but we have the same problem with the touch keyboard not appearing in 49 and 51. We tried downgrading to version 47 hoping that would fix it, but no luck.
Your using WinForms? If your using WPF then that's a totally different issue.
When using a Chrome browser, the keyboard appears.
Its a WinForms project.
So if I understand you correctly I should be looking for solutions on the CEF forums instead? Sorry for posting in this thread then, it just sounded exactly like our problem. You can delete these comments if you wish.
After a long time of looking for a solution, i finally found one that works for me and bring up the onscreen-keyboard as expected. Found it in a Youtube-Video:
Add "disable-usb-kyboard-detect=1" as CommandLine-Argument
CefSettings settings = new CefSettings();
settings.CefCommandLineArgs.Add("disable-usb-keyboard-detect", "1");
Cef.Initialize(settings);
This brings up the Windows OnScreen-Keyboard every time i touch into an input field. Tested with Cef v47.0.4 and installed Chrome v60.0.3112.101.
Tested with the latest MinimalExample which is based on version 65 and it's working correctly on my Surface Pro 1 running Windows 10. Those experiencing issues should use the disable-usb-keyboard-detect command line argument.
Hello, I'm using version 69. The onscreen keyboard correctly pops up when I touch an entry box. Problem is it ALSO pops up when I click in it with a mouse. I have tried 'disable-usb-keyboard-detect' set to '0' and '1' but no effect. Does anyone know a solution?
It's a known issue with Chrome version 69, the only option I'm aware of is to downgrade for the time being, it's resolved in version 70, so the fix will be included in the next CefSharp release which will be version 71.
Search the Google product forms if you like, I was never able to find a working solution and just had to live with the problem.
Thanks, I have downgraded to version 65.0.1 where it works fine.
It also works ok with version 67.0.0 but there I have the problem that session cookies are not cleared on exit (is this a known problem as well?). So I just stick to 65.0.1 for the time being.
Thanks, I have downgraded to version 65.0.1 where it works fine.
It also works ok with version 67.0.0 but there I have the problem that session cookies are not cleared on exit (is this a known problem as well?). So I just stick to 65.0.1 for the time being.
Just tested with the MinimalExample on 99.2.90 and it does not work the majority of the time on a Surface Go original. I did get the keyboard to pop up once while randomly scrolling and tapping, and then the keyboard would popup regardless of if a text field had focus.
Tested with the cefclient and tapping text fields does work.
Activity
amaitland commentedon May 20, 2016
Does the problem reproduce in
47.0.4? You might be better to rollback a version.Did you explicitly use
3.2623.1396?amaitland commentedon May 20, 2016
Also make sure you don't have a physical keyboard plugged in when testing.
ArtyP commentedon May 23, 2016
Thanx for your help. After rollback to 47.0.4 my project works perfectly fine for me.
In CefSharp.WinForms.Example you need to set FocusHandler to null. Otherwise virtual keyboard appears but keypress does not work.
Should we close the issue?
[-]Virtual Keyborad[/-][+]Virtual Keyboard[/+]amaitland commentedon May 23, 2016
I will assign this to the
51.0.0milestone, I'll let you know when a test build is available. If you have time I'd appreciate if you could re-test.ArtyP commentedon May 23, 2016
Sure.
amaitland commentedon May 30, 2016
The
masterbranch has been upgraded toCEF 2704.1415which is based on Chromium51.0.2704.63. If you have time to download the source and test this out that would be much appreciated.A
-prerelease based on this version will likely be released in the next couple of weeks.amaitland commentedon Jun 9, 2016
@ArtyP
51.0.0-pre01packages are onNuget.org, appreciate if you could test them out.martin-k commentedon Aug 26, 2016
We are developing a kiosk solution using Windows 10 and CefSharp but we have the same problem with the touch keyboard not appearing in 49 and 51. We tried downgrading to version 47 hoping that would fix it, but no luck. When using a Chrome browser, the keyboard appears.
So we are wondering: Are we even initialising CEF correctly? What are the required settings in CEF for making the onscreen keyboard appear?
amaitland commentedon Aug 26, 2016
Your using
WinForms? If your usingWPFthen that's a totally different issue.It's not relevant to compare to
Chromein this instance, see https://github.com/cefsharp/CefSharp/blob/master/CONTRIBUTING.md#cefsharp-vs-chromium-embedded-frameworkcefThere are none,
CefSharphas no control, it's just a wrapper. It either works or it doesn't.martin-k commentedon Aug 26, 2016
Its a WinForms project.
So if I understand you correctly I should be looking for solutions on the CEF forums instead? Sorry for posting in this thread then, it just sounded exactly like our problem. You can delete these comments if you wish.
9 remaining items
hahrens commentedon Aug 20, 2017
After a long time of looking for a solution, i finally found one that works for me and bring up the onscreen-keyboard as expected. Found it in a Youtube-Video:
Add
"disable-usb-kyboard-detect=1"as CommandLine-ArgumentThis brings up the Windows OnScreen-Keyboard every time i touch into an input field. Tested with Cef v47.0.4 and installed Chrome v60.0.3112.101.
mismaiel62 commentedon Aug 29, 2017
@hahrens Thanks mate.
worked perfectly fine for me.
Otherwise, I was launching keyboard process through JS (which is extra headache and degrades the performance also) before your solution.
Thumps up (Y)
amaitland commentedon Jul 23, 2018
Tested with the latest
MinimalExamplewhich is based on version65and it's working correctly on mySurface Pro 1runningWindows 10. Those experiencing issues should use thedisable-usb-keyboard-detectcommand line argument.https://github.com/cefsharp/CefSharp.MinimalExample
avzuylen commentedon Nov 28, 2018
Hello, I'm using version 69. The onscreen keyboard correctly pops up when I touch an entry box. Problem is it ALSO pops up when I click in it with a mouse. I have tried 'disable-usb-keyboard-detect' set to '0' and '1' but no effect. Does anyone know a solution?
amaitland commentedon Nov 28, 2018
It's a known issue with Chrome version 69, the only option I'm aware of is to downgrade for the time being, it's resolved in version 70, so the fix will be included in the next CefSharp release which will be version 71.
Search the Google product forms if you like, I was never able to find a working solution and just had to live with the problem.
avzuylen commentedon Nov 30, 2018
Thanks, I have downgraded to version 65.0.1 where it works fine.
It also works ok with version 67.0.0 but there I have the problem that session cookies are not cleared on exit (is this a known problem as well?). So I just stick to 65.0.1 for the time being.
kafka-yu commentedon Jan 17, 2019
Hello @avzuylen
I tried on CEF 68, but it seems doesn't work....
amaitland commentedon Jan 17, 2019
71.0.0-pre01is out, you should try upgrading.akhudairy commentedon Dec 28, 2020
Tried it on 84.1.1 but it is not working for me
fotoguy42 commentedon Mar 28, 2022
Just tested with the MinimalExample on 99.2.90 and it does not work the majority of the time on a Surface Go original. I did get the keyboard to pop up once while randomly scrolling and tapping, and then the keyboard would popup regardless of if a text field had focus.
Tested with the cefclient and tapping text fields does work.
amaitland commentedon Mar 28, 2022
Did you test with the command line args listed at https://github.com/cefsharp/CefSharp/blob/master/CONTRIBUTING.md#cefsharp-vs-chromium-embedded-frameworkcef
amaitland commentedon Mar 28, 2022
Please confirm you've tested the workaround listed at #1691 (comment)
simonbuehler commentedon Sep 22, 2023
same issue with 101 in a kiosk winforms app.
i also tried the usb workaround but didn't help, any ideas?