Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS]: Minimized windows are no longer minimized upon app restart #24093

Closed
jerryjappinen opened this issue Feb 2, 2025 · 1 comment · Fixed by #24127
Closed

[macOS]: Minimized windows are no longer minimized upon app restart #24093

jerryjappinen opened this issue Feb 2, 2025 · 1 comment · Fixed by #24127

Comments

@jerryjappinen
Copy link

jerryjappinen commented Feb 2, 2025

Summary

Currently, when the user quits Zed and then restarts it, minimized windows are opened in unminimized state. This goes against windowing conventions on macOS. Zed should persist the minimized state per window across app quit/restart, so that the user does not have to manually reminimize windows as they work on multiple projects.

Steps to trigger the problem:

  1. Open Zed on macOS
  2. Open two or more windows
  3. Minimize some windows
  4. Quit Zed
  5. Open Zed

Actual Behavior:
All windows, even the minimized ones, are opened in unminimized state.

Zed.mov

Expected Behavior:
Minimized windows should stay minimized, even if the user quits and then restarts the app. If all windows were minimized upon quit and no windows would be otherwise visible when the app is restarted, the last active window should be unminimized.

Example from Apple Keynote:

Apple.Keynote.mov

Example from Google Chrome:

Google.Chrome.mp4

Note: This issue is not the same as #14212

Zed Version and System Specs

Zed: v0.171.6 (Zed)
OS: macOS 15.2.0
Memory: 24 GiB
Architecture: aarch64

@jerryjappinen jerryjappinen changed the title [macOS]: Minimized windows are no longer minimized upon restart [macOS]: Minimized windows are no longer minimized upon app restart Feb 2, 2025
@osiewicz
Copy link
Contributor

osiewicz commented Feb 2, 2025

This looks like a regression from #24015

osiewicz added a commit that referenced this issue Feb 3, 2025
osiewicz added a commit that referenced this issue Feb 3, 2025
)

Fixes a regression from #24015 pointed out in #24093

Closes #24093

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants