Has cancelling gotten slower for you on 1.3.4? (Patreon)
Content
I cannot reproduce this issue myself (my prints cancel just fine). First logs hint at some delay in printer communication, possibly caused by firmware. Thing is, I'm not seeing this either. I've now prepared a test branch without cancel position logging since the commands used for that seemed to be the most likely culprit but those were in there since 1.3.0 already, so that wouldn't explain any change in behaviour between 1.3.2 and 1.3.4.
So my question to you: Have you observed anything like that as well? If so, could you provide serial.logs and information on "cancel clicked, state change observed" timings in the linked ticket? I figure that there MUST be some kind of issue here considering the amount of people who already chimed in on the ticket, but I'm completely stumped what change between 1.3.2 and 1.3.3/1.3.4 could have caused that since I didn't touch anything cancel related, and not being able to reproduce it myself certainly doesn't help either. I'm hoping that even more data points might shed some light on this.
Thanks in advance!
Update: Thanks to the help of Bryan who thankfully could reproduce the issue and managed to pin it down I was able to push a fix for the observed problems to the maintenance branch yesterday evening which will be released with 1.3.5. It turns out that a relocation of a piece of code that could take a long while if you had a lot of files in your upload folder was the culprit, because due to an oversight on my end it ended up being able to block the receiving thread for the serial connection to the printer. Meaning that OctoPrint was simply doing some stuff it shouldn't have been doing instead of listening to what the firmware might have to say ;) I hope that this was the only culprit here :D