Got similar bug with Debian Trixie in KDE Plasma 5.27.11.
When I'm having iBus Wayland active in Input Devices -> Virtual Keyboard, after first backspace I can't type anything in CodeBlocks. If I'm setting Virtual Keyboard to None, suddenly this issue is gone.