Gap at the bottom of maximized windows
How can i get rid of the gap at the bottom of the screen when i maximized a window? The gap is almost imperceptible but at the bottom of a maximized window a few pixel are not filled, there one can see the desktop. If i go into full screen mode with a window, the 5 - 10 pixels get filled.
My os version is OS X 10.9 Mavericks
To better see the issue I enlarged the part at the bottom:
Those 5 pixels are tied to the Dock. You can position the dock on either the left of right side instead, but the gap stays on the side of the Dock. I think this is something fairly low level with the Dock, as window managers (like Spectacle) will maximize windows and not use the gap.
My $0.02: If you have a lot of screen real estate, as it looks like you do, I say shrink some of your windows to a more appropriate size and/or fullscreen windows instead of maximizing them.
Drag the entire window down until it covers up the gap. Then resize the window at the top to cover the gap left at the top of the screen. Then you have no gaps.
I've come across a few ways to work around or completely fix this:
1) Minimize the effects with the following settings under System Preferences > Dock
:
- Automatically hide and show the Dock
- Position on screen: Right (or left)
If you want to achieve that with a script instead, it'd be:
defaults write com.apple.dock autohide -bool true
defaults write com.apple.Dock orientation -string right
This makes the windows on my primary monitor truly maximized when I alt+shift+click
the green window button. The windows on my secondary monitor still have the gap, but it's much less noticeable on the side of the window than the bottom, and I don't look at that monitor as often as my primary one anyway.
2) Override the Dock's gap completely with BetterTouchTool or BetterSnapTool. I haven't tried this personally, but I've read several sites saying that they fix this problem (for example).
Either change your desktop wallpaper to black, so you don't notice it; or add a black 5px line to the bottom of your preferred wallpaper.
I actually hacked the system... based on some of the other answers.
You can temporarily move the docker on the left, expand your window, and then move the docker back to the bottom. The window stays then.
Also note that Chrome is not affected at all by this nasty "bug". In my case, only Emacs is.
EDIT: For crying out loud; when you ALT-TAB the effect is gone.