Gcode Editor saving issues

More
5 years 6 months ago #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 to join the conversation.

More
5 years 6 months ago #206555 by hottabich

snowgoer540 wrote: 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 to join the conversation.

More
5 years 6 months ago #206583 by persei8
Replied by persei8 on topic Gcode Editor saving issues
But what is EDITOR? Where is it defined?

Please Log in to join the conversation.

More
5 years 6 months ago #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 to join the conversation.

More
5 years 6 months ago #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!

Please Log in to join the conversation.

More
5 years 6 months ago #206618 by hottabich

persei8 wrote: But what is EDITOR? Where is it defined?

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

Please Log in to join the conversation.

More
5 years 6 months ago #206624 by snowgoer540

hottabich wrote:

snowgoer540 wrote: 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:
Code:
ACTION.SET_MANUAL_MODE()

Please Log in to join the conversation.

Time to create page: 0.050 seconds
Powered by Kunena Forum