GNOME Bugzilla – Bug 662056
effectively frozen gnumeric on preview attempt
Last modified: 2011-10-20 18:27:04 UTC
Created attachment 199291 [details] sparse sample file The attached file has four cells with content: A1, A1048576, XFD1, and XFD1048576. Selecting print->preview effectively freezes Gnumeric. (More likely it just takes a very long time to create the preview since there are over 45M pages.) Clearly the user should be warned about this. Even trying to print just page #1 freezes Gnumeric.
The apparent "freeze" when only printing a few pages of a large sheet has been fixed.
We are not freezing anymore when previewing the whole sparse file, but of course it takes for ever for the preview to appear (I have never waited that long.)
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
The fix only looked like it work since in the testing the end of the preview creation came very fast. We now have a progress dialog that when you click on cancel while creating a preview stops drawing pages, but the print opration continues to run to its end. This has been filed as gtk bug #662160.
We are now showing a confirmation dialog if the user asked to create a preview with more than 1000 pages. At this stage we can still cancel the preview creation. When cancelling the preview later we disconnect the draw-page handler which speeds up the completion of the preview.
*** This bug has been marked as a duplicate of bug 662160 ***