Author Topic: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).  (Read 2807 times)

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« on: December 06, 2022, 08:27:43 am »
I installed CodeBlocks on Ubuntu 22.04 ARM64 desktop (with VMware VM on M1 MacMini).
The icons are so big that they take up almost 1/3 of its window.  The icons look fine on Ubuntu 20.04 ARM desktop package.
Is this a build problem in Ubuntu repo?

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #1 on: December 06, 2022, 08:30:46 am »
This is the normal icon size on Ubuntu 20.04 (ARM64).

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #2 on: December 06, 2022, 09:37:24 am »
Please state your scale factor and the wxWidgets version used.

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #3 on: December 06, 2022, 07:25:51 pm »
I have no idea.  I did not build the package myself.  I simply ran 'sudo apt install codeblocks' to get the package from Ubuntu software repository.
Not sure if the package is built by Ubuntu or provided by CodeBlocks.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #4 on: December 06, 2022, 07:59:32 pm »
The scale factor in GTK can be 100 % or 200 %, you select it in the screen properties (200  is HiDPI).

The wxWidgets version can be checked in the About dialog, it can be wxWidgets 3.0 or wxWidgets 3.2.

I would bet you are using 200 % and wxWidgets 3.2.

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #5 on: December 06, 2022, 08:22:29 pm »
Thanks for the info.  I will do that.

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #6 on: December 06, 2022, 09:51:55 pm »
The about screen say build 2021-11-08. wx3.0.5 gcc 11.2.0 - 64-bit.
Where do I get the 'screen' property?  The only thing I can find is from 'Settings' -> 'View' -> 'Toolbar icon size'.  Which is normal (64x64).  The other alternatives are 'Large', 'Larger', and 'Largest'
Changing their value does not make difference.
« Last Edit: December 06, 2022, 09:53:41 pm by alexchen »

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #7 on: December 06, 2022, 10:26:59 pm »
The screen scale factor is an Ubuntu thing. At least on Gnome 3, right click on the Ubuntu desktop, there is a slider allowing 100 % or 200 % scale factor.

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 84
Re: CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).
« Reply #8 on: December 06, 2022, 10:34:36 pm »
That does not help. The 'Settings' -> 'Appearance' -> 'Desktop Icons' show 'norma' size.  Changing it to 'small' does not help.
'Settings' -> 'Displays' shows 100% scale, not 200%.
I think I have wasted enough of your time.  I will take this to Ubuntu forum instead since they built the package.
Thanks for the help.