Closed dmeagor closed 4 years ago
I cannot reproduce this glitch. It's expected when an item from the history is selected but it works well when I type a command and then press enter.
How can you reproduce that?
I've been experiencing this as well and haven't worked out steps to reproduce consistently at this point. My experience has been that it generally affects the "quick" command line at the top of the UI; I can't recall running into it on the console pane, personally. Thinking on it, it is possible that it's happening on commands I've run previously (and thus would be populating the auto complete) but haven't explicitly selected an autocomplete option - i.e., commands that are in the history but were manually typed in. I'll check to see if I can reproduce when I'm near my printer again.
I'll also do some asking around on the Railcore discord, it's been a subject of some discussion there recently.
I was able to reproduce this using the following steps:
How I am able to work around this issue: Enter the command at the top (in this example M119) and click the SEND button instead of pressing enter. I can click this button and it will consistently show the result without any delay.
What I see happen: On steps 2& 5 pollConnector.js sends a rr_gcode GET request which returns 200 with the response body of {"buff": 250}. Shortly after rr_reply comes back with response we are looking for and it's displayed in the UI.
On step 4 pollConnector.js sends a rr_gcode GET request which returns 200 with the response body of {"buff": 250}. Shortly after rr_reply comes back with response we are looking for and it's not displayed in the UI.
When I click in the quick code box to type I can see the auto-completion twistie move up, and then back down when I press enter, even though I've disabled this feature. I believe it's related.
After I wrote all of this up, I went back and tried it again, and without fail I could not reproduce it and it worked every time by pressing enter. I power cycled the printer and it's still functioning properly now. I am wondering if clicking on the SEND button somehow reset a DOM event chain that stopped this from happening now.
Configuration Points:
Thanks for the details. When I tried it first, I was unable to reproduce it - it simply worked every time. But I am using a older hack to hide the auto-complete list so maybe it creates occasional glitches. I'll try to develop another work-around.
Should be fixed in v3.2 If the problem persists, feel free to create a new issue.
I think this is a glitch in the intellicode, confused me initially when tuning the heaters and so on.