Gcode Editor saving issues

More
20 Apr 2021 17:15 #206545 by snowgoer540
When you say use_keyboard breaks down, do you mean that you can no longer jog after you close the editor?

Please Log in or Create an account to join the conversation.

More
20 Apr 2021 18:38 #206555 by hottabich

When you say use_keyboard breaks down, do you mean that you can no longer jog after you close the editor?

You add such lines to the handler and you will see everything for yourself. Thanks for attention.

Please Log in or Create an account to join the conversation.

More
20 Apr 2021 22:30 #206583 by persei8
Replied by persei8 on topic Gcode Editor saving issues
But what is EDITOR? Where is it defined?
The following user(s) said Thank You: hottabich

Please Log in or Create an account to join the conversation.

More
21 Apr 2021 05:00 #206611 by cmorley
Replied by cmorley on topic Gcode Editor saving issues
What were you trying to get the editor to do that it didn't before ?
EDITOR is not a reference in the linuxcnc version of woodpecker.
Are GCODE and EDITOR the same widget class ?

Please Log in or Create an account to join the conversation.

More
21 Apr 2021 06:17 - 21 Apr 2021 06:19 #206617 by hottabich
This allows the existing file name to be overwritten when saving. The tooltip doesn't get in the way.
I took these lines from the qtplasmac handler. Thank you!
Attachments:
Last edit: 21 Apr 2021 06:19 by hottabich.

Please Log in or Create an account to join the conversation.

More
21 Apr 2021 06:32 #206618 by hottabich

But what is EDITOR? Where is it defined?

Thanks for the hint, but if you write
from qtvcp.widgets.gcode_editor import GcodeEditor as EDITOR
keyboard works, but the effect disappears when the file is saved.

Please Log in or Create an account to join the conversation.

More
21 Apr 2021 10:34 #206624 by snowgoer540

When you say use_keyboard breaks down, do you mean that you can no longer jog after you close the editor?

You add such lines to the handler and you will see everything for yourself. Thanks for attention.


I am willing to try to help, but I don't use woodpecker, and even still without you describing the problem you're seeing, it's difficult to know if I'm seeing the same thing, especially on a GUI I'm not familiar with...

Assuming you cant jog after closing the editor... and thinking back to when Phill added those lines to QtPlasmaC, I think after their addition we saw an issue with being unable to jog after the editor was closed.

I believe the fix was to add this line at the right spot:
ACTION.SET_MANUAL_MODE()

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.088 seconds
Powered by Kunena Forum