Page 1 of 2

OnScreen Keyboard won't type

Posted: Wed Jul 04, 2018 6:01 am
by Hitman
Hi guys,
i am using the latest version of CEF and i have a little app where i have an on-screen keyboard.
My onscreen keyboard however won't type anything into the browser forms, any ideas what am i missing?

Many thanks!

Re: OnScreen Keyboard won't type

Posted: Wed Jul 04, 2018 6:43 am
by salvadordf
Hi,

Could you post some code to test what's happening?

Thanks!

Re: OnScreen Keyboard won't type

Posted: Fri Jul 20, 2018 4:12 pm
by Hitman
Hi!
i have an on-screen keyboard which works wonderfully when i use the MiniBrowser demo but it simply won't type when i use my own browser.
Any ideas what am i doing wrong?

I have some forms on a web page that i am trying to fill up by using on-screen keyboard because my browser is used with a touch screen.
My on-screen keyboard however does type and works on MiniBrowser demo but not on my own browser. I simply cannot type anything to my browser when i press the buttons on keyboard, nothing is typed into the text field.

Re: OnScreen Keyboard won't type

Posted: Fri Jul 20, 2018 4:28 pm
by salvadordf
This is hard to guess without seeing the code and without a touchscreen to test the app.

Perhaps it's a focus issue.

Please modify your application to use an "external pump" like the SimpleExternalPumpBrowser demo.
You only need to modify a few code lines in the DPR file to configure GlobalCEFApp and destroy the app correctly in that mode.

Re: OnScreen Keyboard won't type

Posted: Fri Jul 20, 2018 4:57 pm
by Hitman
Yes,
i believe it is a focus issue but do not know what :?

Re: OnScreen Keyboard won't type

Posted: Fri Jul 20, 2018 4:57 pm
by Hitman
I have sent you a private message.

Re: OnScreen Keyboard won't type

Posted: Fri Jul 20, 2018 5:13 pm
by Hitman
Okay,
what am i missing?
if i put a panel on top of my browser form with an edit box, i can type normally into it but when i try to type something into the google search, nothing is typed.

What am i missing?

Re: OnScreen Keyboard won't type

Posted: Fri Jul 20, 2018 8:31 pm
by salvadordf
Send a minimal app where you have this problem I'll take a look.

Re: OnScreen Keyboard won't type

Posted: Tue Jul 24, 2018 8:32 pm
by salvadordf
Just in case someone else have issues with touchscreens and virtual keyboards, there seems to be a CEF3 bug that might be avoided if you use an external pump.

https://bitbucket.org/chromiumembedded/ ... cus-to-the

Re: OnScreen Keyboard won't type

Posted: Sun Jul 29, 2018 7:46 am
by Hitman
Hi!
if you mean same as the demo we have in the demos folder,
that won't work either :(
Onscreen keyboard won't type and browser is still crashing.
For example,
if you want to bring a keyboard out when the cursor changes to a typing cursor, you won't be able to do so.

I am not sure about how the component is built but,
is there any possibilities of making it's features to minimal like it was at the past?

What i mean is,
the less are the features the better it probably will work.
Please keep in mind,
we developers are not after building of a perfect chrome browser because Chrome browser already exists, we only need (at least me) a solid basic browser that will support HTML5 properly and can be used for touch screen applications and/or other type of custom content.
All the other things that are offered by Google chrome aren't really needed.
What i really mean is,
an alternative which is better than TWebBrowser.

TWebBorwser is great but the only troubles with it are,
- It does not support HTML5 properly
- It does not support touch content properly
Even setting it to emulate IE 11 is not doing good because IE 11 is still way too old and does not support HTML5 properly.