Keyboard with type Numbers desn't fire key press "enter"

Bugs will be moved here once resolved.

Post » Thu Nov 10, 2016 12:59 pm

Problem Description
In Android when I change the type of the keyboard to "Numbers" the keyboard doesn't fire an event when "enter" key is pressed. The same keyboard with the type "Text" fires event "Enter" in Android.

Attach a Capx
https://drive.google.com/file/d/0ByR2TX ... sp=sharing

Description of Capx
Just TextBox, Text for debug print and Keyboard. There's listener that set the TextBox in focus when the game starts, and then listener of the keyboard events that appends code of the last pressed key to the debug text

Steps to Reproduce Bug
  • Open the project
  • Run the project
  • You can see the input textbox and the text "?", when you press "Enter" in the keyboard you see that "13" appends to the "?"
  • Export it for Cordova, Crosswalk, check New Intel XDK Project
  • Open the exported project in Intel XDK
  • Build the project
  • Download and install the app
  • Run the app
  • See the keyboard
  • Press the "Enter"
  • No "13" is not appended to "?"

Observed Result
No "13" is not appended to "?"

Expected Result
Like in desktop I expect that "13" will append to the "?" text. When I define the textBox as "Text" type I see "13" appends to the "?"

Affected Browsers
  • Chrome: NO)

Operating System and Service Pack
Android 6.0.1

Construct 2 Version ID
Release 239 (64-bit)
B
10
S
2
Posts: 71
Reputation: 696

Post » Mon Nov 14, 2016 5:35 pm

The keyboard object is not designed to work with mobile on-screen keyboards, unless you have a real physical keyboard attached. So closing as won't fix.
Scirra Founder
B
400
S
236
G
89
Posts: 24,549
Reputation: 195,475

Post » Tue Nov 15, 2016 8:29 am

Thank you for the answer
B
10
S
2
Posts: 71
Reputation: 696


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests