Skip to content

WebviewWindow doesn't adhere to x,y on Mac #1023

Open
@someone2080

Description

@someone2080

Describe the bug
Bug is very similar to 11430

Reproduction

When I try to create a new window using WebviewWindow with x,y options, the newly created Window appears on the Display, based on the x,y coordinates, but then jumps to the primary Display. I have to use setPosition method to move it to the right Display.

This behavior can be fixed with setPosition, ex: await webview.setPosition(position), but the workaround won't work if the screens have different scale/ratio, see image:

Screenshot 2024-12-08 at 4 27 20 PM Screenshot 2024-12-08 at 4 28 16 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions