microsoft / pxt-ev3

Microsoft MakeCode editor for the LEGO MINDSTORMS EV3 Brick
https://makecode.mindstorms.com/
Other
55 stars 39 forks source link

Emulator view disabled when two sectors are connected back to different port from same port connection #635

Open himadali opened 6 years ago

himadali commented 6 years ago

Build: Make Code Web site (Lego Windstorms EV3 Version:0.1.4 ,Microsoft Make code version: 3.4.9) Environment: Window 10 Pro 1607 Anniversary update (OS Build: 14393) Edge Browser (v 38.14393.0.0 ), Google Chrome (v 65.0.3325.181 ),Windows 10(32 bit)( Edge(v 41.16299.248.0 Chrome(v 65.0.3325.181) Mozilla Firefox(v 59.0.1) ,Windows10 1709 Fall Creators update(Edge(v 41.16299.15.0), Chrome (v65.0.3325.181), Mozilla Firefox (v 59.0.1)),Windows10 Home Edition(Edge(v 41.16299.248.0),Chrome(v 65.0.3325.181), Mozilla Firefox (v 59.0.1)),Windows10 1703(Mozilla Firefox (v 59.0.1),Edge(v 40.15063.674.0), Chrome(v 65.0.3325.181)), Windows10 1803 Spring Creators update(Chrome(v65.0.3325.181),Edge(42.17127.1.0)),Mac 10.10(Chrome (v65.0.3325.181 )), Mac 10.11(Safari 11.1(13605.1.33.1.2)), Mac 10.12 (Safari(11.0.2(12604.4.7.1.4)), Mac 10.13 (Chrome v 65.0.3325.181),Mac 10.13 Beta(Safari (V 11.1 (13605.1.33.1.2))

Steps to reproduce:

  1. Open the website 'http://makecode.mindstroms.com/'
  2. Click on New Program
  3. Observe you are in new program canvas page
  4. Now, Drag a Color sensor with port No. 1
  5. Drag a Ultrasonic sensor with port No. 1
  6. Now Observe, 'Program Error: Multiple sensors connected to port 1' message displays
  7. Now, change the Ultrasonic sector port to 3
  8. Observe the emulator behavior

Actual: The Emulator is in disabled mode when user get backs the sector to separate ports Expected: The emulator should display all the available blocks connected to individual ports

himadali commented 6 years ago

The bug reference is in .3gp file format which is not supported here to attach. can you please suggest us the possible way to make it ?

samelhusseini commented 6 years ago

Yeah that's a bug, we somehow fail to restart after a user fixes their program.

abchatra commented 6 years ago

This bug still exists