Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objects are not canceled #72

Open
Revilote opened this issue Mar 9, 2022 · 20 comments
Open

Objects are not canceled #72

Revilote opened this issue Mar 9, 2022 · 20 comments

Comments

@Revilote
Copy link

Revilote commented Mar 9, 2022

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

@paukstelis
Copy link
Owner

Do you get a confirmation window when you click cancel?

@Revilote
Copy link
Author

Revilote commented Mar 9, 2022

No. Nothing happens except the short buttons position change.

@paukstelis
Copy link
Owner

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

@Revilote
Copy link
Author

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

@paukstelis
Copy link
Owner

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.

@Revilote
Copy link
Author

Okay. I found it.
Log Cancel objects

@paukstelis
Copy link
Owner

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

@Revilote
Copy link
Author

Revilote commented Apr 4, 2022

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.

@Aron3DP
Copy link

Aron3DP commented Jul 27, 2022

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.

@paukstelis
Copy link
Owner

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

@Aron3DP
Copy link

Aron3DP commented Jul 27, 2022

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

@paukstelis
Copy link
Owner

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
Copy link
Owner

What theme are you using for UI customizer?

@Aron3DP
Copy link

Aron3DP commented Jul 27, 2022

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.

@paukstelis
Copy link
Owner

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

@Aron3DP
Copy link

Aron3DP commented Jul 27, 2022

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.

@paukstelis
Copy link
Owner

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.

@Aron3DP
Copy link

Aron3DP commented Jul 27, 2022

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.

@paukstelis
Copy link
Owner

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.

@Aron3DP
Copy link

Aron3DP commented Jul 27, 2022

Ok, will do. Thanks for the fast replies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants