Skip to content

Scaling issue in WindowBuilder when Windows Scaling is not at 100% #135

@EinzKleinNico

Description

@EinzKleinNico

If Windows scaling for text, applications and elements is NOT set to 100% WindowBuilder will not show the right scaling for the components. The frame icon has double of is's normal size and close, minimize and maximize button wont show up.

I'm using all latest versions that are available and also did a completly reinstall Eclipse, WindowBuilder als well as JDK 17
Steps to reproduce

  1. Go to your Windows settings.
  2. Go to "System".
  3. If not already open, klick on "Display"
  4. Set "Scaling and arrangement" to something other than 100%
  5. In my case I got an 13.5", 3000 x 2000 Display where it's 200% scaling factor is necessary.
  6. Start Eclipse, open a project, open the file with WindwoBuilder, create what ever frame you want and go to the "Desing" page.
  7. What is the current bug behavior?

I'm not 100% sure but I thing that even while Eclipse seems to understand that Windows scaling is active, this information is somehow not providet to WindowBuilder. Even when setting auto scaling to 100% at the eclipse.ini file only fontsize and icon size that are part of the Eclipse UI change but NOT those from WindowBuilder.

I also tried to change the properties of Eclipse.exe file with my default Windows Scaliung at 200% and nothing addet to the .ini file. Therefor I searched that file, right klicked on it, went down to properties, then to compatibility and ther on "change high-DPI settings. There I enabled the overwriting of high-DPI scaling and change it to System (Extended).

Confirm both Windows and (re)start eclipse. Now WindowBuilder shows the right scaling but if you hover your mouse over the "Source" and "Desing" fields at the bottom left they disappear but you can still klick them. If you press ssome random button or field or just switch to an other application the show back up.
What is the expected correct behavior?

The same as when scaling is at 100%.

Scaling at 1
Eclipse

Scaling at 200% Eclipse2
Eclipse2

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