Menu

#1302 Clipped text (too large to show) in code completion popup on Hi DPI screen

Undefined
open
nobody
Bug_Report
2022-10-01
2022-08-26
adalbert
No

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.

1 Attachments

Related

Tickets: #1297
Tickets: #1320

Discussion

  • adalbert

    adalbert - 2022-08-26

    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.

     
  • adalbert

    adalbert - 2022-08-26

    It also worked fine on earlier nightly (CB_20220619 with wx3.1.5)

     
  • Mehdi Chinoune

    Mehdi Chinoune - 2022-08-27
     
    • adalbert

      adalbert - 2022-08-27

      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.

       
  • Miguel Gimenez

    Miguel Gimenez - 2022-08-27

    Complement of [#1297].

     

    Related

    Tickets: #1297

  • Miguel Gimenez

    Miguel Gimenez - 2022-08-27

    Did you change the editor font size?

     
    • adalbert

      adalbert - 2022-08-27

      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:

      Name : Code::Blocks
      Version : svn-r12864
      SDK Version : 2.20.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.

       

      Last edit: adalbert 2022-08-27
  • Miguel Gimenez

    Miguel Gimenez - 2022-09-13

    I can not reproduce with current trunk (12892), wxWidgets 3.2.1 and 1.75 scale factor.

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-09-14

    Can you try changing the technology?. Go to Settings -> Editor -> General settings -> Other editor settings and select Technology = DirectWrite.

     
    • adalbert

      adalbert - 2022-09-14

      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.

       
  • Miguel Gimenez

    Miguel Gimenez - 2022-09-27
    • assigned_to: Miguel Gimenez
     
  • Miguel Gimenez

    Miguel Gimenez - 2022-10-01
    • assigned_to: Miguel Gimenez --> nobody
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.