untoldwind / alfred2-layout

Alfred 2 Layout workflow
http://untoldwind.github.io/projects/alfred2-layout.html
199 stars 16 forks source link

El Capitan #9

Closed rawlik closed 8 years ago

rawlik commented 8 years ago

The windows do not span on the whole screen, when the automatic hiding of the menu bar is on. When using multiple displays, this seems to affect only the main one. On the other screen the windows are maximized properly.

untoldwind commented 8 years ago

Sound a bit like the same cause as this one https://github.com/eczarny/spectacle/issues/414 I suppose NSScreen.visibleFrame returns the wrong dimensions in this case.

I'll try to reproduce this once I'm back at a machine with El Capitan AND multi-screen.

untoldwind commented 8 years ago

This problem obviously also occures with a single screen. And - as predicted - NSScreen.visibleFrame does not change when menubar is set to autohide.

If there is no other way I'll just have to check with defaults read NSGlobalDomain _HIHideMenuBar if autohide is on or off and fix the dimensions by myself

untoldwind commented 8 years ago

The current Head-Version should fix this problem: https://github.com/untoldwind/alfred2-layout/raw/master/Layout.alfredworkflow

Have to check if its still working with Yosemite though

untoldwind commented 8 years ago

Just created a new release. Works for El Capitan as well as Yosemite