apache / apache/cordova-electron

Windows 10 Surface virtual keyboard not appearing when an input field gets focus.

Open
#149 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
135
Forks
60
Avg merge
1d 6h
Merged PRs (30d)
5

Description

# Bug Report

## Problem
I made a fresh cordova app with only a header and an input field in the index.html. I add electron as a platform (1.1.1), build and install this app on Windows 10 surface device. When the app loads the user touches the input field which gets focus (caret appears)

### What is expected to happen?
Virtual keyboard should display.

### What does actually happen?
Virtual keyboard not appearing.

## Information
If I build and run the same app to android the virtual keyboard displays as expected. There were some reports of a similar bug in chromium which seem to have been fixed late last year (November). Not 100% sure if that would cause this issue. Has anyone witnessed this issue? Is it expected that 2.0.0 (which uses electron 8.2.5) would resolve this? If so is there any idea on 2.0.0 release date? Otherwise is there any suggested workaround?

### Environment, Platform, Device
Windows 10 Surface. (Windows 10 Pro (4) - 10.0.18362)

### Version information
Cordova: 9.0.0 (cordova-lib@9.0.1)

"cordova-common": "^3.2.0",
"electron": "^4.0.1",
"electron-builder": "^20.38.4",
"fs-extra": "^8.0.1",
"nopt": "^4.0.1",
"shelljs": "^0.5.3"

## Checklist
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a fresh Cordova app containing the index.html header and input field on a Windows 10 Surface. Compare the Electron 1.1.1 behavior with the Android build and investigate whether the referenced Chromium behavior affects the Electron platform. Done means establishing whether a supported fix or workaround makes the virtual keyboard appear when the input receives focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.