I need help to fix a bug in my c# WPF application with the visual keyboard.
Context: The application is launch in fullscreen on a tablet with Windows 10 fully updated and in tablet mode.
Problem: When I click on a textbox, the keyboard open (as expected) but it close immediatly (it open just enough time to see it, like it flicker). When I click a second time on the textbox, the keyboard open as expected.
What I tried (non-exhaustive list) :
- I "tracked" the focus item, but my textbox didn't loose the focus.
- I tried with an other tablet (first one is a chuwii, second one a surface 4)
- I tried without fullscreen mode
- I try to downgrade the framework 4.7-> 4.6 -> 4.5
After many research and desesperate try, i found similar problem like this one https://social.msdn.microsoft.com/Forums/vstudio/en-US/b9efb4eb-e0a9-4bf0-9985-57a673c42f79/wpf-application-windows-10-touch-keyboard-flickering-issue?forum=wpf But like i said changing the framework or the fullscreen mode did not fix the issue.
I also found this one https://developercommunity.visualstudio.com/content/problem/222946/wpf-application-windows-10-touch-keyboard-flickeri.html It's exactly the same problem except i don't have to clic on the button to have the bug. (he provide a test application, you can try it if you want to visualise the problem)
I'm out of options for the moment... If someone have a tip to help me :(
ps: for the moment i didn't try a third party keyboard and i hope i won't have to :) !