Hi - developing yet another filament watching plugin. I'm using PNotify to pop a dialog warning when the print is paused by code. As below:
title: 'Print Paused',
text: 'Print paused on filament alarm',
When I do this, the dialog doesn't immediately show if the print is still in progress - Octoprint 'holds it' until the print ends or is canceled. Then all the PNotify's that were created appear. I've looked at a couple other plugins that do similar things (presumably without the same problem) and I think my code is very similar. Any thoughts?
On a related note, is there a command to pop up a similar dialog directly from the python side? Haven't run across one, but I'm pretty newbie-ish at this.
Using Octoprint 1.3.11 on Octopi and Chrome 74.0.3729.169 (Official Build) on Win 10 (64-bit).