I just tried it again after a reboot of linux, and everything works fine... verry strange...
Can you post the content of the dialog when you go in codeblocks menu bar:
help->About->Information
my content is:
Name : Code::Blocks
Version : svn-r0
SDK Version : 2.24.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : https://www.codeblocks.org
OS : Linux 5.19.0-35-generic x86_64
Desktop environment : GNOME
Scaling factor : 1.000000
Detected scaling factor: 1.000000
Display PPI : 96x96
Display count : 1
Display 0 : XY=[0,0]; Size=[1920,975]; Primary
wxWidgets Library (wxGTK port)
Version 3.2.2 (Unicode: wchar_t, debug level: 1),
compiled at Mar 10 2023 21:13:24
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.33.