[r152]Undo group replace bug

Bugs will be moved here once resolved.

Post » Mon Dec 16, 2013 8:15 am

Link to .capx file (required!):
https://www.dropbox.com/s/zy1v8iy9j4kn0at/UndoGroupReplaceBug.capx

Steps to reproduce:
1. Select Group "Group" in Event Sheet 1 (which will select all events)
2. Right click on the group and select replace object. (Alternatively, you can press 'r' while the group is selected)
3. Replace Sprite to Sprite2.
4. Click undo. (Alternatively, you can press ctrl+z)

Observed result:
1. Crash (Construct 2 has stopped working)
2. Condition and Action all disappear without crashing
3. https://www.dropbox.com/s/mybi9byu5gwy3sz/GroupReplaceBug.png

Expected result:
Replaced events should be undo.

Browsers affected:
Chrome: N.A
Firefox: N.A
Internet Explorer: N.A

Operating system & service pack:
Windows 7 Home Premium
SP 1
Construct 2 version:
r152 (64bit)
r154 (64bit)c4sp3r892013-12-16 11:14:52
B
17
S
8
G
4
Posts: 93
Reputation: 3,190

Post » Mon Dec 16, 2013 9:50 am

I'm using r154 and it doesn't crash for me.

Your instructions say to replace Sprite with Sprite1, although you only have Sprite and Sprite2 in the project. I assumed you meant Sprite2.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Mon Dec 16, 2013 10:50 am

Tried r154 also. Still crash.

@zenox98
did you select the whole group to replace the object? Not just the event.
B
17
S
8
G
4
Posts: 93
Reputation: 3,190

Post » Mon Dec 16, 2013 10:58 am

I select the whole Group, but to change the Sprite to Sprite2, I have to dbl click on the Action, which automatically removes the Group highlighting. So no crash.

Maybe I'm missing something or not quite understanding your instructions. Be as specific as possible, if you can - don't assume anything.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Mon Dec 16, 2013 11:13 am

I see. Sorry for the lack of information.

@zenox98
1. Select the whole group by clicking group.
2. Right click on the group and click replace object. (Alternatively, you can press 'r' while the group is being selected.
3. Replace Sprite to Sprite2.
4. Undoc4sp3r892013-12-16 11:15:38
B
17
S
8
G
4
Posts: 93
Reputation: 3,190

Post » Mon Dec 16, 2013 11:19 am

Ahhh, I see.

I followed the instructions to the letter - right mouse, change object - but still no crash.

I even tried it using the 'r' key to change it back, but still no crash.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Mon Dec 16, 2013 11:27 am

@zenox98

Sorry. I miss out the explaination for part 4.

4. Click undo. (Alternatively, you can press ctrl+z)
B
17
S
8
G
4
Posts: 93
Reputation: 3,190

Post » Mon Dec 16, 2013 12:23 pm

That did the trick :)

Confirmed - at least for us.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Tue Dec 17, 2013 2:46 pm

Thanks, good catch. Should be fixed in the next build.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests