FelixKratz / JankyBorders

A lightweight window border system for macOS
GNU General Public License v3.0
1.31k stars 21 forks source link

Loss of keyboard and mouse input after "Log Out User" #118

Open pkazmier opened 2 months ago

pkazmier commented 2 months ago

I have installed borders, configured it with a bordersrc, and added it to brew services for startup. Every time I go to "Log Out User" in the Apple menu, windows close, and I'm returned to the login screen except that my keyboard input no longer works, so I cannot log back in. And my mouse pointer is able to move, but you can't click on anything like the power button to restart, so I have to hold down the power button to reboot.

#!/bin/bash

options=(
  width=8.0
  hidpi=on
  active_color=0xffa6e3a1
  inactive_color=0x00000000
  )

borders "${options[@]}"

I'm running the following on an Intel iMac Pro with Sonoma 14.6.1. Borders version 1.6.0 installed from home-brew today.

I initially thought this might be an issue with aerospace as I had added borders to my config there. However, I was able to reproduce the issue eliminating aerospace altogether and launching up borders via brew services. And because I think something is hanging, I'm not sure there are any good logs to look at. But any pointers would be appreciated.

Thanks!

Bellavene commented 1 month ago

I believe, it has nothing to do with border. When you log out all user processes are closed automatically, and you need special system rights to interfere with login screen after log out. I highly doubt that you can even give those rights by mistake.