Skip to content

🐞 Window Size Restoration Broken #1787

@thecoolwinter

Description

@thecoolwinter

Description

In #1776 the window size restoration mechanism was broken. It still saves the window's position (and likely the size) but the size is no longer being set correctly. This is likely due to the fact that the previous mechanism to do this was a hack to trick SwiftUI into setting the initial window size.

To Reproduce

  • Open a workspace
  • Resize/move the window
  • Close the window
  • Open the workspace again
    • The size and position are not the same as when it was opened.

Expected Behavior

The window size & position should stay the same after closing and opening the workspace window.

Version Information

CodeEdit: 0.1.0

Additional Context

No response

Screenshots

bad.mov

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

🏁 Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions