dustinrue / ControlPlane

ControlPlane - context-sensitive computing for OS X
http://www.controlplaneapp.com
BSD 3-Clause "New" or "Revised" License
1.75k stars 180 forks source link

Lost focus (bug) #474

Open dotPIX opened 7 years ago

dotPIX commented 7 years ago

When I open the lid of my macbook pro (10.11.5) ControlPlane switch profile correctly. But sometimes I can't use my keyboard anymore! I can select every app window with the mouse but I can't interact with them. It's like I have lost control of the focus (all the app windows are grey). This is happening since I have installed ControlPlane. I attached a screenshot with the switches I currently use:

screenshot

This app is perfect for me, i love it. But I need to resolve this annoying issue. Can you help me? Thanks

dustinrue commented 7 years ago

I'm not sure how ControlPlane could cause this but to rule it out stop loading ControlPlane for a while and see if the problem goes away or not.

dotPIX commented 7 years ago

I did some testing and I find out the problem was caused by a ShellScript used to enable/disable screensaver password:

/usr/bin/osascript -e 'tell application "System Events" to set require password to wake of security preferences to true'

How is it possible?