Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
You have to delete window_placement from ~/Library/Application\ Support/BraveSoftware/Brave-Browser/Default/Preferences
Open the Preferences file with TextEdit and delete what looks like this:
"window_placement":{"bottom":1066,"left":22,"maximized":false,"right":1506,"top":47,"work_area_bottom":2117,"work_area_left":0,"work_area_right":3840,"work_area_top":25}},

Works for Google Chrome, too:

.../Library/Application Support/Google/Chrome/Default/Preferences
 
@bogdanw

Would appreciate it if I could get the Terminal reset command for the Activity Monitor. I am on macOS 15.1.
 
Terminal reset command for the Activity Monitor. I am on macOS 15.1.
Main window first
Code:
defaults delete com.apple.ActivityMonitor "NSWindow Frame main window"
defaults delete com.apple.ActivityMonitor "NSWindow Frame CPUWindowFrame"
defaults delete com.apple.ActivityMonitor "NSWindow Frame GPUHistoryWindowFrame"
defaults delete com.apple.ActivityMonitor "NSWindow Frame expanded window"
Terminal needs Full Disk Access.
 
Excellent info!

Anyone knows how to reset Mail to default window size?

Thanks
 
My action for the new year to reset all my window sizes on my backup Mac (MBA)...

settings > general > erase everything and start over for 2025 :)

but on a serious note (I actually did the above), I appreciate this thread. I don’t know personally how to dig into the OS that deep, so thank y’all for sharing your knowledge.
 
Anyone knows how to reset Mail to default window size?
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
 
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
Thank you!!!
 
what do I do if the command above for the mail main window does not work? I copy it and paste it into terminal and hit enter while mail is closed. then when I reopen mail it is still on the “wrong” position on the edge of the screen. (I put it into full screen mode and when I took it out of full screen mode it moved itself into the bottom left hand corner.
I have full disk access turned on for terminal in settings.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.