linuxmint / cinnamon-desktop

The cinnamon-desktop library (and common settings schemas for the cinnamon desktop)
GNU General Public License v2.0
187 stars 63 forks source link

"Ctrl+Shift+E" interrupts following keyboard inputs #139

Closed onequid closed 4 years ago

onequid commented 4 years ago

I am not sure if this is the right place to post this issue as I have not tried to reproduced this on any other distro with cinnamons.

Steps to reproduce:

  1. When typing, press CTRL+SHIFT+E,
  2. Try to input some other words, and it was not as expected.

In some input areas Ctrl+Shift+E would interrupts following keyboard inputs. It happened in following places so far:

It did not happen in hexchat(the only place where the reproducing failed). And I also found that after press the ENTER key, the keyboard works again.

$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 19.2 Tina
Release:    19.2
Codename:   tina

The theme used is Mint-Y-Dark. And I reproduced this with theme Cinnamon Thank you for your attention.

I also tested a live image on the VM, it was with an underlined e and following inputs(the undelined e and the following inputs are hidden on my machine). CTRL+SHIFT+E is used to enter emoji.

It is weird that I do not see it configured in ibus-setup. And I get nothing with the cmd below:

$ gsettings get org.freedesktop.ibus.panel.emoji hotkey
@as []
onequid commented 4 years ago

Found it was caused by "fcitx". And it was just solved. No, it might not be fcitx.

onequid commented 4 years ago

I tried to add the following lines to ~/.profile

export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export XMODIFIERS="@im=fcitx"

This stops mapping CTRL+SHIFT+E to entering emoji (and it stops keybinding CTRL+SHIFT+U for entering unicode as well)

However after doing so, when typing in Chinese with some applications, say, LibreOffice Writer and VSCode, it occasionally input some letters directly without going though the Input Method. For example, when I try to enter something like input-test-wanted

It would occasionally behave like input-test-occasional

Is there any other ways to unset CTRL+SHIFT+E keybinding? or fix the occasionally direct inputing?

I found on fcitx wiki that cache may require updating. Will updating cache unset the keybinding? And I cannot find the related command tools gtk-query-immodules-2.0 or gtk-query-immodules-3.0 to test out.

Please just tell if anything else I can do or help

I also find this post saying that only GTK after version 3.24 would respect to customized keybindings. And this issue comment mentioned GTK 3.23.0 dropped the CTRL+SHIFT+E shortcut