When does the touch keyboard popup? - user-interface

I'm working on a non-touch device (regular PC...) with a keyboard. I've written a Windows 8 App, which includes TextBox.
I want to launch the Touch Keyboard, when the user uses a device without a keyboard (=Tablet/Phone). How can I test it?
I.e. when I use the Visual Studio simulator for Windows 8 and choose "taps" as the gesture, the virtual touch keyboard still won't popup. Is there any specific moment where Windows is using the keyboard automatically? I'd actually like to test the Touch Keyboard to check the InputScope (i.e. InputScope="Number") and the 'look of the app', when the keyboard pops up.
If needed, my TextBox looks like this:
<TextBox InputScope="Number"/>
Edit: The keyboard pops up now (I don't know why...). I've started the simulator and used "taps" as gesture and the keyboard didn't pop up. After restarting the simulator ~5 times, it pops up now, but the InputScope is not Number...

Visual Studio 2012 comes with a Simulator that you can run your Windows 8 app in. On the right of that, you may notice buttons near the top, one that's a pointer and another that's a finger. If you use the finger, then all input will be touch input, as if there were no keyboard.

Related

Windows-10-IOT QT-C++/QML App Fullscreen Gui Frozen when monitor turns back on

ISSUE:
On a touch panel with no keyboard, my QT C++/QML app running on Windows 10 IOT has the fullscreen GUI "frozen", when the monitor turns on (after the user has triggered the touchscreen), after it has timed-out earlier and turned off due to power settings. Mouse cursor still updates.
The QML GUI has "flags: Qt.FramelessWindowHint | Qt.Window"; I do not want to add "Qt.WindowStaysOnTopHint" as it will block the control panel window when it is open from the app. The program is verified to be still running, only the GUI has frozen from the point in time when the screen turned off.
TEMPORARY RESOLUTION:
The only way to "unfreeze" the fullscreen GUI is to connect a keyboard & press the Windows key to show-hide the start menu, or do it programmatically with a manual QML button placed at a known position or on detection of monitor WM_POWERBROADCAST messages.
When the app is not fullscreen, the freezing doesn't seem to be happening.
Is this due to some missing WM_MESSAGES (e.g. WM_PAINT, WM_ACTIVATE, etc) sent by the OS to the app when it is fullscreen, or when the start menu button is pressed?
Can the app-fullscreen-freezing on monitor-turn-back-on be rectified by the app programmatically sending a sequence of WM_MESSAGES to itself, but not the Win button keypress (as the normal user is not supposed to access the OS or see anything related to the OS when the app is running)?
I tried using winAPI SetForegroundWindow() function...?
:-( Fast forward a few days...
With further testing, it seems that using SetForegroundWindow() alone is not consistent/reliable. Sometimes it works, sometimes it doesn't.
The most reliable that works 99.999% of the time is still the VK_LWIN keypress sent by the app. But, as mentioned before, the app user is not supposed to see the start-menu appearing then disappearing. Best if the behavior of the VK_LWIN keypress could be duplicated to the app without seeing the start-menu...

xamarin forms UWP tablet app windows 10 clicking on 2nd textbox closes keyboard

We are doing User acceptance testing on a Xamarin Forms UWP app targeting windows 10 tablet. We are finding that when the user clicks on a textbox to enter data the soft keyboard appears as expected. However, when the user then clicks into the next textbox to enter a second required piece of data, the soft keyboard hides/closes. This results in the user having to double hit the second textbox (and any more than might need to be filled). The first click hides the keyboard, the second then causes the keyboard to reappear. To say the least this is not a good user experience. I'm guessing maybe the focus of the second is firing before the lost focus of the first? Has anyone else observed this behavior and is there any easy fix? As may want to target both Android and Windows I'm hoping for a simple solution but maybe UWP just does has some problems?

Does on screen keyboard of Windows 10 works with JavaFX TextFields?

I will be developing a JavaFX app for Windows 10. Does anyone know whether a JavaFX TextField on focus can trigger Windows 10 to show up its on screen keyboard?
Your experience is much appreciated!
JavaFX knows how to notify the on-screen touch keyboard HOWEVER we did not find a way to open a specific keyboard type according to the textfield value type.
Other than that assume that the keyboard will always hide the buttom 1/3 part of your app - so that IF you need that real-estate to be active when user types input in - it can't be done.
we are only able to use default layout - see Touch keyboard index on https://msdn.microsoft.com/en-us/library/windows/apps/mt280229.aspx
A follow up on changing they keyboard layout is here:Set numeric layout for windows onscreen keyboard programmatically

How to simulate pressing the Android menu button in ARC

I'm using ARC Welder to test an APK in Chrome (on Windows). It works mostly fine but the app uses an old-style Android menu, opened by either pressing the hardware button on old devices, or touching the "3 vertical dots" soft button on newer ones.
However the ARC window doesn't use a menu button nor does there seem to be a keyboard shortcut to open the menu (not that I could find anyway).
Any ideas?
(Note: I know Google has more or less depricated there old style Android menus. But this is in an old APK).
ARC does not provide a way of simulating an Android menu button. We have thought about providing a button in the window frame, like we do for the back button, but we have not moved forward with it. Feel free to star the bug for it
Ctrl+Windows+Esc (Win key is to prevent Windows opening the Start menu):
https://github.com/vladikoff/chromeos-apk#tested-apps
Right Alt should work as well but most keyboards lack that key.
https://bugs.chromium.org/p/chromium/issues/detail?id=290361#c9

How to program a toolbar on top of windows phone keyboard?

I'd like to add a "hide button" each time the keyboard shows up so that user can see all the screen when he needs to.
In iPhone this toolbar exists, is it possible to do the same for windows phone anyhow ?
You cannot change the default keyboard. Still here is a tutorial to create a custom keyboard on Windows Phone 7.

Resources