IMDTouchKnowledge BaseShop main store

Troubleshooting

Why a Browser Virtual Keyboard Fails in Web HMI Fields

HMI and touchscreens Published 7 min read

Short answer

Characters appearing in a web HMI field prove the page changed, not that the application accepted the value. A browser virtual keyboard that edits only the visible text leaves the input control untouched, so validation fails and login stays locked. Test with a USB keyboard; if only the virtual path fails, move to a release with the application's own keyboard — FUXA ships its Virtual Keyboard from 1.1.11.

On this page
  1. Displayed text is not an accepted value
  2. Where each symptom points
  3. The USB keyboard control test
  4. Worked check: a Raspberry Pi kiosk station on FUXA 1.1.9
  5. Read the installed release
  6. Choose the keyboard layer for the station
  7. When both input methods fail
  8. Questions asked

Characters appearing in a web HMI input field prove only that the page changed. When a station running FUXA on a Raspberry Pi kiosk shows typed digits, then reports a not-a-number error and leaves the login confirmation locked until a USB keyboard is plugged in, the on-screen keyboard is editing the visible text without delivering the edit to the application's input control. The fix carries a number: FUXA ships its own Virtual Keyboard from release 1.1.11, and the reported failure sat on 1.1.9. Work the diagnosis in that order — split displayed text from accepted value, run the USB keyboard control test, then read the installed release.

Displayed text is not an accepted value #

A single-page web HMI keeps two stores for every field: the characters rendered inside the input element, and the value held in the application's input control. Validation and tag writes read the control, never the rendering. The control learns about an edit from events on the field — input, change, blur — and the MDN Web docs for KeyboardEvent state the platform limit in one line: for alternate means of entering text, such as an on-screen keyboard or handwriting, keyboard events may not be fired at all.

A Chromium extension keyboard that puts text into the element without driving those events leaves the control holding its previous value — empty on a fresh field. Parsing that empty control yields not-a-number, and a login form whose controls never update keeps its confirmation disabled. That is the reported signature exactly: characters visible, value rejected, USB entry accepted seconds later. The extension also lives in the browser layer, outside your project, so it can stop registering entries after a browser or extension update with nothing changed in the HMI.

Where each symptom points #

Read three things separately before touching anything: the characters visible in the field, the field's validation state, and the value after confirmation. A displayed number proves the screen changed; it does not prove the application received a value or issued a tag write.

What you observe Where the failure sits Next check
Virtual-keyboard characters appear, then a not-a-number error The edit never reached the control's value USB keyboard comparison
Login confirmation stays unavailable after virtual entry The form's controls never updated Same comparison on the login screen
USB entry accepted in the same field Field, validation, binding and write path are good The virtual input layer; read the release
Both entry methods rejected Validation rule, binding or write permission Field configuration, not the keyboard
Entry accepted, process value does not move Confirmation, tag binding, write permission or driver Follow the accepted value to the controller
Value changes briefly, then returns Controller logic or readback overrides the write Compare submitted value with readback

The login screen is the sharpest divider because it has no process tag: virtual entry failing both at login and in a numeric field puts the fault in the common browser-to-application path, ahead of any driver.

The USB keyboard control test #

Run the test against a spare tag and a test login, never a live setpoint: an entry that half-registers can still command the machine.

  1. Open the affected numeric field on a view bound to the test tag.
  2. Enter a valid value with the virtual keyboard and record three things separately: characters appear, validation passes, confirmation becomes available.
  3. Clear the field, enter the same value with the USB keyboard, and use the same confirmation action.
  4. Repeat both entries on the login screen.
  5. Read the installed release before changing any tag, driver or controller code.

Keep the field, the value and the confirmation identical between methods so only the input path differs. To see the mechanism itself, watch the field in the browser's developer tools: a visible text change with no input event on the control is the whole failure in one view.

Worked check: a Raspberry Pi kiosk station on FUXA 1.1.9 #

Inputs, each from the reported station:

  • Web HMI: FUXA release 1.1.9, with server and browser client both running on the station.
  • Station: Raspberry Pi 4, Raspbian, Chromium in kiosk mode, plus a Chromium virtual-keyboard extension.
  • Test equipment: one USB keyboard, attached only for the comparison.
  • Test targets: one numeric input bound to a test tag, and the login screen.

Rule in words: an entry counts as accepted only when the input control's value changes and the confirmation completes. The USB keyboard is the reference because its key events travel the operating system's input path — the path the application is built to hear.

Arithmetic: 2 input methods × 2 fields = 4 trials. Release check: installed 1.1.9 against the feature boundary 1.1.11 gives 1.1.9 < 1.1.11, two minor releases short, so the built-in Virtual Keyboard is not present in the installation.

The reported outcome across the four trials:

Trial Method Field Result
1 Virtual keyboard Numeric input Characters appear; not-a-number error; no write
2 Virtual keyboard Login Characters appear; OK stays unavailable
3 USB keyboard Numeric input Accepted; write goes through
4 USB keyboard Login OK becomes available; login proceeds

Two failures and two passes with everything else held constant isolate the virtual input layer; trials 3 and 4 prove the fields, validation and binding good. Decision: any installed release below 1.1.11, plan the upgrade and move to the built-in Virtual Keyboard; at 1.1.11 or above, enable the built-in keyboard first and repeat the same four trials.

Read the installed release #

Read the version from the application's version information or the deployed package metadata, not from memory. The station runs two parts — the server and the browser-delivered client — and they are verified separately: a refreshed page can deliver a new client while the server still runs the old release.

Release What it means for touch entry
1.1.9 The reported failing installation; no built-in Virtual Keyboard
1.1.11 First release with the built-in Virtual Keyboard
1.1.17-1370 Reported layout issue: an Input set to type Number shows the full alphanumeric keyboard instead of a numeric one
1.3.5 Listed as the latest release in the project repository; carries the built-in keyboard forward

The built-in keyboard came from integrating an Angular virtual-keyboard component into the application's input controls, which is why it drives the events the fields listen for. Before upgrading, preserve the project and the deployment configuration, then repeat the four trials on the bench with the actual touchscreen. Reading the release first is the same discipline a packaged HMI forces from the other direction — the Vision text area touch keyboard stopping after 7.8.0 — because the installed version decides which fixes even exist.

Choose the keyboard layer for the station #

Layer Scope Decision
Built-in Virtual Keyboard, 1.1.11 and later Application input First choice at or above 1.1.11; retest layout on the exact release
Operating-system on-screen keyboard System-wide input For stations that must type outside the HMI too; verify focus in kiosk mode
Chromium keyboard extension Browser input Fallback only, re-verified after every browser or extension update
Keypad built inside the project Project input For controlled numeric entry: a dialog holds a local string, digit buttons append to it, Enter converts and writes

The project-built keypad is the pattern to use when the built-in keyboard's layout does not fit the job; in a packaged HMI the equivalent is an on-screen keyboard built from bitmap HMI assets. Locking the station so operators never reach browser chrome follows the practice of running an HMI application touch-only in forced full screen. If you are specifying the station itself rather than rescuing a Raspberry Pi build, a web HMI client that runs touch-only at the machine is the job of industrial panel PCs.

Between the built-in keyboard and the system keyboard, prefer the built-in one for the HMI workflow — it keeps input inside the application — and choose the system keyboard when the station needs typing outside it. Either way, acceptance means focus, dismissal and confirmation tested with touch alone, no keyboard or mouse attached.

When both input methods fail #

A rejected USB keyboard exonerates the keyboard layer. Work the field instead: validation type and limits, tag binding, write permission on the tag, and the driver path to the controller. The login screen splits the search — it has no tag, so a USB-keyboard failure at login points at users and validation inside the application, while a login pass with a process-field failure points past the application at binding and writes.

Questions asked

Does the USB keyboard passing mean the touchscreen is faulty?

No. The touchscreen delivered every tap, or the characters would not have appeared in the field. The failure sits between the browser's text change and the application's input events, so recalibrating touch or replacing the digitizer changes nothing. Keep the panel and fix the input layer.

Can the Chromium keyboard extension be kept instead of upgrading?

Only as a fallback you keep re-verifying. The extension runs in the browser layer, outside the HMI project, and the reported station had it working before it stopped registering entries with no project change. Repeat the two-field check after every browser or extension update; a release with the built-in keyboard removes that dependency.

Does the built-in Virtual Keyboard give a numeric-only layout?

Treat the layout as release-dependent. A report on 1.1.17-1370 describes an Input set to type Number showing the full alphanumeric keyboard instead of a numeric one. Digits remain typeable, but if operators need numeric-only entry, test the layout on the exact release before rollout.

What should be preserved before upgrading the web HMI release?

The project and the deployment configuration: the server installation with its port and service settings, and the client setup on the station. Upgrade on the bench, confirm the running server and the delivered client are both the intended release, then repeat the four trials on the actual touchscreen before the station returns to the floor.

Keep reading

  • Troubleshooting

    Why swipe scrolling fails on a touchscreen web HMI page

    When other browser windows scroll but a scrollable region on the HMI page will not swipe, the touch panel and driver are fine and the fault is layered: the browser is not delivering touch events (Chrome stopped exposing them by default), the visualization object has no gesture handling enabled, or an overlapping object swallows the swipe. Fix all three, then verify with a finger only — a mouse wheel hides the fault.

    HMI and touchscreens

  • Explainer

    Where JavaScript and WebAssembly Actually Run on an HMI

    JavaScript and WebAssembly execute in the HMI client's browser engine — the panel itself, a panel PC, or a desktop browser — never inside the PLC, which only serves the files and exposes data through a documented interface. Decide on the rendering route the installed runtime provides, then verify rendering, module execution, and the data path in that order.

    HMI and touchscreens

  • Troubleshooting

    Why a Browser HMI Tab Goes Black for 20 Seconds

    A whole-tab black screen that clears after 20 to 30 seconds is client memory pressure paging the renderer to disk until proven otherwise, not a gateway, session-timeout or remote tag-provider fault. Capture RAM, committed memory, paging and disk activity on the client during the event before changing any setting; with 16 or more tabs open, the client is the layer to measure first.

    HMI and touchscreens

Why Perspective Workstation Ignores Touch but the Browser Works