neovim-qt icon indicating copy to clipboard operation
neovim-qt copied to clipboard

MacOS Long Key Press Accent Menu

Open jgehrig opened this issue 4 years ago • 2 comments

While doing some unrelated testing on Mac OS, I noticed the following popup appear after long key presses.

image

Apparently this feature can be disabled globally: defaults write -g ApplePressAndHoldEnabled -bool {true/false}

It seems like this feature should be disabled for neovim-qt regardless of the global setting. However, I am unable to find any reference to this feature in Qt's documentation.

Tested with master built against Qt 5.13 on MacOS Mojave.

Related Links: https://support.apple.com/en-us/HT201586 http://osxdaily.com/2011/08/04/enable-key-repeat-mac-os-x-lion/

jgehrig avatar Dec 13 '19 05:12 jgehrig

Could this be related to QInputMethodEvent handling?

equalsraf avatar Jan 09 '20 21:01 equalsraf

It looks like an instance of the following Qt Bug: https://bugreports.qt.io/browse/QTBUG-71394

I haven't found anything about how the scenario can be mitigated, other than by turning the feature off globally.

jgehrig avatar Jan 09 '20 21:01 jgehrig