Skip to content

No relayouting when dragging to monitor with different zoom and browser is opened #530

@HeikoKlare

Description

@HeikoKlare

Description
When a browser is open in the workbench window, dragging the window to a monitor with a different zoom will only relayout the contents when the mouse button is released.

Image

Reproduction
Open a fresh SDK, such that the welcome view is open (or just reopen manually or any browser like the "Internal Browser" view). Drag the window to a monitor with different zoom and keep the mouse button pressed. Only once you release the mouse button, the window contents will relayout.

Expected Behavior
Even with a browser open, the window should relayout while dragging to a monitor with different zoom.

Additional knowledge
This is probably related to an embedded window handle. Either this prevents some event processing or maybe the counter for the DPI change event does, for some reason, not decrement to 0 here, such that the even processing does not trigger a relayout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWTregression

    Type

    No type

    Projects

    Status

    👀 In Review

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions