How to open a Keyboard on focus on text input? - react-native

In iOS simulator I can toggle software keyboard (⌘K) manually under Hardware main menu, and then tests pass. And I have to do it after Hardware Restart each time. But how can we make detox always open soft keyboard when an input field receives focus? Once soft keyboard is enabled it will stay enabled until next hardware restart, but tests will fail otherwise (soft keyboard won't show up on text input focus)

We've recently changed the way we do typing in Detox. Starting with Detox 13, it is no longer necessary to disconnect the hardware keyboard and show the software keyboard. Please upgrade your Detox and you should see this new behavior immediately.

Try MAYUS+CMD+K instead of CMD+K

Related

Avoid hiding software keyboard after appium perform action

I am using appium for automation testing of android application. And faced one problem:
after using new TouchAction(appiumDriver).Tap(webElement).Perform(); software keyboard always hiding. That happens only in automation mode. Manually keyboard always shown.
After some more investigation - looks like any perform action hides keyboard. I found out in internet a lot of information of how to hide software keyboard, but no information how to avoid that.
So please - do you have any ideas why OpenQA.Selenium.Interactions.Perform() action hide software keyboard and how to avoid it?

Toggle between embedded terminal and editor while keep the terminal open

I have IntelliJ IDEA 2016.3.2 on OSX.
I understand ⌥F12 allows us to toggle between embedded terminal and editor, but in this way the terminal disappears when focus moves to editor. Sometimes I'd like to switch focus from and to terminal with shortcut keys and still have the terminal opened so that I can tail logs.
My current workaround is to use both Terminal.app and IntelliJ IDEA and switch over by ⌘+Tab, but to me it's handy if I can do both in IntelliJ IDEA. Probably the embedded terminal and its use cases are designed to suite lightweight task that requires minimal attention, though.
Your problem here is that the ⌥+F12 shortcut isn't toggle focus, but toggle open. So essentially you are just opening and closing it.
After opening the terminal you should use the same command you use to switch between tabs in the editor (I believe it's ⌘+` on OSX).
Your window mode is correct though - docked mode keeps it attached to the side/bottom of the window, and pinned mode keeps it from collapsing when losing focus, so keep those set.

Disconnect from a remote JVM in IntelliJ Idea

I have connected IntelliJ to a remote JVM, and would now like to disconnect from the remote JVM without the remote JVM stopping. In Eclipse there are two buttons that explicitly stop the JVM or disconnect from the JVM, but the buttons on the debug windows in IntelliJ aren't clear. The tooltips and the online help aren't much help.
Stop (red square) - "Click this button to terminate the current process externally by means of the standard shutdown script."
Close (red X) - "Click this button to close the selected tab of the Run tool window and terminate the current process."
Rerun (green arrow around a grey square) - "Click this button to stop the current application and run it again"
I'm pretty sure it's the Stop button, but none of them makes it clear what will happen to the remote JVM.
Which button should I press to safely end the debugging session without killing the remote JVM?
Press the big red stop button (debug panel, on the left). It'll stop the debugger, not the remote process. I don't think you can use the debugger to explicitly kill the remote process -- you're only connected to the debug port and I don't think it can do things like that, unless you deliberately execute a System.exit(0) command in one of the code evaluation windows.
In my case I was looking for the red stop button which was not visible. But I found it on the left side of the debug window when hoovering over a blank section. Perhaps a bug since I am using color scheme Darcula?
Ctrl-F2 also works.

xcode 6 beta 3: keyboard doesn't show up when selecting textField

Has anyone encountered this situation?
When I was trying to run application, which was completed in Xcode6Beta, it kept showing:
2014-07-14 00:28:48.131 WeightLogger2[1866:32214] Can't find keyplane that supports type 8 for keyboard iPhone-Portrait-DecimalPad; using 2617181025_Portrait_iPhone-Simple-Pad_Default
You just need to toggle the software keyboard by selecting:
iOS Simulator -> Hardware -> Keyboard -> Toggle Software Keyboard.
Then, everything works
uncheck this option
iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard
however if you are using number pad or decimal pad then this log again will be displayed, but in simulator you can use the number pad or decimal pad. may be we need to configure our text field with the new preferred way of using keyboard with ios 8. I could not found it yet. or it may be a bug according to this
Xcode iOS 8 Keyboard types not supported
FYI, apple may rejected your app due to this. They complained that the app did no allow the user to enter input on an iPad. So you can respond that the app works fine on an actual iPad and that on a simulator all one has to due is disable external keyboard or toggle SW keyboard. They will accept this comment and allowed the app to be approved.

Disable On-Screen-Keyboard

I'm developing a Windows Store app for an embedded application where the only input device is a small touchscreen. For this reason I'm developing my own number and text entry controls that match the visual look of the application and work better on the small screen. Is it possible to prevent the Windows 8 on-screen keyboard from appearing when a textbox gets focus?
You can't, it's a user preference as of now.
Similar question is found here
From Hanselman
Unfortunately there is no checkbox or "just turn it off" way to
disable the keyboard with a supported option.
However, there is a way to effectively disable the keyboard by
stopping the service that controls it.
Press the Windows key + W Type "services," and press Enter Scroll down
to "Touch screen keyboard and handwriting panel" You can either right
click and "Stop" or you can double-click and change it from
"Automatic" startup to "Manual."