Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

OnScreen Keyboard won't type

Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

OnScreen Keyboard won't type

Post 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!
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OnScreen Keyboard won't type

Post by salvadordf »

Hi,

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

Thanks!
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

Re: OnScreen Keyboard won't type

Post 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.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OnScreen Keyboard won't type

Post 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.
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

Re: OnScreen Keyboard won't type

Post by Hitman »

Yes,
i believe it is a focus issue but do not know what :?
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

Re: OnScreen Keyboard won't type

Post by Hitman »

I have sent you a private message.
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

Re: OnScreen Keyboard won't type

Post 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?
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OnScreen Keyboard won't type

Post by salvadordf »

Send a minimal app where you have this problem I'll take a look.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: OnScreen Keyboard won't type

Post 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
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

Re: OnScreen Keyboard won't type

Post 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.
Post Reply