Skip to content

GEF cursors do not scale with Windows cursor size settings #436

@HeikoKlare

Description

@HeikoKlare

Description
Windows allows to change the default cursor size:
Image

In previous Eclipse releases (must have been before 2025-03) custom cursors adapted their size according to that setting. In current master state, custom cursors just stay like they are.

Reproduction

  • Install GEF with examples and create a "Logic Example"
Image - Select "Flow Container" from the palette and hover over the drawing pane Image - Change the cursor size in Windows settings

You will see that the size of the custom cusor when hovering over the drawing pane keeps its size while the OS cursors will be scaled. Unfortunatly, I cannot create a video of it because screen capturing tools do not capture the increased cursor size.

Expected Behavior
Custom cursors should be scaled in the same way as OS cusors are.

Additional Information
I created a ticket for adding/extending a snippet for cursor testing, which could be helpful for this ticket such that they may be addressed together:

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

    Type

    No type

    Projects

    Status

    👀 In Review

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions