Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

OSK On Windows

Open nlogozzo opened this issue 2 years ago • 7 comments

On Windows, if a TextBox, or whatever text input control, is selected with the finger the OSK appears and if it is clicked with a pen, the OSK appears in pen mode. This happens in all applications I've used (UWP, Win32, etc...) except for Avalonia built applications.

nlogozzo avatar Mar 01 '22 15:03 nlogozzo

OSK = On Screen Keyboard. I'm not sure everyone knows that abbreviation.

This isn't implemented yet as far as I know. It's clearly needed (and was planned for mobile) but the team hasn't had the time. Touch-based pointer support and use in Desktop were also later additions to the code base and it isn't fully polished.

Bottom line, this isn't a bug, it's a feature that needs to be implemented.

robloo avatar Mar 02 '22 02:03 robloo

We don't really need our own on screen keyboard for most backends, including mobile. We need proper IME implementations for these backends instead. On Windows and Linux we have IME implementations. On OSX, Android and Web it's functional, but not complete. iOS has the poorest text input so far from these backends.

Problem with this issue that on Windows we don't know about input type right now (remember that Pen PR wasn't yet merged). So we can't tell windows IME about expected OSK type. At least that's how I see this problem without going too deep.

maxkatz6 avatar Mar 02 '22 20:03 maxkatz6

We don't really need our own on screen keyboard for most backends, including mobile.

Yes, I think we are all only talking about popping up the platform-native keyboard when a textbox is selected by touch.

We need proper IME implementations for these backends instead.

I'm not sure IME is needed for this. It is only loosely related afaik.

robloo avatar Mar 02 '22 23:03 robloo

This became an issue for me too. I am running an Avalonia 11 app on Dell Latitude Rugged Tablet with Win 10 and the native On Screen Keyboard does not show when touching/focusing TextBox.

Is there any chance to get this fixed? Are there any workarounds to get the keyboard appear?

ohin avatar Mar 05 '24 10:03 ohin

Hi, I'm facing the same issue. Any news on this topic ? Regards

andrenoel84 avatar Apr 25 '24 12:04 andrenoel84

Priorites are as customers require them, otherwise it is done when it's done or a community member add a PR. If you need an urgent feature, consider to request paid support.

timunie avatar Apr 25 '24 12:04 timunie

We decided not to use Avalonia for a client's project because of this.

Hackmodford avatar May 14 '24 01:05 Hackmodford