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

Skip to content

Window size is not restored properly on 2nd screen at first load of saved geom info, but is thereafter #1359

@rcoreilly

Description

@rcoreilly

Describe the bug

See the reproduction -- all on mac with 2nd monitor.

How to reproduce

  1. move window to laptop monitor from primary external monitor, and set size.
  2. close and open laptop, and observe proper memory of size as it flips between laptop when open to external when closed.
  3. quit the app, with laptop closed.
  4. start app, with laptop closed. then open lid. window goes to the laptop screen, but it is sized much larger. why!?

Example code

hopefully last issue to fix in #1341..

Relevant output

No response

Platform

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions