knutwurst / Marlin-2-0-x-Anycubic-i3-MEGA-S

Marlin 2.0.x Version for Anycubic i3 MEGA M/S/P/X/CHIRON and 4MAX with Anycubic TFT or the "new" DGUS Clone TFT - Now also with BLTouch!
GNU General Public License v3.0
782 stars 183 forks source link

[BUG] "Print Completed" not poping up after print has finished #514

Open phenolplus opened 7 months ago

phenolplus commented 7 months ago

Bug Description

When a print is complete, a popup showing "Print Completed [time] ... [OK]" would come up. Some times it doesn't. The printer will be stuck in printing mode, showing progress 100%. Because of this, you cannot move axes, filament, or start another print. If you click [Pause], the printer errors out. (failed to get response from pause command) If you click [stop], the pop up appears and the print is completed.

Note: The g-code file is indeed complete because the last line was executed (M104 S0). I notice this only happens on consecutive prints. It never happens on a first print after power on.

Steps to Reproduce

  1. Print from SD card from root folder.
  2. Start a print.
  3. Wait till it completes. Then start another print
  4. Wait till it finishes at 100% and stop.

Expected behavior: [What you expect to happen] The print finishes and a popup occurs in the screen.

Actual behavior: [What actually happens] The print stays at 100% progress. The printer does not respond to [pause] button.

Additional Information

This can be tested with single line g-code file. It never happens on first print after power up. However, sometimes it doesn't happen on a second print either.

Machine: stock i3 mega-s Firmware: MEGA_S_v1.5.2.hex (prebuilt release)

potatobarry commented 6 months ago

Could reproduce, same Firmware, same Printer.

knutwurst commented 6 months ago

That's indeed a bug. I'll take a look. Thanks for reporting!