# [texworks] pdf preview hangs if pdfcomments are visible

Mark Yagnatinsky markyag at gmail.com
Fri Sep 22 05:35:13 CEST 2017

A suggestion: maybe Lars can attach the pdf file that crashes his copy of
TexWorks.  Then we'll know at least whether the problem is
(A) His copy of tex makes pdfs that always crash texworks, or
(B) his copy of texworks chokes on innocent pdf files

On Tue, Sep 19, 2017 at 5:48 AM, Alain Delmotte <
alain.delmotte at leliseron.org> wrote:

> Hi!
> Le 13/09/2017 à 21:03, Stefan Löffler a écrit :
>
> Hi,
>
> On 2017-09-13 12:13, Lars O. Grobe wrote:
>
> this is my first message here, meaning that my experience with Texworks has been free of any trouble so far… I am using the software frequently to write articles, applications etc.
>
>
> I'm always happy to hear this :).
>
> Today I experiences an unexpected bug, when I inserted comments into my document using the pdfcomments package and pdflatex. If I scroll to the page that contains the comment (verified by external pdf view), the preview hangs and I have to enforce quitting Texworks.
>
> I am using the latest version 0.6.2 of Texworks on Mac OS X 10.11.6 „El Capitan“.
>
>
> Unfortunately, I don't have a Mac to test this with. On Linux, everything
> seems to work fine with the following minimum example:
>
> \documentclass{article}
>
> \usepackage{pdfcomment}
>
> \begin{document}
>
> \pdfcomment{Test}
>
> \end{document}
>
> *) Does this minimal example cause the hang for you?
> *) In your tests, does the hang occur as soon as any part of the page
> becomes visible (even if the annotation itself is not yet on screen)?
> *) In your tests, which page layout (continuous or single page, zoom to
> width/zoom to page/... did you use)?
>
> Best,
> Stefan
>
>
> No hang under Windows 7 even with adding some text around the comment (but
> the text "Test of the comment doesn't appear, I just have a blue bubble -
> but I do not know how to use the package!!) :
> \documentclass{article}
>
> \usepackage{pdfcomment}
>
> \usepackage{lipsum}
>
> \begin{document}
>
> \lipsum[1-10]
>
> \pdfcomment{Test}
>
> \lipsum[1-10]
>
> \end{document}
>
> Regards,
>
> --
>
> Alain
>
>
>