Possible Bug in Web Interface 1.22.5 Displaying Message Box
-
I keep getting the following message and it seems to be an error related to displaying a modal inside of a web browser. Tried in the latest Firefox and Safari as that's what I had to test with.
T0 M702 Error: M291: Attempt to create a message box that cannot be dismissed
System Information
Firmware: 2.02RC5(RTOS) (2018-11-28b1)
WiFi Server: 1.21
Web Interface: 1.22.5 -
What M291 command are you using?
-
M291 P"Please wait while the nozzle is being heated up" R"Loading PETG" S0 T0 ; Display message
Based off of sample code to set up filament scripts. Used to work in firmware 2.0.1 and web interface 1.22.3. I'm going to play around with modes and also see if setting a timeout works.
-
@ctilley79 said in Possible Bug in Web Interface 1.22.5 Displaying Message Box:
M291 P"Please wait while the nozzle is being heated up" R"Loading PETG" S0 T0 ; Display message
Based off of sample code to set up filament scripts. Used to work in firmware 2.0.1 and web interface 1.22.3. I'm going to play around with modes and also see if setting a timeout works.
S0 = no buttons displayed, so you can't close the message box.
T0 = no timeout, so the message box will be displayed forever. As you can't close it either, the message box will last forever and the user interface won't be usable.Hence the firmware doesn't allow you to use the combination S0 T0.
-
I've edited https://duet3d.dozuki.com/Wiki/Filaments to remove the instances of M291 S0 T0 in the code examples.
-
@dc42 sounds good. I guess the default behavior should work if I drop the T parameter. According to the Duet gcode docs, T defaults to 10 seconds for modes S0 and S1. I’m out of town and will test when I get back.