question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Touch keyboard is not displayed properly on Windows

See original GitHub issue

Touching a TextBox does not bring up the keyboard. Touching “native” Windows text input like Notepad or similar will bring up the keyboard.

Expected behavior When I touch a textbox on a touch screen I want this keyboard to be displayed:

image

  • Avalonia
    • Version 11.0.preview4
  • Windows
    • Edition: Windows 10 Pro
    • Version: 21H2
    • OS Build: 19044.2364
    • Display Language: English
    • Keyboard Layout: Swedish / English

_Originally posted by @mgnslndh in https://github.com/AvaloniaUI/Avalonia/discussions/9974

Issue Analytics

  • State:open
  • Created 8 months ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
tobyfirthcommented, May 5, 2023

Hi,

I have been doing a little bit of research on this. From my reading of Respond to the presence of the touch keyboard it seems to imply that the touch keyboard appearance is controlled by UI Automation. The AutomationPeer classes appear to be present in Avalonia so that might not be the case then.

For the input scope to show different keyboard layouts it looks like the interfaces from Text Services Framework would need to be implemented. Using the SetInputScope function is a possibility but the documentation suggests that applications should not be using this directly and implement the interfaces instead (ITfInputScope interface).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Touch keyboard still not working
Click on the Start menu and select Settings or do a search for it and open it from there. Then head over to...
Read more >
Fix On-Screen Keyboard not working in Windows 11/10
On-Screen Keyboard not working · 1] Check Touch Keyboard Services · 2] Enable Touch Keyboard when in Tablet Mode · 3] Run System...
Read more >
Top 6 Ways to Fix On-Screen Keyboard Not Working ...
1. Enable On-Screen Keyboard · 2. Try Alternative Methods to Open On-Screen Keyboard · 3. Check if Touch Keyboard and Handwriting Panel Service...
Read more >
FIX: On-Screen Keyboard not working in Windows 10/11
Select Keyboard from the left side menu and enable it by switching on Turn on the On-Screen Keyboard option. Fix On-Screen Keyboard not...
Read more >
How to make the Microsoft Windows 10 or 11 on-screen ...
Turn ON Show the touch keyboard or handwriting panel when not in tablet mode and there's no keyboard attached. Devices. Windows 11: Select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found