Describe the bug
When using multi-monitor setups with the different monitors having different zooms, it sporadically happens that view toolbars show unexpected icons.
Here are two example:


Sometimes you can also see that just when hovering the shown images are different.
To Reproduce
The behavior is not easy reproduce in a deterministic way, but I see it happen with the following flow very often.
Preparation:
- Set up the system to have a 100% primary monitor and 125/150% (other zooms not tested yet) secondary monitor
- Prepare a (runtime) Eclipse instance:
- shared area contains a Java editor and a Manifest editor, the Java editor being the active one
- one view stack contains the outline
- place the application window on the primary monitor
So you start with something like this:
Workflow
Then do the following:
- Restart the runtime Eclipse instance
- Move the window to the secondary monitor
- Switch to the Manifest editor (the Outline view and its toolbar items change)
- Move the window back to the primary monitor
- Switch back to the Java editor
- Move the window to the secondary monitor again
You end up with this (see the wrong icons in the outline view toolbar):

Expected behavior
Proper toolbar icons to be shown independent from the zoom setup.
Environment
- Select the platform(s) on which the behavior is seen:
-
Additional OS info (e.g. OS version, Linux Desktop, etc)
Windows 11 22631
-
JRE/JDK version
Temurin 25.02.2.10
Version since
Probably since 2026-03 caused by this PR:
Workaround (or) Additional context
As a workaround, one can enforce a refresh of the view toolbar by changing to another view in the part stack or by switching to another editor that leads to a different view toolbar (in case of the outline view).
I have found this issue together with a potential solution when working on another issue and will provide a PR that should fix the issue (mostly by reverting the mentioned PR) soon.
Describe the bug
When using multi-monitor setups with the different monitors having different zooms, it sporadically happens that view toolbars show unexpected icons.
Here are two example:


Sometimes you can also see that just when hovering the shown images are different.
To Reproduce
The behavior is not easy reproduce in a deterministic way, but I see it happen with the following flow very often.
Preparation:
So you start with something like this:
Workflow
Then do the following:
You end up with this (see the wrong icons in the outline view toolbar):

Expected behavior
Proper toolbar icons to be shown independent from the zoom setup.
Environment
Additional OS info (e.g. OS version, Linux Desktop, etc)
Windows 11 22631
JRE/JDK version
Temurin 25.02.2.10
Version since
Probably since 2026-03 caused by this PR:
Workaround (or) Additional context
As a workaround, one can enforce a refresh of the view toolbar by changing to another view in the part stack or by switching to another editor that leads to a different view toolbar (in case of the outline view).
I have found this issue together with a potential solution when working on another issue and will provide a PR that should fix the issue (mostly by reverting the mentioned PR) soon.