microsoft / WindowsAppSDK

The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
https://docs.microsoft.com/windows/apps/windows-app-sdk/
MIT License
3.79k stars 320 forks source link

On-Screen keyboard not showing #2151

Open byrialsen opened 2 years ago

byrialsen commented 2 years ago

Describe the bug

I have created a windowsappsdk / MSIX app and I have serious problems with on-screen keyboard running on a new Surface Go 2 Tablet with 100% updated Windows 10.

Scenario 1 Running in tablet mode when I touch/hit a textbox the onscreen keyboard will not appear automatically. If I manually show the taskbar, hit the keyboard icon in the system tray the on-screen keyboard shows but hides again immediately.

Scenario 2 Running in normal mode the same thing happens except that when the on-screen keyboard is activated from system tray icon, the app/textbox looses focus and when focus is set back to my app/textbox by touching the app, then the on-screen keyboard will disappears.

Has anyone experienced similar.

Steps to reproduce the bug

No additional info

Expected behavior

Textbox focus with touch should show the on-screen keyboard.

Screenshots

No response

NuGet package version

1.0.0

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 20H2 (19042, October 2020 Update)

IDE

Visual Studio 2022

Additional context

No response

byrialsen commented 2 years ago

Hi.

I really hope someone has an idea what the problem. Is is really correct that touch input on-screen keyboard is not working 🙃🙃

I have added a simple repo here: https://github.com/byrialsen/OnScreenKeyboard

I tried it on another surface with different hardward/Windows version. Same result = Not working

riverar commented 2 years ago

Dupe of microsoft/microsoft-ui-xaml#6291, known broken I'm afraid.

byrialsen commented 2 years ago

@riverar. Thanks for the feedback but I am quite sure it was working for me with WindowsAppSdk 1.0.0 some time ago. But now it seems broken like described. Hmm not good as my customer specific app should go in production in a few days🙈.