Skip to content

Window size is overwritten when maximized [Regression] #3227

@wahlbrink

Description

@wahlbrink

The window size saved in the model is overwritten when the user maximizes the window.

This is a regression introduced by #3055

The change wrongly removed the return after it sets the ShellMaximizedTag.

Steps to reproduce

  • Resize the window
  • Maximize the window
  • Restart -> the size is lost

Tested under this environment:

Version: 2025-09 (4.37)
Build id: I20250827-0600
Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions