Scratch-gui: () contains () Bug

Created on 10 Nov 2017  路  13Comments  路  Source: LLK/scratch-gui

Expected Behavior

The () contains () block was supposed to report true if a variable contains "world". The variable's value was "hello world".

Actual Behavior

Apparently, the script didn't do anything. I had a stage monitor on, and if the variable ran true, it would set the variable to 0 and start adding 1 forever,

Steps to Reproduce

First, get a "When green flag clicked block" and connect it with a "set (TEST) to (hello world)" block.
(You have to create a variable, I used TEST)
Then, get a "if else" statement, and use "<(TEST) contains (world)>" on it.
In the first space, put the following:
set (TEST) to (0)
forever {
change (TEST) by (1)
}
In the else slot, put this.
set (TEST) to [FAIL]

Operating System and Browser

x64 Bit Windows 10 Home Build 15063.674
Microsoft Edge 40.15063.674.0

Notes

  • I had to dig around to find the OS Stats.
  • If I had an option to upload the document I would include it, but I'm doing a picture.

Media

capture
The Script

bug edge help wanted

All 13 comments

That script worked for me on Windows 8 Chrome 62. This might specifically be an Edge issue...

I'm getting the correct result too:

foo contains world

64-bit Win10 and Chrome, I think it probably is an Edge issue but I can't get Edge to work right now

On windows 10, edge 40.15063.0.0 I get the error:
image

Weird! I cannot reproduce this with Edge 25.10586.672.0. I realize that that's a waaay earlier version of edge, so I wonder what changed that broke this.
I also noticed several other issues that are Edge 25-specific, but they probably won't be resolved since Edge 25 is oooooold

Ok, so let's put our thoughts together:

  • So far, Chrome is working. Let's test it with Edge.
  • Question: Kenny2GitHub, you are running a waaay earlier version of Edge, as you previously stated. Can you update and reply to me to see what version you are using (preferably the latest version) so I can tell thisandagain?
  • Another Question: SillyInventer. how did you get that error?
  • mrjacobbloom, try restarting your OS, and defragging your hard drive. If all else fails, lemme know.

If there's anything I missed, just tell me, and I will make a new set of notes.
EDIT: I just realized I could edit comments xD

@Grinthy I can't update edge :( anything Windows Store-related is broken on here, so Settings doesn't work and I can't run Windows Update.

OOH! I have a suggestion.

@Kenny2github Could you use a VM to recreate the conditions that I described?
I thought WinUpdate was a desktop, but that was in Win7 I guess.

@Grinthy I don't have a VM, and I can't install one 馃槩 it also seems like too much of a pain, so I think we can just wait for someone else to repro this on Edge

@Kenny2github Ok, I'm sorry about that. Now, it the patience game. Ohhhh man.

Yes, Same Thing.

@redmangospros Can you elaborate?
Elaborate means provide more detail.

?

Hello?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rschamp picture rschamp  路  3Comments

ntlrsk picture ntlrsk  路  3Comments

davidaylaian picture davidaylaian  路  4Comments

thisandagain picture thisandagain  路  3Comments

TaiAurori picture TaiAurori  路  3Comments