After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 561708 - File/Properties... crashes when no printer selected as the default printer
File/Properties... crashes when no printer selected as the default printer
Status: RESOLVED FIXED
Product: libgoffice
Classification: Other
Component: General
unspecified
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-11-20 17:22 UTC by j.gnome
Modified: 2008-11-21 00:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j.gnome 2008-11-20 17:22:26 UTC
Steps to reproduce:
1. Use Windows, remove all printers or set "Microsoft XPS Document Writer" as the default printer
2. Select File/Properties... from the menu

Stack trace:


Other information:
Windows XP, gnumeric-1.9.3-20081017.exe

So, File/Properties... crashes if:
- no printer driver is installed (nothing is selected as the default printer), or if
- "Microsoft XPS Document Writer" is selected as the default printer.

According to http://msdn.microsoft.com/en-us/library/aa964988%28VS.85%29.aspx "Microsoft XPS Document Writer" is the default print-to-file driver on Windows Vista, and seems to be installed with the .NET framework on Windows XP.

I think the above means that if a user doesn't have a printer installed on Windows, File/Properties... crashes Gnumeric.
Comment 1 Andreas J. Guelzow 2008-11-20 17:37:37 UTC
File/Properties should have absolutely nothing to do with printing. Do you really mean that menu item?
Comment 2 j.gnome 2008-11-20 17:44:35 UTC
Yes, it's File/Properties that crashes.

Additional information:
File/Print preview just tells me that print preview is not available, and File/Print instructs me to add a new printer.
Comment 3 j.gnome 2008-11-20 17:45:35 UTC
Doesn't crash when a printer is installed and selected as the default printer.
Comment 4 Morten Welinder 2008-11-21 00:29:37 UTC
For me it simply crashes...  And that's on Linux.
Comment 5 Morten Welinder 2008-11-21 00:39:14 UTC
I don't think printers are at all involved.  It's memory corruption
(which might very well only cause visible problems when a printer
just happens to be selected).

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.