-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
JetBrains IntelliJ IDEA and other IDEs disappearing from alttab #1249
Comments
This is interesting/unexpected. usually issues with windows missing from AltTab are because AltTab may have missed an event or there was a transition. Here it doesn't show after a restart. It would seem to indicate that the windows not shown on AltTab may be considered "not real windows". Could you please show screenshots/videos of exactly which windows are not showing but you think should show. The best would be a video where you show the app windows, AltTab thumbnails, and narrate what you think is wrong |
I have the same problem both with IntelliJ IDEA and Android Studio (basically the same thing). M1 Max |
Thanks for chiming in! I just tried it again and yu are right, restarting alt-tab does help. Sorry for misreporting this. JetBrains stuff is getting sorted at the end of the alt-tab switcher so I didn't notice it was in the list. So yeah I confirm what @Dimezis said, restarting alt-tab does fix this |
Can one of you please share a video so i can see which windows are having this issue? I need more data to investigate. Video, screenshot, what's specific about these windows, when does it happen, etc. A first step would be to share a video 👍 |
https://drive.google.com/file/d/17aqCcFlzpOMae7xTCkvppbKLSvtCCldW/view?usp=sharing |
@Dimezis I checked out your video, but I never have the "needs to be updated" popup because I manage my stuff through the toolbox I tried some actions here that cause a popup to appear (like invalidate caches), but it's still appearing fine for me in Alt-Tab. Couldn't figure out yet what's causing it to disappear. Could you try |
@Dimezis so you're saying the windows not showing in AltTab is the following:
There are no other scenarios? It seems like it's very specific. Probably different from what @dvcrn is facing. Could you please share the BundleIdentifier of your Android Studio app? (see how to get it on that thread) @dvcrn what are the specific windows that disappear for you? Is it all of them, like in @Dimezis video, from launch? Or is it later down the line that a few are missing? These are real windows right, not small popups (small popups are expected to not show in AltTab, by design) |
Hard to say, I mean this popup appears only once in a while. But when it doesn't appear on subsequent launches, the AS is being detected fine. |
I can also confirm that the jetbrains editor (intelij in my case) comes back after a start of alt-tab. I also had a case where closing all jetbrains windows (Intelij + the project selection window) and restarting from the toolbox brought it back.
Tried that and the thing didn't vanish. If you have any idea how to debug this further... |
I have same issue. I restarted the entire system and even then problem persisted. However, when I came across this issue I restarted alt-tab and intelij windows are back. |
Any update here? |
Wanted to mention that I am also experiencing this issue. M1 Max: 12.1 |
Same with GoLand :( M1 Pro Mbp2021 16inch, |
@luyi404 most likely it's due to Jetbrains product using a Java UI framework instead of native AppKit from Apple. This creates all sorts of problems for accessibility apps like AltTab as a window is often not coded as a NSWindow. Or Dialogs are codes as NSWindow. Etc |
@lwouis Thanks for the reply! I was wondering if this could be solved by some hard coding? Like doing additional checks for JetBrains products or just apps with Java UI framework (I'm not familiar with client-side development for the macOS platform, so maybe what I'm saying isn't quite feasible) 😃 |
That's the same problem down at the core, no? Those likely also don't use AppKit as their UI framework I had other issues with Java-based apps and accessibility tools in the past |
Indeed, Java apps are just one non-native approach. There are many others. Anything non-native is likely to not implement accessibility correctly, thus being poorly supported by AltTab and other apps relying on macOS Accessibility APIs. There are dozens of apps like this that were discussed in previous ticket. Adobe apps, Steam, Electron apps, etc |
Perhaps an option in AltTab to listen for when an app is launched, and then silently restart AltTab? Restarting always fixes it for me |
@jameslkingsley instead of restarting we could run whatever code is run at start. That would be a bit more reasonable 😅. That being said this approach wouldn't work. Windows come and go at any time, not just when an app is launched. We would need to run this on a schedule since we wouldn't have a particular event to trigger with. In addition, another problem is that on startup AltTab guesses the last-order of windows based on their z-index. It's a guess and is not 100% accurate. Then once it's running it then maintains a correct list of windows and when they have been used last. That one is reliable but comes from observing all sorts of events, which the startup technique has no idea about. More information in these tickets: https://github.com/lwouis/alt-tab-macos/issues?q=is%3Aopen+is%3Aissue+label%3A%22need+breakthrough%22 |
Any chance of getting this fixed? I am able to reproduce it with IntelliJ IDEA and WebStorm Idea. I can provide more information if you tell me what you need. |
Same issue here. Following |
I am able to reproduce the issue by reinstall JetBrains AppCode. The first time I open AppCode after reinstall it, AltTab never show AppCode window. I debug the code on my Mac, I find that AltTab can get the event of app launched but never get the event of finishedLaunching. So I just remove the code runningApplication.isFinishedLaunching. After that, AltTab work well and the issue is fixed.
@metacodes hope this fix works well and will be merged 🚀 |
Same issue here. Following |
Same for me with JetBrains Rider. |
I am able to reproduce the issue by reinstall JetBrains AppCode. The first time I open AppCode after reinstall it, AltTab never show AppCode window. I debug the code on my Mac, I find that AltTab can get the event of app launched but never get the event of finishedLaunching. So I just remove the code runningApplication.isFinishedLaunching. After that, AltTab work well and the issue is fixed.
# [6.32.0](v6.31.0...v6.32.0) (2022-04-07) ### Bug Fixes * issue with some apps launched before alt-tab ([f97cd74](f97cd74)) * show window of some apps like jetbrains apps ([#1249](#1249) [#1079](#1079) [#1392](#1392)) ([0b85b09](0b85b09)) * show windows of some defective apps like bear.app ([9b5cd42](9b5cd42)) ### Features * add greek and estonian, and update other localizations ([fccae77](fccae77))
Should be fixed in v6.32.0 |
Thanks! I'm using 6.32.0 since yesterday and I didn't face the issue again (until the update it happened multiple times a day). |
I can confirm that the latest version (for me that's 6.33.0) solved the issue for me as well. Thanks 👍 |
Oh nice! I'll give 6.33 a try then and see how it goes 👍 |
Worked, Arduino IDE and IDEA showed up. Thanks |
Looks like this is back with https://github.com/lwouis/alt-tab-macos/releases/tag/v6.35.0 (will try to find out which version exactly) |
@AlexZeitler please open a new ticket with steps to reproduce and a video or screenshots. There is hope to fix only if we have a way to reproduce it consistently. Also note the discussions about deep architecture changes we would need to do to better support some use-cases: #447 (comment) and #1484 |
Describe the bug
Continuation from #824
I have repeatedly the issue that jetbrains stuff just vanishes from the alt-tab after longer working sessions. Not doing any fullscreen settings here and keep it in a normal window all the time.
Only after restarting IDEA, it shows back up. Restarting alt-tab does not help.Restarting either alt-tab or IDEA fixes thisIDEA and other apps are installed through jetbrains toolbox
Screenshots / video
Steps to reproduce the bug
I'm not actually sure. I tested this with CLion, IDEA Ultimate and Goland, and they all disappear after a longer working session (a couple hours)
The text was updated successfully, but these errors were encountered: