Menu

#1132 HiDPI broken after moving to WxWidgets 3.1.5

Undefined
fixed
hidpi (13)
Bug_Report
2021-12-18
2021-08-23
No

HiDPI support is broken after moving to WxWidgets 3.1.5. The last nightly build that have a better support is 12312. After that the icons started to look very small and do not scale.
I have attached screenshots before and after.

4 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2021-08-28

    OS/Distro? If on linux what is the toolkit. Please copy-paste everything from Help -> About -> Information.

     
    • Mehdi Chinoune

      Mehdi Chinoune - 2021-08-29

      I am using the nightly builds downloaded from sourceforge:

      CodeBlocks 12312 (Before) :

      Name                    : Code::Blocks
      Version                 : svn-r12312
      SDK Version             : 2.6.0
      Scintilla Version       : 3.7.5
      Author                  : The Code::Blocks Team
      E-mail                  : info@codeblocks.org
      Website                 : http://www.codeblocks.org
      OS                      : Windows 10 (build 19042), 64-bit edition
      Scaling factor          : 2.500000
      Detected scaling factor : 2.500000
      Display PPI             : 240x240
      Display count           : 1
      Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[3840,2160]; Primary
      
      wxWidgets Library (wxMSW port)
      Version 3.1.3 (Unicode: wchar_t, debug level: 1),
      compiled at Jun  7 2020 10:54:43
      
      Runtime version of toolkit used is 10.0.
      

      CodeBlocks 12516 (Broken) :

      Name                    : Code::Blocks
      Version                 : svn-r12516
      SDK Version             : 2.14.0
      Scintilla Version       : 3.7.5
      Author                  : The Code::Blocks Team
      E-mail                  : info@codeblocks.org
      Website                 : http://www.codeblocks.org
      OS                      : Windows 10 (build 19042), 64-bit edition
      Scaling factor          : 1.000000
      Detected scaling factor : 1.000000
      Display PPI             : 240x240
      Display count           : 1
      Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[3840,2160]; Primary
      
      wxWidgets Library (wxMSW port)
      Version 3.1.5 (Unicode: wchar_t, debug level: 1),
      compiled at Apr 25 2021 09:56:34
      
      Runtime version of toolkit used is 10.0.
      

      It looks like the scaling-factor was not correctly detected!

       
  • Teodor Petrov

    Teodor Petrov - 2021-08-28
    • labels: --> hidpi
     
  • Mehdi Chinoune

    Mehdi Chinoune - 2021-12-17

    Still present with the latest nightly build 12579

     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-17

    Looks like scaling factor is incorrect with wxWidgets 3.1.5 because the value returned by GetContentScaleFactor() was changed in 3.1.4

     

    Last edit: Miguel Gimenez 2021-12-18
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-17
    • assigned_to: Miguel Gimenez
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-18
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-18

    Fixed in [r12592]

     

    Related

    Commit: [r12592]

  • Mehdi Chinoune

    Mehdi Chinoune - 2021-12-18

    Thanks

     

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.