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 114153 - 18.40 - Compression level 0, should output uncompressed XML
18.40 - Compression level 0, should output uncompressed XML
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.1.x
Other All
: Normal enhancement
: future
Assigned To: Jody Goldberg
Jody Goldberg
: 147531 148833 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-05-31 20:22 UTC by Chema Celorio
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chema Celorio 2003-05-31 20:22:09 UTC
In the File->Prefernces dialog in the File tab, Default level for
compression of Gnumeric files. If this is set to Zero files should be plain
XML uncompressed.

This feature would be VERY usefull to me
Comment 1 Jody Goldberg 2003-06-01 01:15:14 UTC
You can already do this by saving with type gnumeric and a file name
ending in .xml
Comment 2 Morten Welinder 2003-06-01 20:47:06 UTC
I don't think we want level 0 to skip the gzip envelope, but we might
want to have a setting for default save extension.
Comment 3 Chema Celorio 2003-06-02 15:51:19 UTC
How about a checkbox, right next to the compression level?

[ ] Compress output
    Compresion Level |[<|>] 0 |
Comment 4 Jody Goldberg 2003-06-03 20:47:37 UTC
Seems to obscure Chema.  I don't see alot of use working outside the
existing framework.  If this is a desirable feature we can define a
saver type that uses default extension of .xml.
Comment 5 Andreas J. Guelzow 2004-07-13 22:25:42 UTC
Using the .xml extension with the gnumeric saver does give an ugly warning about
using the wrong extension message though!
Comment 6 Andreas J. Guelzow 2004-07-13 22:27:14 UTC
*** Bug 147531 has been marked as a duplicate of this bug. ***
Comment 7 Morten Welinder 2004-07-31 14:20:03 UTC
*** Bug 148833 has been marked as a duplicate of this bug. ***
Comment 8 Alan Horkan 2004-09-06 17:16:46 UTC
Being able to set the compression level to zero seems like the most
straighforward easily discoverable method to provide no compression.  

Sure there is the save as .xml but that wasn't obvious and straighforward enough
for someone as smart as Chema.  It would definately be better to add compression
level zero than to add an unnecessary checkbox.   

I also prefer to keep my documents uncompressed in case I want to quickly dive
in and make minor changes (I even know about applications like 'zcat' but I
still always use 'more')

I did some tests, saving differnt documents at differnt compression levels and
either the differnces are negligible or it is not working at all.  

The Preferences dialog in Gnumeric 1.2.13 actually has a tooltip saying:
This integer (between 0 and 9) specifies the amount of compression performed by
Gnumeric when saving files in the default file format.  O is no compression
while 9 is maximum compression.   

Whoever wrote the tooltip also expected things to work as Chema suggested.  

In the file preferences you should not be able to choose 0 at all if it does to
have the effect of disabling compression.  
Comment 9 Andreas J. Guelzow 2004-09-06 22:59:32 UTC
Of course the tooltip in 1.3.2 doesn't say that anymore.
Comment 10 Jody Goldberg 2004-09-28 05:13:52 UTC
k, you've changed my mind.
1.3.91 will respect the setting somewhat.  if the default == 0, or the suffix ==
xml we won't compress for sax or dom export.

Andreas : solving the warning for .xml will require the pending rewrite of the
i/o  descriptors.