Voice Input associated to wrong global string variable

Dm114

Well-known member
Hi Jamie,

I was making a test to answer a user and noticed that the global string variable selected in the list to store the voice input doesn't match the one used when running. It uses any type of global variable upper in the list. As if it had selected the Nth item upper in the alphabetical order (whatever its type).
When using a local variable (either new or existing) it's ok.

Why isn't there a "Configure" option in the pop-up list to modify the selected variable?
 

Dm114

Well-known member
This bug has already been reported here on the forum. It may be helpful to Jamie if it is reported using the Report A Bug facility in the Troubleshooting section of the app.

http://www.macrodroidforum.com/index.php?threads/bug-md-crashes.1609/

http://www.macrodroidforum.com/index.php?threads/bug-shell-script-terminated.1659/post-9605
I agree with you but the reported bug by @Jacob L was not exactly the same and I gave Jamie as much information as possible to find out the issue and solution.

As Jamie participates very activly to the forum he often takes into account the major bugs "live" from here...
 

Dm114

Well-known member
@Pseudocyclic is spot on. If you have a certain bug please use the "Report a bug" via troubleshooting as this will guarantee I see it and make a ticket etc. I try my best to keep on top of the forum but I definitely do miss stuff.
Hi Jamie,
In the past, I sometimes had the opportunity to point out some bugs via Troubleshooting. But it's easier to give details here in the forum rather than via the "Report a bug" section and, as I know you often watch the forum and take into account some related issues adding them to your to-do list, I thought it would help you...
 

MacroDroidDev

Administrator
Staff member
@Dm114 I'm afraid I cannot recreate the issue you have described above. I am able to fix the lack of configurability but I cannot get the action to ever write into an incorrect variable.

Is there anything else you can tell me to help me reproduce this problem?
 

Pseudocyclic

Well-known member
@Dm114 I'm afraid I cannot recreate the issue you have described above. I am able to fix the lack of configurability but I cannot get the action to ever write into an incorrect variable.

Is there anything else you can tell me to help me reproduce this problem?
With a selection of global variables already in existence, including at least one Boolean global variable, create the action, select a pre-existing global variable from the list, and observe the outcome.
 

Dm114

Well-known member
With a selection of global variables already in existence, including at least one Boolean global variable, create the action, select a pre-existing global variable from the list, and observe the outcome.
With or without boolean variable, to me there's no change except the selected string variable jumped one row upward in the alphabetical list (the added boolean variable fot test purpose was at the begining of the list)
 

Dm114

Well-known member
@Dm114 I'm afraid I cannot recreate the issue you have described above. I am able to fix the lack of configurability but I cannot get the action to ever write into an incorrect variable.

Is there anything else you can tell me to help me reproduce this problem?
Attached 3 screenshots of the simplest macro possible (for test purpose)...
Hope it'll help you.
 

Attachments

  • 20220123_134211.jpg
    20220123_134211.jpg
    321.5 KB · Views: 4
  • 20220123_134622.jpg
    20220123_134622.jpg
    711.6 KB · Views: 4
  • 20220123_134951.jpg
    20220123_134951.jpg
    553.7 KB · Views: 4

Pseudocyclic

Well-known member
With or without boolean variable, to me there's no change except the selected string variable jumped one row upward in the alphabetical list (the added boolean variable fot test purpose was at the begining of the list)
I haven't tested further than my original experience. I selected a pre-existing string variable well down a long list, and a Boolean variable was substituted. I worked around it by starting again and using the [New Variable] option instead.
 

Dm114

Well-known member
I haven't tested further than my original experience. I selected a pre-existing string variable well down a long list, and a Boolean variable was substituted. I worked around it by starting again and using the [New Variable] option instead.
You're right, it works fine with [New variable] or Local existing variables.
 
Top