atom-latextools icon indicating copy to clipboard operation
atom-latextools copied to clipboard

Strange sync behavior with Skim on OS X El Capitan in fullscreen

Open nicola-gigante opened this issue 8 years ago • 2 comments

This is a pretty narrow bug so I hope someone can reproduce it outside of myself. I use Atom 1.5.3 (I think the last one) and atom-latextools 0.7.7, on OS X El Capitan. As you might know, El Capitan introduced a new feature where you can snap side-by-side two apps in fullscreen, and it comes really useful when working with LaTeX to snap the editor and the PDF viewer together.

In this setup, the problem comes when I try to do a backwards search from the PDF to the editor. Clicking on Skim makes the Atom buffer scroll to the right position, but the screen changes away from the fullscreen apps back to the main desktop and focuses on whatever app is found on that desktop (e.g., the Finder). This happens only in fullscreen, while in other contexts the Atom editor gains focus correctly.

I don't know who this bug belongs to. Probably the latextools package is not the responsible component and the bug should be filed to the Atom editor itself, but I filed it here first because it greatly affects the use of the package. Moreover, it could be a problem in Skim, but the same thing with Sublime Text did not happen.

nicola-gigante avatar Mar 01 '16 09:03 nicola-gigante

Thanks for pointing this out. It's another bit of behaviour where Atom doesn't precisely work as one might expect. Unfortunately, I'm not sure there's anything can be done about this behaviour other than raising a bug to Atom, since it all takes place long before latextools get loaded. I suspect the same behaviour would occur using any of the other LaTeX plugins for Atom.

ig0774 avatar Mar 01 '16 11:03 ig0774

I can reproduce the bug with the same specs.

BenjaminBorn avatar Mar 01 '16 15:03 BenjaminBorn