GrblGru Macro Cancel Bug

I’ve just upgraded GrblGru to v6.38. If a macro with Dialog is started you could previously press the X (Close) and then OK the exit and it would exit the macro. However v6.38 runs the macro even on close. Is this expected behaviour?

This can be replicated with the supplied Advanced.dat file and the ‘[macro with dialog]’ macro.

@GrblGru

Noticed v6.40 is available and this has the same issue.

Additional.
If you create a Syntax error macro you cannot exit without force closing the app, it gets stuck in a loop of error popups.
Example code:
[Bad Macro]
#Length = 3
%input, Length Title , #Length
%Message, Length = , #Length

Also, how can you turn off the annoying beep that is heard every time you press a macro button?

Thank you very much for your feedback, and I apologize for my late response.
I simply overlooked your first email. :frowning:

I just uploaded a corrected version, V6.41, for you.
This should fix the problem, and you shouldn’t hear the beeping anymore.

@GrblGru ,

Great, I look forward to trying it. I’m using the GrblGru_Mill fork, I only see v6.40 when I go to https://www.grblgru.com/en-au/download. How do I get v6.41?

@GrblGru ,

Found it on the “DE” language page.
I can confirm the error loops and beeping issue is resolved.

However, the main issue of not being able to exit/close the macro at a input dialog is not resolved.
This can be replicated with the supplied Advanced.dat file and the ‘[macro with dialog]’ macro. Can you please help?

Thanks for the info. I’m having some trouble with my website right now.
The changes weren’t applied in all languages. It should work now.

I can’t find the “[macro with dialog]” macro.
Could you please post it here?

@GrblGru ,

Thank you for responding,
Its one of the macro files installed by default by your app installer:

[macro with dialog]
#Feedrate = 3000
#DepthOfIncrements = 3
#Length = 50
#Counter = 3

%Message, Length =, #Length
%Inputs, Enter the following data, Number of strokes, #Counter 

while(#Counter > 0)
{
G1 g91 f#Feedrate
Z-#DepthOfIncrements 
x#Length 
x-#Length
#Counter -1
}

Previous working version v6.23

Press “macro with dialog” button

Press Red X (close)

Ok

The Macro exits and the machine does not move (perfect :slight_smile::check_mark::check_mark: )

Current versions v6.38+

Press Red X (close)

Ok

Macro does not exit and machine moves. See Yellow Toolpath. Not expected :frowning: :cross_mark::cross_mark:

I hope that’s clear? else let me know.

Thank you for your help so far.

Please download the version from my website again.
I haven’t changed the version, but after installation, “Update 1” should appear in the lower right corner next to the version number.
I’ll be on vacation for 3 weeks starting tomorrow. If any issues arise, we’ll have to fix them after I get back.

Thanks again for your feedback :slight_smile:

grafik

@GrblGru

Thank you for the fix with Update 1. Macros now appear to be working as expected :slight_smile:

How do you prefer your users submitting feature requests/suggestions? Create a new Topic on this forum?