Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
then I must have another app in my mind that I accidentally resized. then I wonder what causes shortcuts to open back in default… and how could you force the OS to do that with everything
 
Screenshot 2025-08-05 at 4.10.07 PM.png
 
I don’t know how you did it 🙂 I only get “Domain com.apple.shortcuts does not exist”
And that is the reason Shortcuts doesn’t remember modifications to size/position, they are not saved in a preference file.
 
managing windows or setting them up on the mac is nightmare as hell! i use both windows and macos everyday and i find it so frustrating that on o laptop is so difficult to optimize display to fit as much windows as possible
 
Mail Main window:
Code:
defaults delete ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist DefaultWindowState

all Mail windows related preferences

Code:
defaults delete ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist "NSOutlineView Items Main Window Mailbox List-V2"
defaults delete ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist "NSSplitView Subview Frames Main Window"
defaults delete ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist "NSSplitView Subview Frames Main Window Preview Pane Vertical"
defaults delete ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist "NSToolbar Configuration MainWindow"

Tested in Sequoia 15.2, Terminal with Full Disk Access.
@Jdizzle188
This doesn’t work for me on macOS Sequoia 15.7.4 (24G517) in Terminal with Full Disk Access enabled.

I tried all of them twice, except for resetting the sidebar.

By the way, is there a shell script or something that resets all of Apple’s first-party apps? For example, like when creating a new user account, where all the apps’ windows are in their default size and position.
 
By the way, is there a shell script or something that resets all of Apple’s first-party apps? For example, like when creating a new user account, where all the apps’ windows are in their default size and position.

this is what I would pay money for. since that kind of knowhow is way above my head, I wish there was an app that just had a simple "reset" button that would do what you describe.
 
This doesn’t work for me on macOS Sequoia 15.7.4 (24G517) in Terminal with Full Disk Access enabled.
Run defaults read ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist and check if there are any other Window values.
 
Run defaults read ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist and check if there are any other Window values.
It returns:
Bash:
"NSWindow Frame Account Info" = ...;
"NSWindow Frame ActivityViewer" = ...;
"NSWindow Frame Address History" = ...;
"NSWindow Frame Compose Window" = ...;
"NSWindow Frame Connection Doctor" = ...;
"NSWindow Frame Main Window Preview Pane Vertical" = ...;
"NSWindow Frame Main Window Preview Pane Vertical Column" = ...;
"NSWindow Frame NSMediaLibraryBrowserController" = ...;
"NSWindow Frame NSNavPanelAutosaveName" = ...;
"NSWindow Frame NSSpellCheckerSubstitutionsPanel2" = ...;
"NSWindow Frame SetupAssistant" = ...;
"NSWindow Frame Torn Off Window" = ...;
 
Love this! I noticed with Photos as it happens: had it on my to do list figure it out after accidentally making it full screen, but it fixed itself!
 
can we reset Reminders.app? mine suddenly looks like it stretched across the screen in width, though height is still the same.
 
For Reminders, try
Code:
defaults delete ~/Library/Containers/com.apple.reminders/Data/Library/Preferences/com.apple.reminders.plist "NSSplitView Subview Frames TTRMMainWindowSplitView"

Code:
defaults delete ~/Library/Containers/com.apple.reminders/Data/Library/Preferences/com.apple.reminders.plist "NSWindow Frame TTRMMainWindowFrameAutosaveName"

I don't use Reminders. If the above commands don't work, please post the result of
Code:
defaults read ~/Library/Containers/com.apple.reminders/Data/Library/Preferences/com.apple.reminders.plist
 
For Contacts
Code:
defaults delete com.apple.AddressBook "NSSplitView Subview Frames ABCleanWindowController-MainCleanWindow"

defaults delete com.apple.AddressBook "NSWindow Frame ABCleanWindowController-MainCleanWindow"
 
In Sequoia, the values are saved in ~/Library/Preferences/com.apple.AddressBook.plist
So, the commands are:
Code:
defaults delete ~/Library/Preferences/com.apple.AddressBook.plist "NSSplitView Subview Frames ABCleanWindowController-MainCleanWindow"

defaults delete ~/Library/Preferences/com.apple.AddressBook.plist "NSWindow Frame ABCleanWindowController-MainCleanWindow"

If Tahoe, or other macOS version, saves them in ~/Library/Containers/com.apple.AddressBook/Data/Library/Preferences/com.apple.AddressBook.plist
then these should work

Code:
defaults delete ~/Library/Containers/com.apple.AddressBook/Data/Library/Preferences/com.apple.AddressBook.plist "NSSplitView Subview Frames ABCleanWindowController-MainCleanWindow"

defaults delete ~/Library/Containers/com.apple.AddressBook/Data/Library/Preferences/com.apple.AddressBook.plist "NSWindow Frame ABCleanWindowController-MainCleanWindow"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.