stata-exec icon indicating copy to clipboard operation
stata-exec copied to clipboard

Window focus misbehaving

Open acarril opened this issue 7 years ago • 5 comments

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.

stata-exec-winfocus

acarril avatar Jun 02 '18 13:06 acarril

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.

kylebarron avatar Jun 04 '18 18:06 kylebarron

Still not sure what the issue is, but it won't happen if you use the Stata Jupyter kernel :grinning:

kylebarron avatar Aug 21 '18 19:08 kylebarron

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.

acarril avatar Aug 21 '18 22:08 acarril

Haha yes, a bit quieter. Hope you had a good trip!

kylebarron avatar Aug 21 '18 22:08 kylebarron

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.

acarril avatar Aug 21 '18 23:08 acarril