-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Some focused windows don't pop to the front #3823
Comments
Hi @w2w2k2k2, I can't reproduce this issue. Do you use BTT, Karabiner, other apps which could interfere? Thank you 🙇 |
@lwouis Will share a screen recording EOD today. |
@lwouis Please see the recording (next comment):
|
384189638-8489fdaf-ba1c-4d5a-85b1-7d8375957bed.mov |
Thank you for the video. |
Retested on 15.1 and still works correctly. I don't have any idea how to debug this further, unfortunately |
@lwouis I have the exact same issue, I tested several my most used APPs, and separate them into two groups: have issue:
works fine:
macOS: 15.1.1 After conducting these tests, I discovered that the apps with issues shared the same characteristic: when closed with Command+W and reopened, the app's interface lacked the "rendering" process. It seemed as though the app's main interface was merely "hidden" by Command+W. Take Apple's native applications as an example: when you close and reopen Calendar.app using command+W, the main interface remains unchanged. In contrast, reopening Mail.app involves a process of loading emails along with corresponding animations. Although I'm not sure what causes this difference, I'm quite certain this discrepancy is the reason for the bug. |
@realCrush thank you for your hard work! It's a good thing that these settings are now confirmed to be neutral for this issue |
I have simillar problems, for example today I'm unable to switch to MS Teams app via alt-tab: on top menu bar I see correct App Name (Microsoft Teams), but other app window is in foreground (Word). It seems everythig is working OK for some time after macos reboot... maybe disconnecting and reconnecting from 2nd external monitor (extended desktop) via USB-C and therefore changing windows placement among Desktops is somehow a problem? Regularly there is problem switching between windows among same desktop and also two differend desktops. When I quit alt-tab and use original macos app switcher or mission control focusing the app works. Note: On a build-in monitor I have only one macos Desktop, on external monitor I use two desktops... so total 3 separate desktops. MacOS: 15.1.1, latest MS teams. |
I have the same issue after updating to Sequoia; now AltTab is almost unusable for me. I found a kind of workaround using a Hammerspoon script:
Still not working well enough for me, but maybe it will help someone. Btw, I guess this issue connected with #3747 |
@lwouis Update: after I uninstall CleanMyMac X on my Mac, everything works fine with the latest AltTab, unbelievable! |
I bet some software affected MacOS and triggered this bug.
|
I had similar issue at 14, 15.0 15.1 |
Its happening if you exist app with CMD+W and lunch it again, if you QUIT it and reopen it should work but after you use again CMD+W its happening again |
Yes it happens on most of the apps. |
So is there any possibility of fixing it? or can we do someting make it better? |
I can repro this 100% of the time when attempting to switch to a full-screen Zoom meeting in which somebody else is screen-sharing. |
Sad news: I don't know the reason, but the bug appeared AGAIN and I didn't install CleanMyMac |
I have no idea how this started or why it's happening. This issue began 1 to 2 weeks ago for no apparent reason. I didn't update the OS or install anything new. As you can see from the image, I tried all of these previous versions, but none of them fixed the issue. The only interesting observation was with versions 6.35.0 and 6.27.1. When I try to reproduce the issue by pressing Command + W to close the window and then reopening it, the app completely disappears from the menu. As you can see in the image, Notion Calendar (and Telegram and Slack), is open. However, since I pressed Command + W for each of them, they have completely disappeared from the menu. The behavior may seem meaningless since the old versions might have been implemented differently, but I thought it would be worth sharing. I also tried it with Finder but it was acting normal and as expected. The app/window might be handled differently at the OS level, but I'm not sure. |
In case it helps to debug, this issue only happens with the Slack app for me (macOS 15.2 (24C101), AltTab 7.18.0, Slack 4.41.105) Unfortunately, it happens 90% of the time, which makes it really difficult to rely on AltTab.. |
Hi, I can't reproduce with any app, on my system. As discussed above. I think the issue lies with the specific apps. I believe this because of feedback like @superlevure. Slack has shown multiple issues already. We know it's a cross-platform Electron app. They do non-native behaviors on macOS, like when you close the window, it's not closed but hidden instead. Please open tickets to these apps customer support, if possible. Nothing we can do on our side. @SamadiPour your issue is different. It's #4108. Also, I installed Notion Calendar, and couldn't reproduce the issue on my machine. Thank you |
FWIW, I have not noticed the issue at all in the past week. |
I have stopped using AltTab for a few days now due to this bug with Slack, today I ran into the same issue with the default MacOS app switcher 😬
That confirms your theory @lwouis, for my case at least |
I may have found a solution:
|
you have no idea how much I have been trying to find solution, thanks! |
Careful that this is a workaround, not a replacement. Doing this means that AltTab will activate apps instead of focusing windows. It may work for your workflow, but it may not be what some people need. Ideally focusing windows would work. It seems that either some apps have bugs in how they are implemented, or that the OS has bugs. I don't see anything actionable on AltTab side, unfortunately. |
Hi! Are there any logs that may help with that? I've been working with "debug mode" enabled since yesterday to catch the bug, and here are the highlights: – from Safari to Slack (nothing happens; I stay on Safari)
– from Safari to Telegram (same thing)
Full log (line breaks by myself)
It's painful because your app is basically the only good alternative for a decent "window switching" UX on MacOS, but it's completely broken for the main apps in my routine. 😞 |
@garrucho Unfortunately logs can't help here. AltTab sends the focus order to the OS. What happens after that, it doesn't control. Please see #3823 (comment) I'll close this ticket now. Sorry I couldn't do more 🙇 |
I am seeing the same problem. Mostly with Teams and Calendar. I have it on two different MacBooks. Only change I can remember in the last weeks is that I started using a Logitech Mouse with the Logi+ App, but the other computer isn't using that. I also started using Raycast around the same time. Maybe that helps. |
To me it seems that some apps don't respond correctly after some time to "bring the app window to the front" command. Can someone pinpoint this particular command? I was unable to bring to frond Cisco Webex app for some reason, also new Teams and Outlook. There is also problem with Parallels, when there is multiple monitor setup and multiple windows of same app opened (word) on different windows - wrong app window is focusing. @lwouis, could you hepl with identifying:
Thank you. |
@bangom This is the method which handles the various types of focus/activation: alt-tab-macos/src/logic/Window.swift Line 169 in f42ffa6
|
This has been happening to me with a handful of apps, with Microsoft Teams being the most aggravating culprit. Strangely, I have accidentally "fixed" it with one of the below steps:
I did absolutely nothing other than the above, and the trick seemed to be to use Raycast's Switch Window extension to focus on Teams once, and the expected behaviour now persists. I assume this means Raycast could be doing something funny, but my technical understanding ends at "weeeeeeeeee it works again". |
This issue was opened by a bot after a user submitted feedback through the in-app form.
From: w2w2k2k2@gmail.com
Message:
Debug profile
The text was updated successfully, but these errors were encountered: