Touch object and text boxes in windows phone

Bugs will be moved here once resolved.

Post » Tue Feb 18, 2014 4:46 pm

Link to .capx file (required! If link is blocked remove the http and www parts):
http://www.edfarias.com/highscore/highscore.capx

Steps to reproduce:
1. Port to windows Phone and tap on text box. The keyboard will come up.
2. Add a touch object into the .capx.
3. Re-port to Windows Phone.
4. Tap text box.

Observed result:
Keyboard doesn't come up.

Expected result:
Keyboard comes up.

Browsers affected:
Chrome: no
Firefox: no
Internet Explorer: yes

Operating system & service pack: Lumia 920

Construct 2 version: I upgraded to the latest rs last week.

I can get around this problem by setting:

on textbox touched: textbox->setfocus().

Unfortunately this is even worse, because it holds onto the 0th touch and never lets it go. Even after I call unsetfocus().
    
B
11
S
2
Posts: 68
Reputation: 982

Post » Tue Feb 18, 2014 11:54 pm

Related issue, the text font size in the text box is tiny. It doesn't conform to the css style set in Construct 2.
B
11
S
2
Posts: 68
Reputation: 982

Post » Wed Feb 19, 2014 12:07 am

I believe somewhere I read that the form controls in C2 do not work with windows phone. You especially don't need button at all as you can simply draw your sprite and add the touch/click actions to it.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Wed Feb 19, 2014 12:45 am

Once again, you are confused by my ask. Man, my English must be really bad.

The textbox works on Windows Phone. But when a touch object is added to the capx then it stops working.
B
11
S
2
Posts: 68
Reputation: 982


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest