elementary / switchboard-plug-keyboard

Switchboard Keyboard Plug
GNU General Public License v2.0
28 stars 22 forks source link

Keyboard / Input Method / Switch engines setting should default to Disabled? #439

Closed volfpeter closed 8 months ago

volfpeter commented 1 year ago

What Happened?

I've been debugging for a couple of hours why I couldn't trigger auto-complete suggestions in VSCode (hotkey is CTRL+Space). I didn't think the reason could be the OS, but apparently OS7 uses this key combination for Input Method / Switch engines. I really don't know what switch engines is about, it could be important, but maybe a different default or at least a Disabled option would be a good idea.

I did not have this issue on either elementary 0.4, 5., or 6..

I understand if you wouldn't like to fix this. In that case, feel free to just close the issue.

Thanks!

Steps to Reproduce

Try to trigger auto-complete suggestions in VSCode with the default hotkey, CTRL+Space. Result: the suggestions list doesn't appear.

Expected Behavior

VSCode features work as they used to on older versions of elementary.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

cshaa commented 8 months ago

I run into the exact same problem and spent quite a long while debugging it. (I thought it was a bad VS Code extension at first.) When there are no engines, it doesn't really make sense to catch the keyboard shortcut. The walkaround I used was:

gsettings set org.freedesktop.ibus.general.hotkey triggers "[]"

The relevant lines in the source code are src/Views/InputMethod.vala L255 and L293.