Skip to content

Dynamically adapt SWT on 'SWT.ZoomChanged' event on single monitor. #127

Closed

Description

@niraj-modi

This bug is to adapt SWT/Eclipse dynamic to changing OS zoom values:
It will require adapting all the SWT widgets to work on the new zoom value.

Note: This is a big ticket item and it will require lot of changes in SWT, here the branch where i could partially achieve this:
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/?h=nmodi%2FDynamicDPI_4909

Since this was partially working then and hence we opted to restart Eclipse on 'SWT.ZoomChanged' event:
https://www.eclipse.org/eclipse/news/4.9/platform.php#zoom-changed

Activity

  1. 281 remaining items

  2. HeikoKlare commented on Sep 9, 2025

    @HeikoKlare
    Contributor

    This issue has been resolved with the "monitor-specific UI scaling" feature and the according improvements done for it. With that feature, shells adapt their zoom to the current monitor:

    Remaining issues with that feature are tracked in this umbrella:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsHappens on Windows OS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions