-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertices don't connect in build screen #141
Comments
@samreid this is certainly a consequence of the rule you stated in #128 (comment). In all of these videos, if the wires that are placed in Investigate are instead rotated to be "inside" the black box, then all connections work correctly. To demonstrate: |
The problem was introduced in #136, which says that a vertex may not connect to another vertex if it has any connected vertices outside of the black box. Perhaps this should be refined to say that it is OK for a vertex to be outside of the black box if it is not attachable. |
Fixed as described in the preceding comment, ready for testing in next version. |
Testing issue linked above. |
@samreid not quite. If two components placed in "Build" have one vertex outside of the box, no more connections can be made: |
@arouinfar can I get your guidance on this issue? The rule is that in "Build Circuit" mode, a connection cannot be made while any connected vertices are outside of the black box. For instance: Can you please advise how to proceed? |
Upon reflection, perhaps we should restrict the search to "translating vertices" instead of "connected vertices", that may address this sufficiently. I'll reassign to myself for investigation. |
The preceding comment seems like a good compromise: @arouinfar and @phet-steele sound OK? |
Looks good to me. I won't close just yet in case @phet-steele or @arouinfar have anything else to add. |
Looks good to me @samreid. |
Yup, this is good, Nice idea @samreid! |
For phetsims/tasks#617 and #140
Test device: Bates
Operating System: Windows 7
Browser: Chrome
Problem description: Component vertices in build mode will not connect to each other under certain circumstances. It seems to only happen when there is something connected to the box's vertex from investigate mode. Then when you connect a component to the box vertex and then try to connect it to something else, more than likely, it will not connect and deflect away. New components dragged in seem to be able to connect normally, but trying to connect to anything that was already in the box does not work.
Possible this is related to something fixed from #128 or #136.
Steps to reproduce: In Investigate, connect anything to the box vertices. Then in Build, connect components to the vertices and try to connect them to other components or box vertices.
Severity: high
Screenshots:
Troubleshooting information (do not edit):
Name: Circuit Construction Kit: Black Box
URL: http://www.colorado.edu/physics/phet/dev/html/circuit-construction-kit-black-box/1.0.0-dev.17/circuit-construction-kit-black-box_en.html
Version: 1.0.0-dev.17 2016-06-20 19:15:41 UTC
Features missing: touch
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Language: en-US
Window: 1366x623
Pixel Ratio: 1/1
WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium)
GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor: WebKit (WebKit WebGL)
Vertex: attribs: 16 varying: 10 uniform: 253
Texture: size: 8192 imageUnits: 16 (vertex: 4, combined: 20)
Max viewport: 4096x4096
OES_texture_float: true
Dependencies JSON: {"assert":{"sha":"7d27130a","branch":"master"},"axon":{"sha":"b71cc337","branch":"master"},"babel":{"sha":"047295f6","branch":"master"},"brand":{"sha":"f0b1f7da","branch":"master"},"chipper":{"sha":"e044eccd","branch":"master"},"circuit-construction-kit":{"sha":"34780a85","branch":"master"},"circuit-construction-kit-black-box":{"sha":"88cbfaf4","branch":"master"},"dot":{"sha":"551f726f","branch":"master"},"joist":{"sha":"a42bced7","branch":"master"},"kite":{"sha":"dce9765e","branch":"master"},"phet-core":{"sha":"c48bf320","branch":"master"},"phetcommon":{"sha":"35ef94ad","branch":"master"},"scenery":{"sha":"4476eb95","branch":"master"},"scenery-phet":{"sha":"52b783d9","branch":"master"},"sherpa":{"sha":"77506dc3","branch":"master"},"sun":{"sha":"0d7e743b","branch":"master"},"tandem":{"sha":"b3c68afa","branch":"master"}}
The text was updated successfully, but these errors were encountered: