Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Stauricus on September 22, 2020, 08:56:26 pm
-
hello
when I try to use some characters, like Codeblocks shows a little square with the signal inside (image attached).
and if I press any key (including print screen) it disappears without doing nothing, and the character is not entered in the editor. I'm unable to create class destructors in C++, for example, since I can't use ~. it used to work well, i don't know what happened...
i searched for it in the forum, but found no answer. any ideas?
thanks in advance!
-
Operating system?
Keyboard Layout?
Codeblocks version?
-
sorry, I forgot about that!
Linux 5.8.0-1-amd64
Debian Testing (Bullseye)
Keyboard ABNT2
Codeblocks 20.03
-
Spanish Layouts had problems in the past on Mac with the ~ symbol...
Maybe Portuguese layouts have the same problem? Can you try with english layout, if it is still present?
-
This is related to dead keys, and is a Debian 10 "feature":
https://unix.stackexchange.com/questions/557492/annoying-accent-popup-after-upgrade-from-debian-9-to-10 (https://unix.stackexchange.com/questions/557492/annoying-accent-popup-after-upgrade-from-debian-9-to-10)
-
I suspected it could be related to the system, but only happened in CodeBlocks ???
anyway, I added "XKBVARIANT="nodeadkeys" " to /etc/default/keyboard, and it is working now. thanks everyone for the help!