Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh alttab when external monitor/s are dis/connected #2983

Open
EcksDy opened this issue Nov 15, 2023 · 3 comments
Open

Refresh alttab when external monitor/s are dis/connected #2983

EcksDy opened this issue Nov 15, 2023 · 3 comments
Labels
bug Something isn't working unclear Need help from the author to provide more information to flesh out the issue unreproducible Need help from the author to reproduce the issue

Comments

@EcksDy
Copy link

EcksDy commented Nov 15, 2023

Is your feature suggestion related to a problem? Please describe.

These are the settings I'm using, note that I show windows only from the monitor where the alttab is shown.
image

Currently I have to close and reopen alttab to show the actual windows on the monitor when I connect/disconnect external monitors. I actually have it on an automator script that I run when that happens.

Describe the solution you'd like
I want alttab to detect any monitor dis/connection and make sure the correct windows are shown.

@EcksDy EcksDy added the enhancement New feature or request label Nov 15, 2023
@lwouis
Copy link
Owner

lwouis commented Nov 15, 2023

Hi,

Could you please share a video showcasing the issue? I can't reproduce it.
I'm wondering if the issue you face could be #1324?

Thank you 🙇

@lwouis lwouis added bug Something isn't working unreproducible Need help from the author to reproduce the issue unclear Need help from the author to provide more information to flesh out the issue and removed enhancement New feature or request labels Nov 15, 2023
@EcksDy
Copy link
Author

EcksDy commented Nov 27, 2023

Hey @lwouis ,
first of all thank you for the amazing software, alttab is beyond anything else there is out there. My mac experience would be unbearable without it 🙏

I couldn't make a video, but I made screenshots and detailed reproduction steps:

My spaces are turned off.
My external monitor acts as the main monitor(will call it that from now on), and the builtin is secondary. So the menubar is on the external only.

  1. Mac asleep, disconnected from anything.
  2. Connect HDMI cable
  3. Open up the lid, login
  4. All windows are on the main monitor, these are the screenshots of mission control:
    Main:
image Builtin: image
  1. Try to alttab, these are the screenshots of alttab from both screens:
    Main:
image Builtin: image
  1. Disconnect HDMI, and all windows gather to the builtin screen(on mission control and alttab)
  2. Reconnect HDMI, windows return to their places(I have DisplayMaid configured), and alttab also picks up on the changes.

To me it seems that the issue is when waking up from sleep when everything is connected.
When I had a docking station with 3 screens at my previous workplace this was very pronounced. Maybe there are some other cases, I'll try to monitor them.

In any case, I think that a double click on the menubar icon, or an entry in the icon context menu that will force the alttab to refresh - can be a nice addition :)

@lwouis
Copy link
Owner

lwouis commented Jan 9, 2024

Hi @EcksDy,

I can't reproduce your scenario. AltTab always shows what's on the screen correctly to me. Furthermore, on your step 4, you write "All windows are on the main monitor". In my case, when I open the macbook lid, and log in, windows are spread accross both monitors, as they were previously.

In my attempts, macOS always remembers where windows were. If I disconnect the external monitor, all windows go onto the builtin display. However, as soon as I reconnect the external monitor, windows which were previously there go back there.

I don't understand how you get to step 4. And on Step 7, you mention that reconnecting HDMI will have the "windows return to their places".

What version of macOS and AltTab are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unclear Need help from the author to provide more information to flesh out the issue unreproducible Need help from the author to reproduce the issue
Projects
None yet
Development

No branches or pull requests

2 participants