I'm using 64-bit Windows nightly build (13 aug 2022) of C::B on Windows 10. I have Hi DPI display with 150% scaling. The text in code completion popup is too large and is clipped (the frame is too small to show the entire text).
This does not happen in 20.03 - it works fine in High DPI mode. I attach a screenshot with comparison between 100% and 150% scaling in nightly build, and 150% scaling in 20.03.
Name : Code::Blocks
Version : svn-r12859
SDK Version : 2.19.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : https://www.codeblocks.org
OS : Windows 10 (build 19044), 64-bit edition
Scaling factor : 1.500000
Detected scaling factor : 1.500000
Display PPI : 144x144
Display count : 1
Display 0 (\.\DISPLAY1): XY=[0,0]; Size=[2240,1400]; Primary
wxWidgets Library (wxMSW port)
Version 3.1.7 (Unicode: wchar_t, debug level: 1),
compiled at Aug 6 2022 17:42:37
Runtime version of toolkit used is 10.0.
It also worked fine on earlier nightly (CB_20220619 with wx3.1.5)
I think this a duplicate of https://sourceforge.net/p/codeblocks/tickets/1297/
I don't have too large icons (in fact in default settings they are a bit too small, but I can make them larger in menu settings), there is only issue with code completion.
Complement of [#1297].
Related
Tickets:
#1297Did you change the editor font size?
Yes, but the problem also persists with default settings. I just extracted fresh nightly version reset to default settings and this is how it looks like:
Last edit: adalbert 2022-08-27
I can not reproduce with current trunk (12892), wxWidgets 3.2.1 and 1.75 scale factor.
Possibly related: https://github.com/wxWidgets/wxWidgets/issues/22734
Can you try changing the technology?. Go to Settings -> Editor -> General settings -> Other editor settings and select Technology = DirectWrite.
Yes, it seems to fix it! I had "Default", technology DirectWrite made code completion hints look OK. That is on svn-r12864, wx3.1.7. It also put correct scale on the editor font size, originally it was too small.
By default the icons are still too small on high DPI screen, but this is easily fixed by just selecting larger icons in view settings.