Octoprint-Cancelobject icon indicating copy to clipboard operation
Octoprint-Cancelobject copied to clipboard

Objects are not canceled

Open Revilote opened this issue 2 years ago • 20 comments

Hello, When i click "cancel" the button disappears for a moment, then apperas below the objects name and then appears at the normal position again. The object is not deleted and will still be printed.. What do i do wrong?

I am using Prusaslicer with a clone MK3S. Rasperry Pi 3B with newest Octoprint.

The Picture is when the button is pushed. Button pushed

Revilote avatar Mar 09 '22 09:03 Revilote

Do you get a confirmation window when you click cancel?

paukstelis avatar Mar 09 '22 14:03 paukstelis

No. Nothing happens except the short buttons position change.

Revilote avatar Mar 09 '22 21:03 Revilote

Perhaps it is an incompatible plugin. What version of OctoPrint do you have installed and what plugins are you using?

paukstelis avatar Mar 09 '22 23:03 paukstelis

I'm using version 1.7.3. Plugins are those in the picture: plugins

Revilote avatar Mar 10 '22 07:03 Revilote

Please post contents of plugin_cancelobject_cancelobject.log, octoprint.log (after you attempt to cancel), and any errors that appear in your web browser console after trying to cancel.

paukstelis avatar Mar 10 '22 13:03 paukstelis

Okay. I found it. Log Cancel objects

Revilote avatar Mar 17 '22 15:03 Revilote

Just based on this, it looks like it is being caused by extra/unicode characters in object names.

paukstelis avatar Apr 04 '22 15:04 paukstelis

So what can i do to solve this problem? It´s not just this file, but all my files. The names are given by prusaslicer.

Revilote avatar Apr 04 '22 17:04 Revilote

I have the same issue. Tried to do it two different times and no confirmation ever pops up. The cancel button moves below the name of the object and then back to the side.

Aron3DP avatar Jul 27 '22 17:07 Aron3DP

Provide your gcode file and a list of plugins you are using.

paukstelis avatar Jul 27 '22 17:07 paukstelis

Here is the gcode file and a screen of all the plugins used. electronics-set_0.2mm_240C_PETG_MINI_5h49m.zip

Aron3DP avatar Jul 27 '22 17:07 Aron3DP

It works fine for me, even with all the plugins installed (with the exception of OctoLapse). Perhaps there is some incompatibility with the display properties in the browser.

When you click the cancel button, can you open up the development tools/inspectr in the browser (typically ctrl+shift+I) and see if there is anything that looks like this? Or if there are errors in the console? image

paukstelis avatar Jul 27 '22 18:07 paukstelis

What theme are you using for UI customizer?

paukstelis avatar Jul 27 '22 18:07 paukstelis

I'll check the other when I am home later and can test. But Theme is the Prusa Tribute theme or what ever it's called.

Aron3DP avatar Jul 27 '22 18:07 Aron3DP

That theme is the problem. As soon as I switched to that I see the same behavior.

paukstelis avatar Jul 27 '22 18:07 paukstelis

I would have never thought to check that. It did seem like a UI issue with how the cancel button would move under the object name and back.

Aron3DP avatar Jul 27 '22 18:07 Aron3DP

The theme overwrites the CSS for the button padding, which moves the button. A work-around to still use the theme is to to click and hold, then move the cursor to the button position and release. I will see if there is anything that I can do on my side, but I think it might have to be adjusted in the theme.

paukstelis avatar Jul 27 '22 18:07 paukstelis

Alright thank you. I could use another theme as well in the mean time. What theme for sure works? I am not really tied to the theme.

Aron3DP avatar Jul 27 '22 18:07 Aron3DP

That's the only one that I have seen that has a problem, though I did not go through and try them all. An additional alternative is that you can cancel objects in the gcode viewer as well. Just click refresh objects after each has done a bit of printing and you will see orange dots corresponding to each object.

paukstelis avatar Jul 27 '22 18:07 paukstelis

Ok, will do. Thanks for the fast replies.

Aron3DP avatar Jul 27 '22 18:07 Aron3DP