Disable on-screen keyboard if there is physical keyboard connected
Affected version
- Fedora 36
- GNOME 42
- Xorg
Bug summary
I’m using desktop with dual screen, and one of it is a touch monitor. The desktop has a keyboard with trackpoint attached to it. GNOME thinks that OSK should be displayed even with keyboard attached, unlike in 2-in-1 laptop such as thinkpad yoga where OSK is only displayed when keyboard+trackpoint are disabled in tablet mode. To make things worse, the OSK sometimes appear on the main screen that does not have touch, creating a very frustrating workflow.
Steps to reproduce
Own a dual screen desktop where one screen is touch screen. Have a physical keyboard and mouse connected. Launch text editor, touch writing area to trigger OSK.
What happened
OSK pops up.
occassionally, OSK pops up at the wrong monitor
What did you expect to happen
No OSK pops up, considering there is a physical keyboard and mouse connected.
Alternatively, having an option to disable OSK in dconf or some config file is good enough for me.