<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Documents opened via poppler_document_new_from_stream() do not render correctly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82630#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Documents opened via poppler_document_new_from_stream() do not render correctly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82630">bug 82630</a>
from <span class="vcard"><a class="email" href="mailto:phillip.berndt@googlemail.com" title="Phillip Berndt <phillip.berndt@googlemail.com>"> <span class="fn">Phillip Berndt</span></a>
</span></b>
<pre>I did some debugging and believe that the error lies in PopplerInputStream. I
don't understand how you use sub streams and copies yet though, therefore I
haven't been able to fix it.
What I've found: At the top of PopplerInputStream::fillBuf(), I added some
lines to check if bufPos coincides with the output of g_seekable_tell. When
loading fails, it does not.
Another thing is that this seems to be a race condition: When I add
sufficiently much debug output or blur/refocus the window to enforce a redraw,
the output is rendered correctly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>