NoSave-Pin break

Bugs will be moved here once resolved.

Post » Fri Jul 10, 2015 8:06 pm

Problem Description
Using the Pin behavior with NoSave behavior causes the pin to break connection when a load is performed.

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

Description of Capx
Two objects with NoSave behavior, one of the objects is pinned to the other on start of layout. Pressing L breaks the pin.

Observed Result
On load, the pin breaks

Expected Result
The existing pin should be unaffected by the load event

Operating System and Service Pack
Windows 8.1 Update

Construct 2 Version ID
Release 206
B
5
S
1
Posts: 10
Reputation: 293

Post » Fri Jul 10, 2015 10:13 pm

I think that this is to be expected, since the NoSave behavior prevents the object's state from being saved, as described in the manual.
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,206
Reputation: 43,834

Post » Sat Jul 11, 2015 4:48 am

Colludium wrote:I think that this is to be expected, since the NoSave behavior prevents the object's state from being saved, as described in the manual.

The bug is it seems to act as if there was a pin saved and loads the default state over the top instead of ignoring it which is the proper action for every other plugin and behavior. All the properties are intact post load except for the pin - the only solution is to explicitly re-pin everything on load complete which defeats the point of nosave.
B
5
S
1
Posts: 10
Reputation: 293

Post » Sat Jul 11, 2015 1:46 pm

Aha - I see what you mean now - apologies! I think you're right :).
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,206
Reputation: 43,834

Post » Wed Jul 15, 2015 1:39 pm

Thanks, should be fixed in the next build.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762


Return to Closed bugs

Who is online

Users browsing this forum: Google [Bot] and 2 guests