Skip to content

Windows Disappears When Changing Screen Resolutions #2282

@geonerdist

Description

@geonerdist

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
After using an ultrawide high resolution monitor with a laptop closed while plugged into a docking station and unplugging the laptop from the docking station the draw.io desktop window does not display. Similar to Issue #1699 with the exception that only one monitor is being used at a time. The external monitor in question has a resolution of 3840 x 1600 and my laptop as a resolution of 1920x1200.

To Reproduce
Steps to reproduce the behavior:

  1. I put the draw.io on the right half of my Ultrawide monitor.
  2. Close draw.io
  3. Unplug laptop from dock
  4. Open draw.io on laptop screen, window does not appear

Expected behavior
The draw.io window should appear on the laptop screen after the last window size is no longer valid due to a decrease in screen resolution.

Screenshots
I can pull together a screen recording, just need some time to do so.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 29.0.3

Desktop (please complete the following information):

  • Windows 11 Pro

Additional context
Resetting lastWinSize in the config.json from the linked issue allowed the window to be displayed on the laptop screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions