fikovnik / ShiftIt

Managing windows size and position in OSX
5.54k stars 360 forks source link

Stopped working with the latest Mac Update - 12.2 #320

Open rishiii opened 2 years ago

rishiii commented 2 years ago

Not working and no updates available

maxizu commented 2 years ago

I can confirm this problem. Not working anymore with macOS Monterey 12.2

Dan-Bird commented 2 years ago

I've just updated to Monterey 12.2 as well and it stopped working for me.

Going through the steps in this comment on a previous issue worked for me, and now ShiftIt is working again.

I first quit ShiftIt, then removed its permissions in Security & Privacy > Accessibility as the previous post states, and added them back.

sanchezm commented 2 years ago

Not working for me as well, after upgrading to macOS 12.2. Will load up, but crashes immediately on first use. Tried @Dan-Bird's advice above, but app still crashes.

gasedwards commented 2 years ago

I got it working again in the same way as @Dan-Bird, above (after a moment of panic -- so dependent I am on this great tool!)

EDIT: Stopped working immediately as per @sanchezm

EDIT 2: Seems my issue is the apparent incompatibility while Zoom/Teams has an open call mentioned in #319. When I close the videoconferencing app or end the meeting and functionality resumes. Not great, but better than nothing. I never had that problem before 12.2.

sanchezm commented 2 years ago

I don't have zoom actively running; however, I do have a webex (another web conferencing app) utility running. After @gasedwards' comment above, I killed the webex app and shiftit was working again! Annoyingly, for webex you don't have to be in active meeting/call for shiftit to crash.

Thanks to @gasedwards and @Dan-Bird for the all the valuable information.

rishiii commented 2 years ago

Even after issuing the permissions again, the functionality remains erratic. Stops working most instances. Problems noticed running parallel with - Google Chrome / Google Meet

xinzweb commented 2 years ago

After reinstall, and fix the accessibility I also need to change the key combination from ctl-opt-cmd to ctl-opt, and it works so far.

ubershmekel commented 2 years ago

I've tried the instructions in that comment https://github.com/fikovnik/ShiftIt/issues/315#issuecomment-738879613 and also tried changing the shortcut key per @xinzweb. But in all cases - if my microphone is recording audio - the windows will not move. To test this, I have audacity installed, but you can also just use Photo Booth. When you're recording video, or are in a video call like Google Meet - the windows do not shift. I know it has to do with audio recording because when I record my screen with quicktime or look at my webcam feed at https://webcam-test.com/ there is no problem shifting windows.

fmccready commented 2 years ago

I just updated to 12.2 and it stopped working. 😞 If I did not need to be on this version of macOS for other things I would downgrade in an instant to get ShiftIt working again! Here is an entry from the debug logging.

2022-02-09 09:06:14.155 ShiftIt[81103/0x1078e3600] [lvl=3] -[ShiftItAppDelegate invokeShiftItActionByIdentifier_:] Execution of ShiftIt action: right failed: Unable to get active window
NSError stack trace:
org.shiftitapp.shifit.error:20103 - Unable to get active window
  Caused-by: org.shiftitapp.shifit.error:20101 - Unable to find focused window owner
andrewg-xyz commented 2 years ago

Can confirm same logging and error as @fmccready

danadajian commented 2 years ago

I would highly recommend switching to hammerspoon-shiftit, which is a plugin for Hammerspoon. I just followed the steps in the README on Monterrey 12.2 and it works exactly like ShiftIt! (Plus it appears to actually have an active maintainer! 😄 )

ubershmekel commented 2 years ago

It's more complicated to install https://github.com/peterklijn/hammerspoon-shiftit but I can confirm that it works for me on the new MacOS version even when I'm recording audio or on a call.

Dan-Bird commented 2 years ago

I've recently discovered Rectangle, which can do pretty much the same thing. The free version has been enough to replace ShiftIt for me.

I've also set it up with the same keybindings as I had on ShiftIt. Works during calls for me so far on Discord, Slack, and Google Meets.

gasedwards commented 2 years ago

I would highly recommend switching to hammerspoon-shiftit, which is a plugin for Hammerspoon. I just followed the steps in the README on Monterrey 12.2 and it works exactly like ShiftIt! (Plus it appears to actually have an active maintainer! 😄 )

Hammerspoon is the way to go. It was really easy to install and is working perfectly for me, with none of the issues that ShiftIt has in 12.2 with videoconferencing apps (#319)