Virtual keyboard doesn't work with Chrome

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
ZgredekLCD
White ninja
White ninja
Posts: 9
Joined: 28 Feb 2023, 08:05
Distribution: Porteus

Virtual keyboard doesn't work with Chrome

Post#1 by ZgredekLCD » 28 Feb 2023, 11:26

Hello everyone!
Does anyone have a working virtual keyboard that will allow you to type in the inputs on the site (chrome browser)? The "virtual_keyobard" shows up on the screen and even writes in the input form, but when it comes to validation, the text in the inputs disappears.
The documentation says "please use our customiezed builds" so I suppose this is where I will find help :roll:
http://porteus-kiosk.org/parameters.htm ... l_keyboard

Code: Select all

NOTE: due to browser security policies extensions can not work on the input fields which are implemented through iframes. They also wont work on the browser's URL bar. Please use our Customized Builds service if you need a virtual keyboard (system application) which has these limitations lifted.
If the parameter is not present or its value is set to 'no' then virtual keyboard extension is disabled.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Virtual keyboard doesn't work with Chrome

Post#2 by fanthom » 28 Feb 2023, 15:43

Hello ZgredekLCD,

If you are able to type into the input field then this is not a problem of iframes.
It could be a touch driver problem.

Customized build may resolve it:
https://porteus-kiosk.org/builds.html

Thanks
Please add [Solved] to your thread title if the solution was found.

ZgredekLCD
White ninja
White ninja
Posts: 9
Joined: 28 Feb 2023, 08:05
Distribution: Porteus

Virtual keyboard doesn't work with Chrome

Post#3 by ZgredekLCD » 03 Mar 2023, 14:29

Thanks!
Yes, the fields are not on the iframe. I'm wondering how there could be a problem with the touch driver since everything works as it should. When I tap on an input field the virtual keyboard shows up and typing works too, but when I try to submit the form the values disappear, and I get a return from the server that the fields are blank - validation etc works fine on a normal pc.
Do you recommend any other virtual keyboard package?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Virtual keyboard doesn't work with Chrome

Post#4 by fanthom » 03 Mar 2023, 16:05

1) Please test default kiosk virtual keyboard (browser extension) on some other webpage like e.g. google.com.

2) If it still does not work then connect the kiosk over SSH and run this command:

Code: Select all

/opt/scripts/xvkbd
This vk is not very user friendly but at least you will be able to check if submitting of the forms on your webpage works.

3) If xvkbd works OK then you may test 'onboard' package on Ubuntu. Its superior to everything although requires python + friends (thats why its not default in kiosk).
'onboard' can be added through the customized kiosk build.

Thanks
Please add [Solved] to your thread title if the solution was found.

ZgredekLCD
White ninja
White ninja
Posts: 9
Joined: 28 Feb 2023, 08:05
Distribution: Porteus

Virtual keyboard doesn't work with Chrome

Post#5 by ZgredekLCD » 24 Jul 2023, 08:49

I did some research and came to the conclusion that the virtual keyboard works on google, the problem is with the JS library Vue.JS. Vue does not recognize the tap on the touch keyboard. I also found the same problem on stackoverflow: https://stackoverflow.com/questions/736 ... js-3-issue
Will you be doing something about it ?

I wonder if ubuntu-frame-osk (https://snapcraft.io/ubuntu-frame-osk) would work properly? Is it possible to somehow straightforwardly convert it into a package for porteus?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Virtual keyboard doesn't work with Chrome

Post#6 by fanthom » 24 Jul 2023, 10:37

Chrome extension was not created by us so we cannot update it.

Thanks
Please add [Solved] to your thread title if the solution was found.

ZgredekLCD
White ninja
White ninja
Posts: 9
Joined: 28 Feb 2023, 08:05
Distribution: Porteus

Virtual keyboard doesn't work with Chrome

Post#7 by ZgredekLCD » 24 Jul 2023, 11:06

Oki, I understand, and is there any replacement for virtual-keyboard or it is possible to create in a fairly simple way an additional module such as squeekboard ? https://gitlab.gnome.org/World/Phosh/squeekboard

ZgredekLCD
White ninja
White ninja
Posts: 9
Joined: 28 Feb 2023, 08:05
Distribution: Porteus

Virtual keyboard doesn't work with Chrome

Post#8 by ZgredekLCD » 24 Jul 2023, 12:26

Hi, I found a half solution, I tested another extension (https://chrome.google.com/webstore/deta ... hhdiakielc) and it works! So now I would like to know how the default virtual keyboard is installed in chrome. Do you have your chrome build or do you install the plugin later? Can I modify the .iso file to automatically install the extension with some configuration? If so, can I ask for some short step by step where to look for it?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Virtual keyboard doesn't work with Chrome

Post#9 by fanthom » 24 Jul 2023, 13:35

Check sticky threads in the Tutorials section of the kiosk forum.

Thanks
Please add [Solved] to your thread title if the solution was found.

ZgredekLCD
White ninja
White ninja
Posts: 9
Joined: 28 Feb 2023, 08:05
Distribution: Porteus

Virtual keyboard doesn't work with Chrome

Post#10 by ZgredekLCD » 24 Jul 2023, 13:49

Awesome! Thank you so much! I found it :friends:
I am still wondering how one can define a default config for a plugin? Should I look in /opt/google/chrome/master_preferences?

Locked