-
Notifications
You must be signed in to change notification settings - Fork 43
Open with pdf-view doesn't open in background #413
Comments
Thanks for your issue report! We'll look into it. |
I think this is causing the problem. I don't know if it is required any longer or for backward compatibility, but removing that and adding atom-latex/lib/openers/pdf-view-opener.js Lines 8 to 13 in dad1de7
Hope this helps! :) |
@nisargjhaveri Thanks doing some research. The |
One more observation. Just adding I got to playing with again because I noticed some other problem. It doesn't forward sync properly. It just goes to the page in PDF and doesn't scroll to the actual content location. This probably is unrelated, but just pointing out just in case. |
I was looking more into it. From what I understand Adding the first line after line 8 and second line at line 23 seems to work for me nice, for both the case, if the pane is already open or if it is not. I don't think I know enough cases to test it and send a PR. |
@nisargjhaveri I've integrated your suggestions into #416. So far it doesn't look like it breaks any existing functionality. |
@nisargjhaveri Thanks for all your hard work on this issue! We really appreciate the help 🙇♂️ |
No problem! Happy it got resolved! :D |
I have "Open Result in Background" option ticked and I've selected "Opener" to be
pdf-view
and "Pdf View Split Direction" toright
. I also have "Build in save" and "Open Result after Successful Build" ticked.It correctly builds the PDF on save and opens it in the right panel, but the focus now is on the PDF and not on the editor pane. Which means I have to manually focus the edit pane every time I press
ctrl+s
.I believe "Open Result in Background" means that this should not happen and after opening the PDF in right pane, the focus should be retained at the editor pane.
latex
version installed is0.46.0
The text was updated successfully, but these errors were encountered: