GNOME Bugzilla – Bug 533795
PRINT PREVIEW does not work
Last modified: 2011-03-18 23:39:16 UTC
Please describe the problem: The PRINT PREVIEW function does not work. When selecting (or not selecting) an area to print (the PRINT FUNCTION does WORK) THEN SELECTING print preview, my graphics display program (IrfanView) shows an error msg. The .emf file created by Gnumeric is invalid (usually 0-length). IrfanView CAN view .emf files, nut gnumeric is not generating valid .emf files to preview the print area. Steps to reproduce: 1. select a portion of the spreadsheet to be printed 2. go to FILE, PRINT PREVIEW 3. An invalid .emf file is created in a \temp folder which cannot be viewed Actual results: invalid .emf file is generated by gnumeric. Cannot be viewed by graphics viewer. Most cases the .emf file is 0-length. Sometimes it has non-zero length and can be viewed AFTER gnumeric is closed, but even then it is not a valid print preview image. Expected results: the graphics viewer program (IrfanView, in my case) should seccessfully open the .emf file containing the print preview image Does this happen every time? at least 95% of the time Other information: Happens on both of my machines - running WinXP Pro
*** Bug 533796 has been marked as a duplicate of this bug. ***
This is a known problem in gtk+. I'm working on a solution.
*** Bug 537077 has been marked as a duplicate of this bug. ***
I am having precisely the same problem. And it seems to be 100% of the time for me. I don't know how to see the size of the emf file it creates though. Running Win XP Pro and version 1.9.1 of Gnumeric.
*** Bug 551054 has been marked as a duplicate of this bug. ***
*** Bug 553818 has been marked as a duplicate of this bug. ***
*** Bug 565949 has been marked as a duplicate of this bug. ***
Consistent error for me on 1.9.3 Very annoying.
This bug has been reported on Ubuntu Launchpad as: https://bugs.launchpad.net/bugs/478818 From the launchpad report: Gnumeric is running from a clean install of 64-bit Ubuntu 9.10. I couldn't print preview my spreadsheets, nor could I generate them as PDF/PS/SVG files by printing. No error messages are displayed. I didn't experience this in Ubuntu 9.04. ProblemType: Bug Architecture: amd64 Date: Mon Nov 9 09:07:01 2009 DistroRelease: Ubuntu 9.10 InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) Package: gnumeric 1.9.9-1ubuntu2 ProcEnviron: LANG=en_PH.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-14.48-generic SourcePackage: gnumeric Uname: Linux 2.6.31-14-generic x86_64
Charlie: this bug is not the same as the bug reported on launchpad. This bug is MS Window's specific and has to do with the created emf file being empty. Printing on a linux system should work.
Charlie: the launchpad problem was probably fixed with 1.9.10. According to the NEWS file for 1.9.10: Morten: Fix problem with print area.
*** Bug 618362 has been marked as a duplicate of this bug. ***
*** Bug 619278 has been marked as a duplicate of this bug. ***
*** Bug 619534 has been marked as a duplicate of this bug. ***
*** Bug 632316 has been marked as a duplicate of this bug. ***
*** Bug 635427 has been marked as a duplicate of this bug. ***
*** Bug 644562 has been marked as a duplicate of this bug. ***
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. I grew tired of waiting for the gtk+ people to fix this. Note: the fix is rather crude: generate a pdf file and ask the system to show it. It will only work if acrobat reader or other pdf reader can be found. It might not work if the temp directory is non-ascii. But, hey, it's better than a crash! (And with 12 dupes, a lot of people have hit this.)