Export layout information including regex
2 posts · Closed
I have to include more columns on my test layout (test and debug environment), so my max columns parameter switches from 20 to 30. Because of that, the whole layout becomes a mess and visible columns that were supposed to be hidden are now visible. They were reorganized or sorted too. Also, all the regex (on the visible columns area) were lost.
I did manage to overcome this with other old (older) configs. So everything is back to normal, but it took me some time to make it as it was in the beginning before the max columns switch was applied. Is there any possibility to export this layout information including the regex to minimize the restoration efforts?
This issue stems from a poor design choice to create a limited number of columns (10 of each type by default) and keeping their associated data, e.g. regex, colours, etc bound to column indices.
This works okay as long as the number stays the same, say column #50 always stays column #50: even if you drag it around, its position changes, but its index stays. However if extra columns are added all indices shift, which results in associated data being bound to wrong columns.
I will check if we can redesign this mechanism to resolve this problem once and for all.