4k HiDPI Display compatibile for SALOME 9.9.0 command/toolbar icons

Hi, everyone,

Recently, I have upgraded my laptop to 4k screen (15.6") with a new system Debian 12. I can run SALOME with mesa_salome.

I have set up screen resolution with 3840x2160 and 200% amplified.

SALOME looks well with the fonts and windows, but the command icons don’t adapt to the configuration with 200% scaled, which looks very small:

I appreciate it if anyone can provide a solution.

After trial and errors, I have just found a solution:


Because SALOME uses QT for GUIs, QT_AUTO_SCREEN_SCALE_FACTOR=1 makes the system scale ineffective and uses QT’s scale.