on launching cb on a 200% scaled 4k display, i get the following assert failure
ASSERT INFO:
./src/generic/imaglist.cpp(63): assert "(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)" failed in Add(): invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.
BACKTRACE:
[1] wxGenericImageList::Add(wxBitmap const&)
[2] cbAddBitmapToImageList(wxImageList&, wxBitmap const&, int, int, double)
[3] cbProjectTreeImages::MakeImageList(int, wxWindow&)
[4] wxEntry(int&, wchar_t**)
[5] __libc_start_main
this doesn't happen on lower scaled values
screenfetch:
██████████████████ ████████ asd@956
██████████████████ ████████ OS: Manjaro 21.3.1 Ruah
██████████████████ ████████ Kernel: x86_64 Linux 5.15.49-1-MANJARO
██████████████████ ████████ Uptime: 2h 57m
████████ ████████ Packages: 1366
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 3840x2160
████████ ████████ ████████ DE: KDE 5.95.0 / Plasma 5.24.5
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ GTK Theme: Breeze [GTK2/3]
████████ ████████ ████████ Icon Theme: breeze
████████ ████████ ████████ Disk: 410G / 1,2T (36%)
████████ ████████ ████████ CPU: AMD Ryzen 7 5700G with Radeon Graphics @ 16x 3.8GHz
████████ ████████ ████████ GPU: AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.49-1-MANJARO)
RAM: 3190MiB / 13872MiB
update:
latest update solved the issue,
Name : Code::Blocks
Version : 20.03-r11997
SDK Version : 2.0.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website :
http://www.codeblocks.orgScaling factor : 2.000000
Detected scaling factor: 2.000000
Display PPI : 192x192
Display count : 1
Display 0 : XY=[0,0]; Size=[1920,1080]; Primary
wxWidgets Library (wxGTK port)
Version 3.2.0 (Unicode: wchar_t, debug level: 1),
compiled at Jul 8 2022 16:49:34
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.34.