lwouis / alt-tab-macos

Windows alt-tab on macOS
https://alt-tab-macos.netlify.app
GNU General Public License v3.0
10.59k stars 322 forks source link

Selected window won't focus when currently focused app is an iTerm2 floating hotkey window #2911

Open lukany opened 11 months ago

lukany commented 11 months ago

Describe the bug

When the currently focused app is an iTerm2's floating hotkey window AltTab won't switch to the selected tabs.

Screenshots / video

https://github.com/lwouis/alt-tab-macos/assets/10757595/5208fa00-c28d-4eb0-a071-fb5d678beb55

Steps to reproduce the bug

  1. Install iTerm2
  2. Configure hotkey floating window in iTerm2
  3. Open the hotkey window
  4. Activate AltTab and try switching into another application
  5. The selected application is not focused. Instead, the application focused before opening the iTerm2 hotkey window is focused.

Your environment

lwouis commented 11 months ago

Hi @lukany,

I wasn't able to reproduce the issue. Please see this screen recording.

I'm wondering how you have set up your iTerm floating window. Here is how I have set it up:

image

Could you please help me understand how to reproduce the issue?

Thank you 🙇

lukany commented 11 months ago

Thanks for picking this up!

I attach screenshots below with my iTerm2 settings regarding hotkey window:

image image image

I also noticed one more thing: the bug manifests only when the hotkey window is the only opened iTerm2 window. I.e. when I open another non-hotkey window then switching works correctly even from the hotkey window.