Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Spare Time Hacker on September 18, 2025, 08:50:40 am

Title: Alphanumeric Keys ingnored
Post by: Spare Time Hacker on September 18, 2025, 08:50:40 am
Hi all,
I haven't used C::B for a while and surely my Ubuntu got a few updates meanwhile.

Now I'm experiencing the following: when typing code everything works fine until I use any non-alphanumeric key. Regardless of whether I press the cursor, backspace, or delete keys, alphanumeric (a...z & 0...9) keystrokes are no longer accepted until I press ctrl-s. After ctrl-s keys are accepted until next non-alphanumeric keystroke. Months ago everything worked absolutely fine.

I appreciate any helpful idea. Thanks in advance.

BR


Name                   : Code::Blocks
Version                : svn-r13046
SDK Version            : 2.23.0
Scintilla Version      : 3.7.5
Author                 : The Code::Blocks Team
E-mail                 : info@codeblocks.org
Website                : https://www.codeblocks.org
OS                     : Linux 6.14.0-29-generic x86_64
Desktop environment    : KDE
Scaling factor         : 3.000000
Detected scaling factor: 3.000000
Display PPI            : 288x288
Display count          : 1
Display 0              : XY=[0,0]; Size=[1707,960]; Primary

wxWidgets Library (wxGTK port)
Version 3.2.6 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.43.
Title: Re: Alphanumeric Keys ingnored
Post by: stahta01 on September 18, 2025, 08:36:21 pm
Are you using Wayland or X Windows?

Tim S.
Title: Re: Alphanumeric Keys ingnored
Post by: Spare Time Hacker on September 19, 2025, 08:03:49 am
It's Wayland.
Title: Re: Alphanumeric Keys ingnored
Post by: stahta01 on September 19, 2025, 11:25:39 am
It's Wayland.


1. make sure you are using the newest GTK supplied by your distro because one past keyboard issues was likely caused by GTK per Internet search.
2. search and find the way to switch wxWidgets to stop using Wayland when launching code::blocks on the command line:
    reason is to confirm  Wayland as the likely cause.
    See https://forums.codeblocks.org/index.php/topic,25206.msg171903.html#msg171903 (https://forums.codeblocks.org/index.php/topic,25206.msg171903.html#msg171903)  This might only work for the Distro the person was using; but, it might work for more than one Linux Distro

Tim S.
Title: Re: Alphanumeric Keys ingnored
Post by: Spare Time Hacker on September 21, 2025, 04:26:11 pm
Thank you very much!

Starting C::B from command line with "GDK_BACKEND=x11 codeblocks" it sucessfully passes first testing.