AmiPDF page refresh fix request
Posted: Mon Aug 01, 2016 9:39 am
Hi
I have a small bugfix/feature request for AmiPDF. 10 min implementation
When resizing the window it redraws the PDF everytime, as expected. However, some PDFs are extremely slow to redraw (several seconds on X1000) which means that I have already resized the window and released the mouse button long before it has processed all IDCMP_NEWSIZE events. In this case AmiPDF keeps processing all (10-50) queued up IDCMP_NEWSIZE events and redraws the PDF over and over again many times, (taking a long time) even when the window size stays the same. (I have already finished resizing and released the mouse button.)
Request: AmiPDF should discard any IDCMP_NEWSIZE redraw event when the windows size has not changed since the last redraw.
Thank you.
I have a small bugfix/feature request for AmiPDF. 10 min implementation
When resizing the window it redraws the PDF everytime, as expected. However, some PDFs are extremely slow to redraw (several seconds on X1000) which means that I have already resized the window and released the mouse button long before it has processed all IDCMP_NEWSIZE events. In this case AmiPDF keeps processing all (10-50) queued up IDCMP_NEWSIZE events and redraws the PDF over and over again many times, (taking a long time) even when the window size stays the same. (I have already finished resizing and released the mouse button.)
Request: AmiPDF should discard any IDCMP_NEWSIZE redraw event when the windows size has not changed since the last redraw.
Thank you.