Samsung Smart TV IME destroy - ime

I have a problem with Samsung Smart TV IME.
When it is shown, INPUT has focus. In 2012 and 2013 $(input).blur() works fine to destroy IME. But in 2011 its only hides IME keyboard and when you press down or up IME shows again.
Keys handled to scene, not to anchor, so I can`t focus other element.
How correctly blur input for 2011 devices??

try this:
inputElement.blur();
document.body.focus();

Related

How do control buttons know they've been clicked?

I have written an application in c++ visual studio 6 that looks for the WM_LBUTTONDOWN message to carry out a certain task. This works fine except when using a touchscreen. The Wm_lbuttondown or any other button message is not sent when the screen is touched. However, the control buttons still operate normally, so they know they are being clicked. I would like to know how the buttons detect the touch. I would like to detect when the screen is touched in a similar way to how I detect a mouse click. Is there a different WM I can use other than WM_LBUTTONDOWN?
My old version of visual studio doesn't seem to recognise WM_TOUCH so I haven't been able to try that.

Custom Keyboard for iPhone X inputView.frame size

I have my custom keyboard that's fine with all iPhones except iPhone X. In my custom keyboard i create UI with XIB file and i am not using Autolayout. Here is how i add my keyboard view in Keyboard Extension.
self.myKeyX.frame = self.inputView.frame;
[self.inputView addSubview:self.myKeyX];
However my keyboard show only in black Area and not showing full keyboard place. Please see in photo. How can i solve it? Thank you.
Here is photo
Following is working for me, on iPhone X
xib need to tick "Use safe-area Layout Guides"
add constraints to safe-area guides

Virtual keyboard not showing in iOS simulator VS Mac

The virtual keyboard in the simulator is not showing when I focus on a text field.
It showed the first time I clicked inside the text field but subsequent clicks in the text field do not bring up the virtual keyboard.
This is happening for the IPhone 6 to iPhone X simulators.
I'm using Visual Studio Mac.
It would appear the simulator detected my Macs keyboard, so it no longer shows the virtual keyboard.
How can I fix this so that the virtual keyboard shows whenever I interact with a control that accepts text input.
Solution
In the top menu bar of the simulator I had to turn "Connect Hardware Keyboard" off.
I got there by going to Hardware -> Keyboard -> Connect Hardware Keyboard

Tizen's virtual IME keyboard disappears

I import an EnyoJS project for WebOS platform into Tizen Studio, then I ran it in a Samsung TV and there is this little problem:
When I click on a text field the virtual keyboard shows up in the TV screen, then if I click on a letter the keyboard goes down.. The letter does appear in the text field but I have to press on it again to make the keyboard shows up and press on the next letter. So I have to repeat this over and over just to write a whole word
How to fix this?
UPDATE 1:
It seems like it only happens with the Input kind component. I have some other panels with TextArea component and the keyboard works fine.

How can I disable Chrome opening the Windows on-screen keyboard when debugging as iPad?

When I open the Chrome debug view and set the device to "iPad Mini" to simulate its screen size (and touch events), interacting with a text input causes the Windows on-screen keyboard to open.
This computer is not a tablet, and has never had a touch screen. In the Windows Ease of Access -> Keyboard settings Turns on the On-Screen Keyboard is off.
I can only assume that Chrome "simulating" an iPad Mini is causing Windows to think there's a touchscreen. I've been using this feature for a few months now, and the keyboard opening only started happening recently. I may have simply flipped a switch in the settings (of Chrome or Windows) on accident. If that's the case, I'd like to know how to flip it back!
This is frustrating because I have to close the keyboard each time as it covers up a large portion of the web-app.
The same page without the "iPad Mini" simulation does not open the keyboard:
(This keyboard also opens when choosing any device that has a touch screen, not just iPad Mini.)
Chrome doesn't emulate the keyboards of the device profiles you pick. An image of a keyboard will show for certain ones, like the iPhone 5X, but it is non-functional and is just present to allow you to see how the various elements on the page respond to the keyboard. You can see my answer here for more details on viewing that. However, this is not the same keyboard you are seeing.
It looks as though there is something in Windows, which is triggering the on-screen keyboard. I'm not sure why it would still appear if you have it disabled, but you could try a couple of things, based on what I've found online:
Make sure 'Touch Keyboard and Handwriting Panel Service' is set to disabled in Services (services.msc)
SetLOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\ ShowTabletKeyboard from value 1 to 0 (regedit.exe)
Check there is no other 3rd party software running, which may affect your keyboard behaviour.

Resources