Spectacle: Full screen shortcut leaves a small gap between the window and Dock when the Dock is set on either side

Created on 26 Nov 2016  Â·  7Comments  Â·  Source: eczarny/spectacle

Having the dock on the right (or left) side of the screen, and using the full screen shortcut leaves a small gap between the window and the Dock. This doesn't happen when using the shortcut to move to the half where the Dock is.

Using Right Half shortcut:
screen shot 2016-11-26 at 12 57 21 pm

Using Full Screen shortcut:
screen shot 2016-11-26 at 12 57 12 pm

defect ★

Most helpful comment

@lacostenycoder https://github.com/eczarny/spectacle/issues/280#issuecomment-236540753 may help you out

All 7 comments

Yep ! I confirm that!
I thought this was only me..

I investigated this a bit and it looks like the result of rounding in the window calculations. My guess is folks with different display resolutions may or may not see this discrepancy.

@alvarosevilla95 and @ttben I might have found a workaround for this issue that introduces one additional move to the left (a bit of jiggle) but did fix a similar issue I saw.
Let me know if you want to try a test build to see if it fixes your problem too.

I have similar issue but not related to dock. I use ITerm in full screen often with multiple tabs etc. If is resize Iterm by hand or with Spectacle, it doesn't cover the full screen. But for some reason only on Iterm. The only way to get it back to where it's not in weird 98% fill is to close all tabs / windows and launch a new one. In first image, it's subtle but annoying because I use a dark window, light background shows at bottom and sometimes sides. Playing with Iterm settings has no effect on Spectacle behavior.

After Spectacle full screen:
screen shot 2017-04-05 at 4 07 35 pm

Fresh launch Iterm before ever using Spectacle full screen:
screen shot 2017-04-05 at 4 12 03 pm

From some Google searching, the dock reserving 5 or so pixels has been around for a long time.

@worriorbg I would like to test your fix.

@lacostenycoder https://github.com/eczarny/spectacle/issues/280#issuecomment-236540753 may help you out

@jakeonrails wow thank you so much!!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

quinncomendant picture quinncomendant  Â·  3Comments

dimitrieh picture dimitrieh  Â·  4Comments

adamtwo picture adamtwo  Â·  9Comments

joshua-barnett picture joshua-barnett  Â·  7Comments

mcmccaleb picture mcmccaleb  Â·  6Comments