text variable with only spaces bug

Bugs will be moved here once resolved.

Post » Tue Feb 21, 2017 3:06 pm

Problem Description
If a text variable has only spaces and you save the project and open it later the spaces will be gone.

Attach a Capx
https://dl.dropboxusercontent.com/u/542 ... s_bug.capx

Description of Capx
The capx displays a variable containing four spaces and a string literal with four spaces. Both with quotes around them to see.

Steps to Reproduce Bug
  • Add a text variable and add some spaces to the initial value.
  • Save and close the project.
  • Re-open the project and the initial value will now be nothing.

Observed Result
The spaces in the initial value are gone upon reloading the project.

Expected Result
That the spaces would still be there

Affected Browsers
  • Chrome: YES
  • FireFox: n/a
  • Internet Explorer: n/a

Operating System and Service Pack
windows 10

Construct 2 Version ID
r242
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Wed Feb 22, 2017 2:55 pm

Thanks, should be fixed for the next build.
Scirra Founder
B
395
S
232
G
88
Posts: 24,367
Reputation: 193,744


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests