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 353004 - remove the 256 columns limit
remove the 256 columns limit
Status: RESOLVED DUPLICATE of bug 168875
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Low enhancement
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 524575 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-26 16:32 UTC by David Cary
Modified: 2008-04-25 17:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Cary 2006-08-26 16:32:38 UTC
Wikipedia mentions that "Other popular spreadsheet programs are limited to 256 columns". ( http://en.wikipedia.org/wiki/Gnumeric )

I wish the default, out-of-the-box Gnumeric could handle much more.

Then we could have a quick answer when people ask "Why is Gnumeric better than other spreadsheets?".

Also, we could fix that lame-sounding FAQ entry into something that sounds much more impressive.

Some possibilities:
* Perhaps make the default, out-of-the-box limit "ZZ", giving 26*26 = 676 columns ? ( http://gnome.org/projects/gnumeric/faq.shtml#5 implies this is easy to do )
* Keep the 256 column limit, but import and export unlimited-width CSV files as a series of "sheets"
* limited to just under MAX_UINT ?
* no limit at all -- "limited only by RAM" ?

Is there any usability reason to hard-code some limit?

(I hope this isn't a dupe of Bug 50881 )
Comment 1 John Gilmore 2007-05-19 01:51:56 UTC
This is definitely a bug.  I just spent time today explaining to a support person at the Internet Archive that their problems with exporting data in CSV files that would crash Excel because of some crazy 65,000 row limit would be eliminated if they moved to a GNU spreadsheet, because the GNU Coding Standards require that the program not have fixed, compiled-in limits.  And further explained that the bug would be taken seriously by the developers, if such a limit was found and reported by her.  

(I was asking them to export a million-line web crawl log as a CSV file so that recipients could easily sort and select it and do other spreadsheety things with it.)

Then I came home and looked -- and Gnumeric has hard-coded limits on both rows and columns (65536 and 256 respectively).  And that when this was reported as a bug in 2001, the developers closed it out without fixing it, by doing a circumvention that barely worked for the one single case reported (Bug 50881).  I was shamed to have depended on my community to "do the right thing".

http://www.gnome.org/projects/gnumeric/faq.shtml#5
says that gnumeric supports larger rows and columns "with a recompile" -- but it even includes a caveat about how slow the resulting program will be.  That doesn't meet the coding standards!
Comment 2 Morten Welinder 2008-03-28 12:32:51 UTC
*** Bug 524575 has been marked as a duplicate of this bug. ***
Comment 3 Jody Goldberg 2008-04-13 16:07:00 UTC
I'm working on a quad tree based mechanism for the cells akin to the way we store styles.  However, it is going to require some significant retooling.
Comment 4 Morten Welinder 2008-04-25 17:15:13 UTC

*** This bug has been marked as a duplicate of 168875 ***