Skip to content

[win32] Drop from other application not working on secondary monitors #2246

@HeikoKlare

Description

@HeikoKlare

Describe the bug
When using multiple monitors and dropping an element dragged from, e.g., the Windows explorer into a tree viewer, it does only work on specific zoom values of the primary monitor. On secondary monitors, dropping is always forbidden. On the primary monitor, for some zooms the drag position has an offset to the current mouse position.

To Reproduce

  • Have at least two monitors at different zooms
  • Start an Eclipse SDK
  • Drag elements from the Windows explorer into the package explorer

Move the SDK window between the monitors and change the primary monitor zoom to see different effects of forbidden dropping and drop offsets.

Expected behavior
Dropping should work at the exact mouse position on every monitor at every zoom.

Screenshots

Image

Image

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)
    Windows 11

  2. JRE/JDK version
    Eclipse Temurin 21

Version since
Issue can be experienced in Eclipse 2025-06 and still in latest I-Build. I am quite sure this was already fixed for 2025-06 M2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIIssues related to High resolution monitorsWindowsHappens on Windows OS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions