Re: weird limits

On Tue, Aug 03, 2004 at 11:57:53AM -0500, David Stanaway wrote:
On Tue, 2004-08-03 at 11:32 -0500, David Stanaway wrote:
GNUMERIC_MAX_COLS = (32*32*32*32)  which seems to be the max. Any more
breaks at runtime:
** ERROR **: file ../../src/sheet-style.c: line 461 (sheet_style_init):
assertion failed: (SHEET_MAX_ROWS <= TILE_SIZE_ROW * TILE_SIZE_ROW *

I am not sure of the consequences of adding more cases for defining
higher TILE_SIZE_ROW values in sheet-style.c.

I see some unusual behavior with this set to 32*32*32*32

The worksheet only seems to be able to scrolled to 352941

I can fill the column fine up to the limit, and reference those cells, but the worksheet scrolling does not 

You've stumbled onto one of the ancient dirty secrets in gnumeric's
code base.  The size of the canvas is limited for speed.  You'll
need to edit src/gnumeric-canvas.h
    #define GNUMERIC_CANVAS_FACTOR_X 1000000
    #define GNUMERIC_CANVAS_FACTOR_Y 6000000
And increase the bounds.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]