Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-12 Thread Saurabh Singhvi
Confirmed!! works for me too. Thanks a lot for the patch.

x86 machine running gentoo.On 10/10/05, Branden Robinson <[EMAIL PROTECTED]> wrote:
On Fri, Oct 07, 2005 at 08:52:53AM +1000, Hamish Moffatt wrote:> On Thu, Oct 06, 2005 at 02:22:48PM -0700, Derek B. Noonburg wrote:> > Once again, I'm sending email out to everyone who has contacted me
> > regarding the resize/redraw bug in Xpdf 3.01.> >> > Thanks to Michael Rogers, I have a potential fix -- see the attached> > patch file.  I would appreciate it if you would all try this out, and
> > let me know if it fixes the problem for you.>> For Debian users, I've placed temporary packages containing this patch at>> http://people.debian.org/~hamish/xpdf/
>> It's not apt-gettable so you would need to download the debs by hand and> install with "dpkg -i xpdf*3.01-1.1*.deb".I appear to be a little late with this, as Hamish did an upload today, but:
I built some PowerPC .debs from the source package for myself and testedthem, and can confirm that these fix my problem as well.Thanks, Derek, Hamish, and everyone else!--G.
Branden
Robinson|
When I die I want to go peacefullyDebian
GNU/Linux  
| in my sleep like my ol' Grand[EMAIL PROTECTED]
| Dad...not screaming in terror likehttp://people.debian.org/~branden/ | his passengers.-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.2 (GNU/Linux)
iEYEARECAAYFAkNK57sACgkQ6kxmHytGonwJWwCZAbHErFy6+7L7T0aabX0z+d1X/IsAn1Pc4kHaH8eR2naDUvjAgI46mop8=Pvj7-END PGP SIGNATURE-


Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-10 Thread Branden Robinson
On Fri, Oct 07, 2005 at 08:52:53AM +1000, Hamish Moffatt wrote:
> On Thu, Oct 06, 2005 at 02:22:48PM -0700, Derek B. Noonburg wrote:
> > Once again, I'm sending email out to everyone who has contacted me
> > regarding the resize/redraw bug in Xpdf 3.01.
> > 
> > Thanks to Michael Rogers, I have a potential fix -- see the attached
> > patch file.  I would appreciate it if you would all try this out, and
> > let me know if it fixes the problem for you.
> 
> For Debian users, I've placed temporary packages containing this patch at
> 
> http://people.debian.org/~hamish/xpdf/
> 
> It's not apt-gettable so you would need to download the debs by hand and
> install with "dpkg -i xpdf*3.01-1.1*.deb".

I appear to be a little late with this, as Hamish did an upload today, but:

I built some PowerPC .debs from the source package for myself and tested
them, and can confirm that these fix my problem as well.

Thanks, Derek, Hamish, and everyone else!

-- 
G. Branden Robinson| When I die I want to go peacefully
Debian GNU/Linux   | in my sleep like my ol' Grand
[EMAIL PROTECTED] | Dad...not screaming in terror like
http://people.debian.org/~branden/ | his passengers.


signature.asc
Description: Digital signature


Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-10 Thread Hamish Moffatt
On Fri, Oct 07, 2005 at 10:33:05PM +0200, Frédéric Bothamy wrote:
> * Hamish Moffatt <[EMAIL PROTECTED]> [2005-10-07 08:52] :
> > For Debian users, I've placed temporary packages containing this patch at
> > http://people.debian.org/~hamish/xpdf/
> 
> Hello everyone,
> 
> For me, the problem is fixed with these packages: the display is now
> always correct (under icewm) whenever I try to resize, zoom/dezoom, skip
> to next page, etc.
> 
> Thanks a lot to Michael, Derek and Hamish.

Thanks everyone for testing the 3.01-1.1 packages and confirming the
fix. I've uploaded 3.01-2 now to unstable with this patch included.

Thanks Michael and Derek for the fix.

Hamish
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-10 Thread David Riebenbauer
* Frédéric Bothamy <[EMAIL PROTECTED]> [2005-10-08 03:25]:
> * Hamish Moffatt <[EMAIL PROTECTED]> [2005-10-07 08:52] :
> > On Thu, Oct 06, 2005 at 02:22:48PM -0700, Derek B. Noonburg wrote:
> > > Once again, I'm sending email out to everyone who has contacted me
> > > regarding the resize/redraw bug in Xpdf 3.01.
> > > 
> > > Thanks to Michael Rogers, I have a potential fix -- see the attached
> > > patch file.  I would appreciate it if you would all try this out, and
> > > let me know if it fixes the problem for you.
> > 
> > For Debian users, I've placed temporary packages containing this patch at
> > 
> > http://people.debian.org/~hamish/xpdf/
> > 
> > It's not apt-gettable so you would need to download the debs by hand and
> > install with "dpkg -i xpdf*3.01-1.1*.deb".
> 
> Hello everyone,
> 
> For me, the problem is fixed with these packages: the display is now
> always correct (under icewm) whenever I try to resize, zoom/dezoom, skip
> to next page, etc.

Also works nicely here, using ion3. Finally I can really enjoy all the
goodness in xpdf 3.01.

> Thanks a lot to Michael, Derek and Hamish.
Yes, thanks a lot from my side too.

David


-- 
David Riebenbauer
Jabber: [EMAIL PROTECTED] - ICQ: 322056002 



Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-10 Thread Saurabh Singhvi
Hi all

i am not sure if this is the right place to post, but since all people here
are using/ going to use the patch i just wanted to know if this conflicts with
other patches..i am using gentoo and i added the patch in the ebuild by
using the epatch function, which is already putting other patches. But when i
emerge, i get the following

 *
Applying xpdf-3.00-gcc41.patch
...
[ ok ]
 * Applying
xpdf-3.00-64bit.patch
...
[ ok ]
 * Applying
xpdf-3.01-crash.patch
...
[ ok ]
 * Applying
xpdf-3.01-pdftoppm.patch
... 
[ ok ]
 * Applying resize.patch ...

 * Failed Patch: resize.patch !
 *  ( /usr/local/portage/app-text/xpdf/files/resize.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/xpdf-3.01/temp/resize.patch-3909.out


!!! ERROR: app-text/xpdf-3.01 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: resize.patch!
!!! If you need support, post the topmost build error, NOT this status message.

if someone can explain how to correct this it would be great. I am also attaching the ebuild
if it might be needed.

Thanks
Saurabh



On 10/10/05, Wolfram Quester <[EMAIL PROTECTED]> wrote:
Hi alltogether,* Hamish Moffatt <[EMAIL PROTECTED]
> [2005-10-07 08:52] :> On Thu, Oct 06, 2005 at 02:22:48PM -0700, Derek B. Noonburg wrote:> > Once again, I'm sending email out to everyone who has contacted me> > regarding the resize/redraw bug in Xpdf 
3.01.> >> > Thanks to Michael Rogers, I have a potential fix -- see the attached> > patch file.  I would appreciate it if you would all try this out, and> > let me know if it fixes the problem for you.
>> For Debian users, I've placed temporary packages containing this patch at>> http://people.debian.org/~hamish/xpdf/>> It's not apt-gettable so you would need to download the debs by hand and
> install with "dpkg -i xpdf*3.01-1.1*.deb".I grabed hamish's source packages and rebuilt them for for ppc. I triedthem under KDE and xfce without seeing the bug.Thanks for all your work.
Wolfi-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.2 (GNU/Linux)iD8DBQFDSjwCH0o2mefAfsQRAvT1AJ9FMz9s+KplzdGLg8e5ko2UEjeRnQCfYxw1dBvY0pQn7BLu1HxD+LU4qzQ==m3zo-END PGP SIGNATURE-



xpdf-3.01.ebuild
Description: Binary data


Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-10 Thread Wolfram Quester
Hi alltogether,

* Hamish Moffatt <[EMAIL PROTECTED]> [2005-10-07 08:52] :
> On Thu, Oct 06, 2005 at 02:22:48PM -0700, Derek B. Noonburg wrote:
> > Once again, I'm sending email out to everyone who has contacted me
> > regarding the resize/redraw bug in Xpdf 3.01.
> > 
> > Thanks to Michael Rogers, I have a potential fix -- see the attached
> > patch file.  I would appreciate it if you would all try this out, and
> > let me know if it fixes the problem for you.
> 
> For Debian users, I've placed temporary packages containing this patch at
> 
> http://people.debian.org/~hamish/xpdf/
> 
> It's not apt-gettable so you would need to download the debs by hand and
> install with "dpkg -i xpdf*3.01-1.1*.deb".

I grabed hamish's source packages and rebuilt them for for ppc. I tried
them under KDE and xfce without seeing the bug.

Thanks for all your work.

Wolfi


signature.asc
Description: Digital signature


Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-07 Thread Frédéric Bothamy
* Hamish Moffatt <[EMAIL PROTECTED]> [2005-10-07 08:52] :
> On Thu, Oct 06, 2005 at 02:22:48PM -0700, Derek B. Noonburg wrote:
> > Once again, I'm sending email out to everyone who has contacted me
> > regarding the resize/redraw bug in Xpdf 3.01.
> > 
> > Thanks to Michael Rogers, I have a potential fix -- see the attached
> > patch file.  I would appreciate it if you would all try this out, and
> > let me know if it fixes the problem for you.
> 
> For Debian users, I've placed temporary packages containing this patch at
> 
> http://people.debian.org/~hamish/xpdf/
> 
> It's not apt-gettable so you would need to download the debs by hand and
> install with "dpkg -i xpdf*3.01-1.1*.deb".

Hello everyone,

For me, the problem is fixed with these packages: the display is now
always correct (under icewm) whenever I try to resize, zoom/dezoom, skip
to next page, etc.

Thanks a lot to Michael, Derek and Hamish.

Greetings,


Fred


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-06 Thread Hamish Moffatt
On Thu, Oct 06, 2005 at 02:22:48PM -0700, Derek B. Noonburg wrote:
> Once again, I'm sending email out to everyone who has contacted me
> regarding the resize/redraw bug in Xpdf 3.01.
> 
> Thanks to Michael Rogers, I have a potential fix -- see the attached
> patch file.  I would appreciate it if you would all try this out, and
> let me know if it fixes the problem for you.

For Debian users, I've placed temporary packages containing this patch at

http://people.debian.org/~hamish/xpdf/

It's not apt-gettable so you would need to download the debs by hand and
install with "dpkg -i xpdf*3.01-1.1*.deb".

Hamish
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#324172: Xpdf 3.01 resize/redraw bug

2005-10-06 Thread Derek B. Noonburg
Once again, I'm sending email out to everyone who has contacted me
regarding the resize/redraw bug in Xpdf 3.01.

Thanks to Michael Rogers, I have a potential fix -- see the attached
patch file.  I would appreciate it if you would all try this out, and
let me know if it fixes the problem for you.

- Derek
Index: XPDFCore.cc
===
RCS file: /home/derekn/src/cvs/xpdf/XPDFCore.cc,v
retrieving revision 1.68
diff -c -r1.68 XPDFCore.cc
*** XPDFCore.cc 19 Mar 2005 00:15:08 -  1.68
--- XPDFCore.cc 6 Oct 2005 21:22:11 -
***
*** 981,986 
--- 981,989 
XPDFCore *core = (XPDFCore *)ptr;
XEvent event;
Widget top;
+   Window rootWin;
+   int x1, y1;
+   Guint w1, h1, bw1, depth1;
Arg args[2];
int n;
Dimension w, h;
***
*** 988,1002 
  
// find the top-most widget which has an associated window, and look
// for a pending ConfigureNotify in the event queue -- if there is
!   // one, that means we're still resizing, and we want to skip the
!   // current event
for (top = core->parentWidget;
 XtParent(top) && XtWindow(XtParent(top));
 top = XtParent(top)) ;
if (XCheckTypedWindowEvent(core->display, XtWindow(top),
 ConfigureNotify, &event)) {
  XPutBackEvent(core->display, &event);
! return;
}
  
n = 0;
--- 991,1010 
  
// find the top-most widget which has an associated window, and look
// for a pending ConfigureNotify in the event queue -- if there is
!   // one, and it specifies a different width or height, that means
!   // we're still resizing, and we want to skip the current event
for (top = core->parentWidget;
 XtParent(top) && XtWindow(XtParent(top));
 top = XtParent(top)) ;
if (XCheckTypedWindowEvent(core->display, XtWindow(top),
 ConfigureNotify, &event)) {
  XPutBackEvent(core->display, &event);
! XGetGeometry(core->display, event.xconfigure.window,
!&rootWin, &x1, &y1, &w1, &h1, &bw1, &depth1);
! if ((Guint)event.xconfigure.width != w1 ||
!   (Guint)event.xconfigure.height != h1) {
!   return;
! }
}
  
n = 0;