-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Few apps with no windows wont show up in switcher even if running in bg #3673
Comments
Hi, Discord is not a native macOS app. It's a cross-platform, Electron app. They do things a bit differently. When you close the last window, it actually hides the app. The app is still open, and the window is still open. The app is just hidden which hides all its windows. You'll find the window in the switcher. You won't find it on the right side since it's an app with a window. Just a hidden app. Thank you 👍 |
yea but when you look at vs code or notion, those apps even if closed all windows of it(but still running) wont show up in switcher at all, even if you turn on show hidden apps(though discord does). Though i think this behavior is more of a bug and electron apps like discord is more intentional. Screen.Recording.2024-10-12.at.1.19.58.PM.1.mov |
@lwouis please do look into this bug, i was facing the same issue before too even with discord and other apps too but these apps not showing up is definitely a bug |
I have been testing this bug on prev versions too and i can confirm even 6.73.0 has this bug and this kind of completely breaks the use of shortcut functionality in the switcher too. Pressing "W" to close window of an app in switcher closes the window but the switcher still shows that the window is open. Too many bugs when "Hide apps when no open window" is turned off. |
Hi @ishaanrathodd, I think I must have explained it poorly.
This is what Discord wants. They implemented that when you click on the (x) icon, or send a shortcut to close the window, instead of closing it like other apps, they keep it open, and hide the entire app. So visually, you see the window go away. However, it's still very much open. You can right-click on the Dock, and see that the app is still open and that the window is still open. AltTab is only reporting what's going on. It's not responsible for that UX decision from Discord. This issue has been discussed many times before, so I'm familiar with the situation. It's 100% Discord doing unintuitive things, and users getting confused. Nothing AltTab can change. Please address your feedback to the Discord Support. Thank you 🙇 |
I understand that. Please see the video i attached, im not talking about discord at all, im talking about apps like notion and vscode. I understand what you say about discord, but im sure vscode is not an electron app, neither is it shown as a hidden app in the switcher app when no windows are open. I hope you understand what im saying |
Hi @ishaanrathodd, I checked the video, and indeed some apps have no windows showing. My best guess is that you're seeing the symptoms of #1324. I'm guessing that the missing windows are not on the active Space, and that you've not visited their Space since AltTab was opened. Thank you 🙇 |
Soooo, the apps that are not showing up in the switcher have no open windows, and the issue u referenced, is there any possible fix for this? Coz unfortunately this makes it very difficult to use the switcher 😔 Btw theres an app called 1Piece which is similar to alttab and it shows apps from all spaces. The only feature it doesnt have is displaying apps with no open windows. Maybe if that app has this functionality possible, it IS possible to integrate that in here too? unfortunately that app is not open source and i like to support open source apps so my primary switcher is alttab. |
Could you please share a screenshot of your settings in |
let me also tell you, this is not a consistent bug, the apps appear half the times and half the times it doesnt |
Thank you for sharing these! From all the data, I can't make sense of what's happening. This functionnality hasn't been touched in 4 years. It's pretty solid. I don't see why it works for everyone except just you. I don't have a clue what could be the root cause. Could you please run this in Terminal.app and share the output?
Also could you please click on AltTab icon at the top, and Thank you 🙇 |
" output of terminal. Also sent you the debug profile. |
Thank you for sharing this. In the preferences, I see I think you can find your issue by toggling the setting here on then off again: Now the golden question is: how can this setting by The only scenario I can imagine is that you've updated the preferences with something like Do you remember doing anything like that? Is you issue fixed now with a restart of AltTab or a toggling on then off? Thank you 🙇 |
@lwouis I turned on "Hide apps with no open window" and then off again and restarted the app but still the problem exists. Screen.Recording.2024-10-15.at.11.22.07.PM.mp4As you can see in the video, i hover over apple mail app, press "W" to close the window and the app is open with no windows, but the apple mail app doesnt show up in the switcher whilst other apps with no windows does show. If i restart alttab again the switcher WILL show the apple mail in the switcher with no windows, but then again if i close an app window the app will disappear from switcher. The switcher essentially isnt refreshing apps with no windows until i restart alttab. Also, i do not have altered anything about the app or through terminal and im sure about it. Thank you for looking into this problem but i still cant seem to fix it. |
What's the current value of I'm very surprised that when you clicked @Allsochen any idea what could cause these things? |
I have for now turned on the "Hide apps with no open window" feature because its very inconsistent, after turning it on, defaults read com.lwouis.alt-tab-macos hideWindowlessApps = true Yes after i click "W" we still see the entry in AltTab for the window, however if i click "Q", the app quits and the entry disappears before closing the switcher. The problem is only with "W". |
If you turn it ON, it will hide the items you want to see. You need to turn it OFF. The value should be Could you please try that and see if it works for you? Thank you |
Yes it was turned off, but because the behaviour is inconsistent for apps, i turned it on. If i turn it off, the value is false in terminal, so the settings are working perfectly. |
Great! 🎉 |
ehh lol the settings are working perfectly but the functionality is not being reflected in the switcher its buggy like i showed u in the video |
I'm sorry I couldn't follow. I thought the setting was Could you please make the setting be Also, could you please check in Activity Monitor if you have only 1 instance of AltTab running? I'm thinking that this could explain the setting desync issue, if one app has a setting and the other another. Thank you |
Okay, there are too many problems but for now, i completely deleted the app and reinstalled the app again and ig rn things seem to work better than before. You can close the issue for now! Thank you! |
Describe the bug
Like other apps show up in switcher with a dash below them when no app window is open if u turn off the "Hide apps with no open window" feature, discord doesnt show up in switcher when no window from discord is open!
Steps to reproduce the bug
Turn off "Hide apps with no open window" feature and then just close all discord windows. The app does NOT show in the switcher whereas other app does show with no app windows open.
Your environment
The text was updated successfully, but these errors were encountered: