vi-eclipse / Eclipse-Platform

Umbrella repository for managing a backlog of features/issues related to the Eclipse Platform
2 stars 0 forks source link

Toolbar Rescaled Improperly when Zoom of Other Monitor is Changed #118

Closed HeikoKlare closed 1 month ago

HeikoKlare commented 2 months ago

The main toolbar is rescaled improperly when the workbench window is placed on a secondary monitor while the zoom value of the primary monitor is changed. E.g. consider the following setup:

This is the result:\ Image

Sometimes this does not happen on first execution of the process. Repeatedly changing the primary monitor zoom between 125% and 150% will eventually result in the problematic state.

My impression is that some refresh operation is not executed. Simply rescaling the window, maximizing it or the like resolves the problem.

Addition: Changing the primary monitor zoom while having a window placed on another monitor seems to have more unintended effects. The window is rescaled even though the monitor is not affected at all. Also rescaling issues in other widgets occur, see, e.g., the onboarding area:

Image

akoch-yatta commented 1 month ago

Should be fixed by https://github.com/eclipse-platform/eclipse.platform.swt/pull/1531

akoch-yatta commented 1 month ago

PR was merged. Should be monitored with next nightly build