stata-exec
stata-exec copied to clipboard
Window focus misbehaving
Since installing this on Ubuntu 17.10 I have experienced that the code is correctly sent to Stata, but when focusing back on Atom, it actually brings another window in focus. It could be any active window, but it never picks the Stata one (see gif below). I have tried turning on/off the 'Focus Window' option, but it seems to have no effect. This happens whether I send a few lines or execute the whole do-file.

I'm not sure what's causing that. I never experienced that on Ubuntu 16.04 or Ubuntu 18.04.
I'm assuming it's an Autokey issue.
You can test out the Autokey script in linux/stata-exec.py and run it line by line in the Python interpreter and see what happens.
Still not sure what the issue is, but it won't happen if you use the Stata Jupyter kernel :grinning:
haha, I will try it out tonight!
how's nber without the latino gang? quieter?
From: Kyle Barron [[email protected]] Sent: Tuesday, August 21, 2018 3:14 PM To: kylebarron/stata-exec Cc: Alvaro Carril; Author Subject: Re: [kylebarron/stata-exec] Window focus misbehaving (#38)
Still not sure what the issue is, but it won't happen if you use the Stata Jupyter kernelhttps://kylebarron.github.io/stata_kernel/ 😀
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/kylebarron/stata-exec/issues/38#issuecomment-414789789, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJUg7Cok5fZBEmrEbjJvLYTIi4B2A9mCks5uTFwLgaJpZM4UXrlG.
Haha yes, a bit quieter. Hope you had a good trip!
I did! And thanks for the tip of going down through Grand Teton... it was awesome, and Jackson Hole was a nice town too.
From: Kyle Barron [[email protected]] Sent: Tuesday, August 21, 2018 6:16 PM To: kylebarron/stata-exec Cc: Alvaro Carril; Author Subject: Re: [kylebarron/stata-exec] Window focus misbehaving (#38)
Haha yes, a bit quieter. Hope you had a good trip!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/kylebarron/stata-exec/issues/38#issuecomment-414839698, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJUg7EjO4xNfbpbygSETje7dj5IOwyxkks5uTIbJgaJpZM4UXrlG.