Keyboard menu shortcut fails -- Quote Level Increase in Mail

Weird one. A couple of months ago, the keyboard shortcut for Apple Mail’s “Quote Level > Increase” menu command (command ‘) stopped working. The “Quote Level > Decrease” menu command (command-option-’) still works.

I disabled TextExpander, looked through the Keyboard Shortcuts in the System Prefs – no clues.

SOMETHING else I have installed is interfering but cant seem to find it. Any ideas?

TIA…

UGH so frustrating. I think I have solved (worked around) these unknown conflicts by creating a KM macro pointing to the menu command, using the same trigger as the built-in keyboard shortcut. I can’t seem to find an example to test, but you might try that if you get desperate and can live without finding the conflict :face_with_raised_eyebrow:

2 Likes

I agree with @evanfuchs, frustrating when this happens.

Would be useful if someone created an app that produced an exhaustive list of all the shortcuts and key bindings on the machine. (No, KeyCue is useful but not for finding hidden conflicts.)

2 Likes

I did some poking around. This command will give you a list of defined shortcuts. It looks like these are for menu equivalents only. This doesn’t include keyboard maestro, popclip, etc. but it might be helpful. From the Terminal:

defaults find NSUserKeyEquivalents

Here’s what it says when I run it:

(base) Johns-iMac-Pro:~ john$ defaults find NSUserKeyEquivalents
Found 1 keys in domain 'com.apple.finder': {
    NSUserKeyEquivalents =     {
        "Tags..." = "@~^$t";
    };
}
Found 1 keys in domain 'Apple Global Domain': {
    NSUserKeyEquivalents =     {
        "Save as PDF" = "@p";
    };
}
Found 1 keys in domain 'com.freron.MailMate': {
    NSUserKeyEquivalents =     {
        "Not Junk" = "@~n";
    };
}

I tried other commands to find every .plist file and check it for NSUserKeyEquivalents, but it didn’t find anything more than the command above. Shown below for giggles.

find /  -name '*.plist' -exec /usr/libexec/PlistBuddy -c "print :NSUserKeyEquivalents" {} \; 2>/dev/null

I’m apparently not using this right. I get:

Moe-Mac:~ moe$ defaults find NSUserKeyEquivalents

2019-07-04 16:22:15.697 defaults[18073:1387152] No domain, key, nor value containing ‘NSUserKeyEquivalents’

Obviously, I don’t parlez Unix.

Solved it. A story with a few twists…

Not a bug in Mail. I restarted in Safe Mode (hold Shift) and the problem went away. Noted what add-ons were running (screenshot of Menu Bar, mainly) and restarted in normal mode. Guess what: The problem was not happening!! I recall that there are times when the problem is there and isn’t. I started Googling for more clues and noticed – wait, the problem is back!! Took another screen shot of the menu bar and compared.

The menu bar when the problem was there had one more icon than the menu bar when the problem is not there. It’s LastPass, which had launched when I fired up Safari. A few tests confirmed LastPass is the culprit. But I have used LastPass for years without issue.

I poked around Lastpass’s settings. It had three Hotkeys set. None of them were [command-’]. But I cleared them all, just because. And the problem went away. Even restoring the settings to what I think they were before could not cause the problem to come back!

My best guess is that the prefs file for LastPass picked up a corruption which was cleared when I manually fiddled with the hot keys.

1 Like

Nice troubleshooting work! I swear my experience was similar, that I eventually found the conflict, changed the setting of the offending app, and deleted the KM Macro. Which is why I have no trace of it, but it happened. Seriously. I swear.

2 Likes