[erlang-patches] Re: small patch for tv

Dmitriy Budashny <>
Fri Jan 15 11:09:20 CET 2010


2009/12/1 Björn Gustavsson <>

> I cannot reproduce the problem. I assume it has something
> to do with your window manager.
>
> We'll let it in cook in the 'pu' branch for a while.
>
> Unless someone finds any problem with the fix or a better
> way to correct the bug, I think we should include this fix
> in the R13B04 release.
>

 I've done a little research and found that the problem was with one of the
constants:

tv_pd_int_def.hrl:
-define(NOF_GRIDROWS, 35). %% 29

You can reproduce the problem by resizing table window vertically, when
NofRowsShown (a variable from tv_pg_gridfcns:resize_grid) become more than
35 (that's around 32-33 rows in a grid), you have to get your window
crashed.

So the easiest way to fix this problem, is to increase this constant, but
it'll be yet another work-around.
Other way is not only about adding new rows to Column Frames, but there is a
need to fix button's code to be able to create new buttons on the fly.

For my bad, I stuck in debugging of the new rows adding. Maybe you can help
me by advice on how to debug gs objects.

-- 
wbr, dym


More information about the erlang-patches mailing list