Bugzilla – Bug 155745
xpdf doesn't work with window resize
Last modified: 2006-03-09 10:03:24 UTC
When the window size of xpdf is expanded, xpdf doesn't handle the displayed area correctly corresponding to the new size but keeps the old view area. As a result, it shows broken (mixed) image when scrolled. This problem didn't occur with xpdf on 10.0.
Takashi, please attach a screenshot for a better visual impression of the problem.
Created attachment 71576 [details] xpdf normally displaying with fit-width
Created attachment 71577 [details] xpdf window is expanded, but the view area doesn't change
Created attachment 71578 [details] zoomed; the view area still unchanged...
Created attachment 71579 [details] ... and you can even simulate a heavy drunker
This seems because of the check of ConfigureNotify event in XPDFCore.cc::update(). Removing this check solves the problem although this will keep redrawing during resize as an obvious side effect.
Created attachment 71619 [details] Fix resize problem
Created attachment 71752 [details] xpdf-3.01-resize.patch What about this one? It still does throw away some events, and hopefully doesn't miss the important ones.
Do you have a mbuilt package to test your patch?
Not yet.
chip-mmarek-426
Seems working fine. Thanks.
OK, submitting.