{"action":"created","issue":{"url":"https://api.github.com/repos/James-Yu/LaTeX-Workshop/issues/613","repository_url":"https://api.github.com/repos/James-Yu/LaTeX-Workshop","labels_url":"https://api.github.com/repos/James-Yu/LaTeX-Workshop/issues/613/labels{/name}","comments_url":"https://api.github.com/repos/James-Yu/LaTeX-Workshop/issues/613/comments","events_url":"https://api.github.com/repos/James-Yu/LaTeX-Workshop/issues/613/events","html_url":"https://github.com/James-Yu/LaTeX-Workshop/issues/613","id":321268492,"number":613,"title":"Refresh PDF after build finish","user":{"login":"vomout","id":9931928,"avatar_url":"https://avatars2.githubusercontent.com/u/9931928?v=4","gravatar_id":"","url":"https://api.github.com/users/vomout","html_url":"https://github.com/vomout","followers_url":"https://api.github.com/users/vomout/followers","following_url":"https://api.github.com/users/vomout/following{/other_user}","gists_url":"https://api.github.com/users/vomout/gists{/gist_id}","starred_url":"https://api.github.com/users/vomout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vomout/subscriptions","organizations_url":"https://api.github.com/users/vomout/orgs","repos_url":"https://api.github.com/users/vomout/repos","events_url":"https://api.github.com/users/vomout/events{/privacy}","received_events_url":"https://api.github.com/users/vomout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-08T17:01:39Z","updated_at":"2018-05-09T01:43:17Z","closed_at":null,"author_association":"NONE","body":"<!-- Following contents are required for a successful issue. Not providing necessary information, specifically log messages, may render the issue closed. -->\r\n<!-- Sorry for being rude on the above message, yet I/we have encountered too many frustrating issues without any information. The developers are only developers, not mind-readers or remote-computer-readers. -->\r\n\r\n### Description\r\n\r\nCurrently, at least when Skim is used as PDF viewer following a comment in #318, the viewer is not instructed to update the file *and* move to the correct location when build is finished.  The correct location would be where the cursor was when the build was triggered with ctrl-alt-b. (This is, for example, what LaTeXTools of SublimeText does.) Instead one has to waste time and consciously wait for the build to finish, and then view the correct location using ctrl-alt-v. If not default behaviour, there should be at least an option to enable this behaviour. \r\n\r\n<!-- Please describe/summarize the issue here. -->\r\n\r\n### Log messages\r\n\r\nNot relevant—issue appears a feature request.\r\n\r\n### How to reproduce\r\n\r\n<!-- Please describe how to reproduce the issue/problem, or suggested actions for new features. -->\r\n\r\n1. Follow a comment in #318 to enable Skim as viewer. (Possibly not required.)\r\n2. Build the file with ctrl-alt-b at some location.\r\n3. Observe that the viewer does not switch to the correct location upon finishing the build.\r\n\r\n### Expected behavior\r\n\r\nViewer should switch to the location where the build was triggered. \r\n\r\n<!-- Please describe what is expected. -->\r\n\r\n### Actual behavior\r\n\r\nNothing (upon the build finishing), unless Skim is configured to check for file changes. But then it does not switch to the correct location, as it is not being instructed by LaTeX-Workshop to do so.\r\n\r\n<!-- Please describe what happens instead. -->\r\n\r\n### Additional Information\r\n\r\n<!-- Any additional information, configuration or data. -->\r\n"},"comment":{"url":"https://api.github.com/repos/James-Yu/LaTeX-Workshop/issues/comments/387594038","html_url":"https://github.com/James-Yu/LaTeX-Workshop/issues/613#issuecomment-387594038","issue_url":"https://api.github.com/repos/James-Yu/LaTeX-Workshop/issues/613","id":387594038,"user":{"login":"James-Yu","id":4210342,"avatar_url":"https://avatars0.githubusercontent.com/u/4210342?v=4","gravatar_id":"","url":"https://api.github.com/users/James-Yu","html_url":"https://github.com/James-Yu","followers_url":"https://api.github.com/users/James-Yu/followers","following_url":"https://api.github.com/users/James-Yu/following{/other_user}","gists_url":"https://api.github.com/users/James-Yu/gists{/gist_id}","starred_url":"https://api.github.com/users/James-Yu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/James-Yu/subscriptions","organizations_url":"https://api.github.com/users/James-Yu/orgs","repos_url":"https://api.github.com/users/James-Yu/repos","events_url":"https://api.github.com/users/James-Yu/events{/privacy}","received_events_url":"https://api.github.com/users/James-Yu/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T01:43:17Z","updated_at":"2018-05-09T01:43:17Z","author_association":"OWNER","body":"The behavior for built-in viewer is to retain where the scrollbar was left.\r\n\r\nIt seems that auto-call synctex after build is easy enough. However, the built-in viewer requires some time to render the new PDF file, during which time it can be unresponsive to synctex instructions. I will briefly check if it can be avoided, otherwise I have to say sorry to this feature request."}}
{"actor":{"display_login":"James-Yu"}}