Prompt For User Input Action - Missing focus in checkboxes

I have been using the Prompt For User Action:

in a macro for years. For a long time, I was able to use the Tab key to switch between the fields, including the checkbox, and move the focus to the next field when the dialog was called up. If the focus was on the checkbox, I could change the status of the checkbox with the space bar.

This has changed, I don't know when. After pressing the Tab key, the focus only switches between the two input fields and no longer goes to the checkbox, with the result that the checkbox can no longer be set with the keyboard and you always have to use the mouse to select the checkbox.

Does anyone have any idea what I am doing wrong? Or has something changed in KM and I have to mark the checkbox somehow so that it can also get the focus? Many thanks in advance for any tips!

Checkboxes can get the focus on my Mac using KM.

One thing you might need to do is tell us which version of macOS and KM you are using. Another thing that might help is upload a very small macro that demonstrates this problem, because we might see an error in it.

MacOS-Version is Sequoia 15.3.2 (24D81)
KM-Version is 11.0.3
And here is the minimal dialog box macro

Test.kmmacros (2,5 KB)

I have found that the focus does not work with popups either. When I open the dialog, the focus only switches between the two input fields when I use the space bar; the checkbox and the popup field are left out.

I think - but I'm not positive - the answer here is simpler: You need to enable keyboard navigation in System Settings β†’ Keyboard:

-rob.

3 Likes

What do you mean "when I use the space bar"? You are supposed to use the Tab button to switch fields. And even with your macro, Tab works fine on my Mac. I can't replicate your problem, and I have the same version of macOS and KM. Perhaps you have some third party apps that are interfering? Maybe try disabling your third party apps to see if that fixes it.

And I'm not sure by what you mean when you say "with pop-ups."

That's probably it. I get his symptoms when I turn that off. I don't think I would have ever guessed that, as I've never seen that option before.

Is switched on:

Since I can switch between the two input fields, that was also very likely. It may also be because of what Airy said... I'll have to test that.

Yes, i use the Tab button to switch the fields, but the checkbox and the popup field are left out.

When the checkbox received the focus earlier, I was able to toggle the checkbox using the space bar.

The popup field from my dialog no longer receives focus when the Tab key is pressed.

I'll try that out...

Well, I can't replicate your problem. So my final guess is that you have a conflicting app.

Agreed with this, especially given that keyboard navigation is enabled. I know it works in general, as all of my Prompt for Input actions still behave as expected, so it's not an OS thing.

-rob.

OK, that's weird. I closed all programs, ended all background programs until there was nothing left: No change. Then I restarted the Mac in safe mode and only started KM there: No change.

Now I don't know what to do either and in the future I'll have to keep using the mouse to tick the checkbox :man_shrugging:

Thanks for your input and patience!

Did you happen to try disabling Tastaturnavigation, rebooting, then re-enabling it? I'm not confident it will do anything in this case, but sometimes disabling-rebooting-re-enabling a thing in macOS can help with strange problems such as these.

Yikes. I wasn't expecting that.

Do you have more than one Mac? Do you have any Mac that uses English as its interface? Do you have any different keyboard to substitute? I know these are long shots, but there has to be some reason why we can't replicate your problem. That reason is either software or hardware. You seem to have eliminated most software as a suspect, so my suggestions above may help to eliminate the hardware.

Now it's getting really weird. I switched off keyboard navigation in the system settings and rebooted. After the restart, the Tab key worked exactly as before, despite the keyboard navigation being switched off. I was able to jump between the input fields and the checkbox was skipped.

Then I switched on keyboard navigation again. And suddenly I was able to navigate to the checkbox and, only now did I notice that this was no longer possible either, to the β€œOK” and β€œCancel” buttons using the Tab key.

And it works now, regardless of whether keyboard navigation is on or off. So now it always works? I don't understand. It now works as it used to, but the system setting simply has no effect anymore. Strange...

Anyway, it works again and turning keyboard navigation on and off and restarting in between helped, even though I couldn't turn it off anymore – but I don't want to anyway :stuck_out_tongue_winking_eye:

A thousand thanks to everyone! And have a nice evening/morning/day, wherever you are! :blush:

Thank you very much, Airy. I would have tried all of that, but it's no longer necessary, see my other message :man_shrugging: Thanks for your help!

1 Like

Glad you got it working again. Happy to help (I'm totally lost without keyboard navigation myself)

1 Like

You're welcome.

I know we didn't find the cause of the problem, but I want to say that there's an old expression, "have you tried turning it off and on again?" and there's a lot of merit to that statement. Perhaps 50% of all the problems I've had on servers have been solved by doing that.

1 Like