Use this template to make awesome bug reports:
Your username: NTh3R
What kind of device are you using?: iPad 6th gen, iPadOS 15.5.thing
1 sentence description of the problem (I was doing _________, and then __________ happened): I was coding.
Steps that the Hopscotch team can take to reproduce my problem every time:
- Create a custom rule
- Add a magenta rule
I expected this to happen: No
When Object Is Cloned
But instead this happened: Yes
When Object Is cloned
Here’s a sweet screenshot:
Outside of the custom rule — no `When Object is Cloned` rule
Inside the custom rule block — `When Object is Cloned` appears for no reason
- Found a similar topic, but the bug isn’t appearing in the same place. So no “sbyp” posts in this topic.
- I didn’t use clones in my object, so no “Is there a
Create a Clone block in your code?” posts in this topic.
- Please do not say “Weird, first post”. I added a poll for you.
Hmmmmm I don’t really know why that happens?
I don’t know what this sounds to you,
But the custom rule is available to every object in the game.
So it must have a ‘When object is cloned’ to suit if there is a cloned object in other objects
but its not supposed to appear unless there are clones being created in the object
also random but for some reason i was expecting a poem after reading the first sentence lol
This is intentional. When editing a custom rule, Hopscotch doesn’t identify which objects are using it right away. Since other objects could have rules or even other custom rules that use create a clone, it makes sense to always show “When cloned” inside custom rules.
Sure, Hopscotch could make a way to scan all objects that the custom rule exists in, then scan all of those custom rules, but I think it would be more of a frustrating user experience that way when I just want to create a custom rule with when cloned in it.
Aside from this topic, I would almost rather have it so that When cloned always shows up, regardless of where it is
^^ yes please, before I knew how when cloned worked I got super confused cause an extra when showed up when I used the clone block and it always threw me for a loop