Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Two Screens issues on Windows: not detecting new screen when moving, and crashing on restore from minimize #1360

@rcoreilly

Description

@rcoreilly

Describe the bug

when you move a window to a different screen, it doesn't seem to detect that, and this results in: 1. frame constraint bouncing the window back to the original screen; and 2. not getting the new dpi of the new screen.

also, minimizing works but then it tries to restore and emits a "surface cannot be 0, 0" kind of error -- should be an easy fix.

minimizing and restoring works fine on mac. need to also test on linux.

Both for #1341

How to reproduce

do it.

Example code

No response

Relevant output

No response

Platform

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions