2021年4月29日星期四

Control Visibility of Gnome-3 On Screen Keyboard in Electron App

I'm working on an Electron application that is intended to run on a panel touchscreen computer running Debian. I have enabled the on-screen keyboard board in desktop settings and can see it come up in other applications (such as terminal). However, the on screen keyboard does not come up inside of my electron app when a text input gains focus. I have read that this might be some sort of weirdness with Chromium (see https://askubuntu.com/questions/939616/why-the-onboard-on-screen-keyboard-doesnt-auto-show-in-google-chrome) but have unable to find any workarounds. I suppose that my question is in two parts: 1 - is there anything that I can do to get Electron to play nicely with the gnome 3 built in keyboard? 2 - is there any program that I can call that would show and/ or hide the on-screen keyboard?

The OS that I am targeting is Debian version 10.3 with the Gnome desktop.

https://stackoverflow.com/questions/67327242/control-visibility-of-gnome-3-on-screen-keyboard-in-electron-app April 30, 2021 at 09:57AM

没有评论:

发表评论