3 ms·
On macOS I have turned on the setting that lets one tab through all controls (System Preferences → Keyboard → Shortcuts → All controls). When a “Cancel OK” dia
by latexr 8y ago
On macOS I have turned on the setting that lets one tab through all controls (System Preferences → Keyboard → Shortcuts → All controls).
When a “Cancel OK” dialog appears, “OK” is the default choice (in blue) but Cancel is the highlighted one[1], presumably because it’s the first option. This is incredibly convenient because ↵ will activate “OK”, while pressing the space bar will activate “Cancel”. One gets used fast to pressing a single key to act on a dialog, instead of having to tab through controls.
[1]: https://i.imgur.com/zsX66tX.png https://i.imgur.com/zsX66tX.png
- tzs 8y ago> System Preferences → Keyboard → Text → All controls It's System Preferences → Keyboard → Shortcuts → All controls on my Mac (10.13.5)
- latexr 8y agoYou’re correct. Fixed the top post. Thank you.
- wruza 8y agoYou have one of those no-escape-key macbooks, right? Yet another epic fail by that post-apple company.
- latexr 8y ago> You have one of those no-escape-key macbooks, right? Wrong.
- Too 8y agoWow, you have to manually activate such an option? On windows it's default. One of the things i love about windows is that it's always been designed for keyboard only use, not just bolted on as an afterthought. Every dialog, widget, application and feature can be used with only the keyboard and it's fast, easy and predictable how to. Unfortunately since windows 8 there's been some regressions in this area with the new metro interface. Defaulting the underlined hotkey to off (since windows xp), was also a big mistake imo.
- oneeyedpigeon 8y agoKeyboard support on the Mac is terrible. It's probably the biggest flaw of the OS, imo. You wouldn't believe some of the ridiculousness - for example, the page up/down, home/end keys are application-specific in their behaviour. Moreover, they sometimes move the view, but not the cursor - an insane behaviour. I regularly find myself moving to the top of a document using the keyboard, then remembering I'm wasting my time and reaching over for the mouse, one click, and back to the keyboard...
- danaris 8y ago> Moreover, they sometimes move the view, but not the cursor - an insane behaviour. It's an incredibly useful behaviour. I can't tell you how many times I've had my cursor ready to type a method name, realized I didn't recall the precise wording of the method or the order or type of its arguments, and paged my way up to where the method was defined in the same file...then not had to labouriously search my way back to where I was and click in the right spot to type, but just start typing as soon as I had the information. Bam, it types it in the right spot and jumps the view back to it for me.
- latexr 8y ago> Wow, you have to manually activate such an option? On windows it's default. I don’t think that’s deserving of “wow”. I don’t think it’s that big of a deal. It’s a clear option that is quite visible and present in the exact preference pane you’d expect. And you don’t need to activate it manually. You can do it via CLI: defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 > not just bolted on as an afterthought. I haven’t used Windows in years so I can’t compare, but keyboard support on macOS doesn’t feel like an afterthought to me. Without leaving the same screen where one activates keyboard support for all controls, one can also change and set keyboard shortcuts for every other action including every menu option of every app. And if doing it manually isn’t your thing, you can also define those keyboard shortcuts via CLI. It even works for setting single key (no modifier) shortcuts.
- Too 8y ago
- red75prime 8y agoWhen you need to optimize the speed of going through dialog boxes, something is wrong with your UI, I think.
- latexr 8y agoI don’t need to optimise the speed. I like that I can. When you make a mistake that prompts a dialog box, having to move your cursor to undo can feel slightly punishing. Doing it with a single key press makes it feel like part of the process.