-
Notifications
You must be signed in to change notification settings - Fork 9
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
[BR] Focus doesn't focus once terminal is created #190
Comments
This is the hack I'm using to get around it
|
I'm on Windows 10 Atom v1.53.0-beta. This could just be an issue with mac or Atom v1.52.0 upgraded to Electron 6 maybe updating Atom will fix it for you? |
yeah after poking the system making that workaround, it very well could be Atom core. I grabbed the terminal object and manually called focus and nothing would happen. I'll try uninstalling and re-installing methods. We really need to make upgrades more reliable on Atom :/ seems like everything requires a full uninstall |
apm and node-gyp are pretty much the points of failure, very unreliable especially for native modules upgrades, like node-pty-prebuilt-multiarch from electron 5.x to 6.x, and you cant do a simple app upgrade when the Atom session has the app running, it simply breaks. |
@the-j0k3r yeah, I think node-gyp is the root source of 99.9% of all problems (on any node.js project). It looks like x-terminal can't exist without native modules though |
@jeff-hykin did you ever get this working? The steps to reproduce seem to work for me. |
Sadly no :/ I downloaded atom just now, opened it up installed a fresh x-terminal, cmd+T to open a terminal. Shrank it, called the X-terminal focus command manually from the command pallet and... nothing :/ I'll try to get me debugging info |
Is there a package lock inside a standard atom install? debugging isn't terribly straightforward since stuff like the focus commands just... don't do the thing they're supposed to and don't print any errors. |
I'm not sure what you mean. There is a package-lock.json file. This issue must have to do with MacOS. I have tested this on windows and ubuntu and both work, however I don't have a way to test on MacOS. |
Oh, that applies for all the extensions too? I could just be being dumb. I think the issue is related to having previous installs of Atom. There's application caches, and stuff in the home folder. I'll upload my package lock next time I work on this so we can see if some stuff isn't being upgraded. I think if I cleared everything and did an install on a new machine it would probably work (I'll try that), but I'm more concerned that the updating doesn't work. If there's a problem with updating I think we should pin it down, especially if it applied to more than just the terminal. |
@jeff-hykin is this still a problem? |
Haven't checked but we can close this and I'll post a message if I find it still a problem later |
🎉 This issue has been resolved in version 13.0.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Steps to reproduce
Expected behavior:
The terminal to be focused on (open bottom panel)
Actual behavior:
Nothing
Reproduces how often:
100%
Versions
OS name and version: MacOS Sierra
Terminal version: 11.0.2
Additional context
This might be something wrong with atom since the last fix related to
focus
is just calling focus twice, which is kinda jank#175
I've tested directly calling the commands (no keybinding) as well just to make sure there wasn't an issue with activation
The text was updated successfully, but these errors were encountered: