Skip to content

Several wrong font sizes with "-Dswt.autoScale" #3061

@hayos

Description

@hayos

I am using the following settings in eclipse.ini:
-Dswt.enable.autoScale=true
-Dswt.autoScale=150
-Dswt.autoScale.method=nearest

If set to
-Dswt.autoScale=100
everything looks fine.

After updating from "Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)" 12-2024 (or maybe 9-2024) to Version: 2025-06 (4.36.0) Build id: 20250605-1316 a lot of font sizes are messed up.
Affected are (at least):

  • 'Show Line Numbers' (if on obviously) the line numbers are unreadably large
  • In 'About Eclipse' -> '?' (the Help button) the font size is quite large, until you hover the entries. The the display is messed up.

Image
Image

As said, this should be introduced recently. The current Spring Tools for Eclipse is not (yet) affected. (Version: 4.30.0.RELEASE Build Id: 202504180233 Revision: ee1fc74e10e11091fad0be134cc6ec1524ffcf93).

Please fix the regression an introduce some test setups for eclipse.ini for final UI testing which show such errors.

I am aware that this setting is not officially supported for end users. (See https://www.eclipse.org/lists/platform-swt-dev/msg07902.html".) But that does not mean that it is meant to be deliberately broken. In particular as DPI densities are getting much higher the last years and will in future.
(Thus in my opinion this feature should be officially documented for end users in one of the coming releases.)

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions