mattr- / slate

A window management application (replacement for Divvy/SizeUp/ShiftIt)
GNU General Public License v3.0
614 stars 39 forks source link

Slate frozen when some app not responding #42

Closed ocehugo closed 5 years ago

ocehugo commented 9 years ago

Hi,

sometimes apps stop responding. It's a shame, but happens a lot in OSX. The problem here is that slate keep waiting for these apps to respond and you got a non working slate when some app is not responding. If the app for some reason return to work ( after an idle time) slate start to resizing the windows in a "first in first out" fashion.

The problem here is that at the moment the user realize that some app is not responding, he already pressed the keycodes several times (why this is not working!?). If he kill the app, the windows will get all around in the keycode order at the kill time. Of course if the user waits, the commands will be executed when the app send a response, but most of the time it's too late, and resizing just mess with the screen and generate distraction.

I often face this editing files in vim, sending some commands in the background to an app that generate graphics/windows. But sometimes this takes some time and in this time window, if i want to resize/send slate commands i will need to wait the command in the background (graphics and windows) to complete.

Any clues how to solve?