Skip to content

Surface lags behind on window resize #3756

@nohenry

Description

@nohenry

Description
When resizing the window, the wpgu surface does not keep up with the size of the window. This is possibly a problem with winit instead.

Repro steps
Run any example in the wgpu/examples folder

Expected vs observed behavior
I expect the surface to resize exactly to the current window dimensions:

Screen.Recording.2023-05-07.at.1.11.19.PM.mov

But instead the surface lags behind the current window size:

Screen.Recording.2023-05-07.at.1.09.50.PM.mov

Platform
This is running on MacOS Ventura (Metal). Using wgpu on v0.16 git
I've not tested on Windows or Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: wsiIssues with swapchain management or windowingbackend: metalIssues with Metalplatform: macosIssues with integration with macostype: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions