Suggestion: Show related events when deleteing

Discussion and feedback on Construct 2

Post » Mon Feb 25, 2013 12:47 pm

Hi Ashely,

I have a suggestion:
At the moment, when deleting sprite, behavior or variable, C2 will warn about "all related behavior and events will be removed". But it doesn't show message about which events will be removed. I think it will be very handy if the message shows the details, since its pretty hard for user to remember which events will be related after diving into the project too much.
B
14
S
2
G
1
Posts: 94
Reputation: 2,089

Post » Mon Feb 25, 2013 12:52 pm

I support that
Image
B
42
S
11
G
5
Posts: 269
Reputation: 10,790

Post » Mon Feb 25, 2013 2:23 pm

How could this information be presented in a useful way? If you just show a list of line numbers or something, I don't see how it would be much use. However perhaps a 'find references' type feature would be useful (and for other purposes, not just this)
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Mon Feb 25, 2013 2:53 pm

Thanks Ashley.
Not just line number, but also the actual event?
The information will remind designer where the object or behavior has been used so he don't lost some important work by accident.
But you are right it's better if this come with a Find or Goto button:)
B
14
S
2
G
1
Posts: 94
Reputation: 2,089

Post » Mon Feb 25, 2013 4:02 pm

I would like it if it would show the message only if there's something that's going to be deleted, and perhaps mention how many things would be deleted, like "This is used 2 times in the project's event sheets. Are you sure you want to delete?" Even just a number of times it's used would be enough in my opinion.

That way if no message comes up, the user knows nothing is lost. I would really like this, as I always feel nervous deleting stuff when that message comes up.Arima2013-02-25 16:05:53
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Mon Feb 25, 2013 5:07 pm

I support this, whether it's finding references or something else!
On a related note, it would be handy to have a display of the number of lines/actions in addition to the number of events, so you may eventually check if the number stays unchanged after you delete something
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Mon Feb 25, 2013 6:50 pm

I like this as well. I sometimes have object in my event sheet that no longer do anything, but I'm afraid to delete them because it might break something.

A general search would be helpful, and when an object is deleted, if that search was done within the confirmation message, it would work well (like what Ashley has suggested)

"This object is is used:
Event Sheet XYZ, Row 103
Event Sheet XYZ, Row 104
Event Sheet XYZ, Row 298
Event Sheet ABC, Row 10
Are you sure you want to delete?"

B
51
S
13
G
8
Posts: 194
Reputation: 7,311

Post » Mon Feb 25, 2013 9:15 pm

What if it's used in hundreds of places though? It would go way off the screen.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests