Ajax plugin with Group!! doesn't work properly on Windows Ph

Bugs will be moved here once resolved.

Post » Wed Mar 19, 2014 4:18 pm

Ajax plugin with Group!! doesn't work properly on Windows Phone 8 simulator (or IE)

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/186 ... r164-2.zip (bug_report_20140315_r164-2_2_ajax+group_bug.capx)

Steps to reproduce:
1. Create a new project.
2. Add Ajax plugin
3. Add event: On "" completed
4. Add action: Browser.Alert "completed"
5. Add action: Browser.Alert "message1: repeated forever when Group exists"
6. Add action: Browser.Alert "message2"
7. Add Group
7. Add Button plugin
8. Add event: On clicked
9. Add action: AJAX.Request level001.json
10. Export project-Windows Phone 8 (or Run layout with Preview browser=Internet Explorer)
11. Test the project on Windows Phone 8 simulator (or Run layout with Preview browser=Internet Explorer)
12. Click Button

Observed result:
If click the button, show "message1: repeated forever when Group exists" alert forever.

Expected result:
Alert "completed"
Alert "message1: repeated forever when Group exists"
Alert "message2"

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

Operating system & service pack:
Windows8.1
Microsoft Visual Studio Express 2012 for Windows Phone
IE 11

Construct 2 version:
R164-2

===============================================

bug fix in event sheet
=> put "System.Wait 0.1 seconds" at AJAX.On "" completed's first line when IE (windowsphone8)

see bug_report_20140315_r164-2_3_ajax+group_bug fix in event sheet.capx
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Wed Mar 19, 2014 8:40 pm

Are you sure this is not caused by the 'alert' action? Some browsers have bugs with the focus of the window. Can you reproduce it without using 'alert'?
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Thu Mar 20, 2014 1:23 am

it wasn't c2 bug
it was caused by the 'alert' action
thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests