-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
Milestone
Description
Description
When dragging and dropping a file from the Package Explorer or a field/method from the Outline view, the dragged item appears at an incorrect zoom level. Specifically, it uses the zoom level from the primary monitor at the time Eclipse was launched, rather than the current zoom scale of the active display. This issue is particularly noticeable in multi-monitor setups with different DPI settings and affects usability and positioning accuracy during drag-and-drop operations.
Reproduction
Steps to reproduce the behavior:
Scenario 1
- Start the runtime workspace with 175% zoom on primary monitor.
- Now change the display zoom from windows setting to 250%
- Try to drag the class or method from package explorer as showed below
- The dragged item looks bigger than the original one
20250519-0925-57.1484593.mp4
Scenario 2
- Start the runtime workspace with 175% zoom on primary monitor.
- Now move the window to secondary monitor with 150% Zoom
- Try to drag the class or method from package explorer as showed below
- The dragged item looks bigger than the original one
20250519-0927-30.9439028.mp4
Expected Behavior
The dragged item should be of the same size as it shows in the package explorer.
Necessary configuration:
Use these arguments before starting the runtime workspace:
-Dswt.autoScale=quarter
-Dswt.autoScale.updateOnRuntime=true
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done