Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
See the attached screenshot. It shows the far right of a template transaction in GnuCash 2.2.6, which has the 5px or so blank column. In 2.2.6, this column appears in all types of registers on my computer (Ubuntu 9.04). The current trunk does not display this column. On Thu, Oct 1, 2009 at 8:40 AM, Derek Atkins warl...@mit.edu wrote: I'm pretty sure the blank column shouldn't be there... But I'm not sure what you're seeing. -derek Tim M t...@filmchicago.org writes: Hmm was this a bug in 2.2.6? I've been using it as a benchmark (ubuntu 9.04 isn't up to date with 2.2.9), and all registers and templates in 2.2.6 display this extra blank column on the right side but I see the 2.3.6 trunk does not. If the blank column shouldn't be there, I have made a patch to use a different column count for the template register so that gnucash doesn't expect more columns than are defined. Ill upload the patch later. P.s. sorry for some messages not going to the mailing list, I've been sending them from a new phone and didn't realize my mistake. On 9/30/09, Derek Atkins warl...@mit.edu wrote: Hi, Tim M t...@filmchicago.org writes: I should note that when testing this patch, I also tried setting the RATE_CELL to column 7 for the template register (8 for non-template) and leaving column 8 blank, but I was told that the RATE_CELL needs to be the last column. When I tested a build with the RATE cell in col 7 for the template register, the 5px empty column did appear to the right of the template register. Right, because you were telling it that there are 9 columns but only telling it about 8. Another option if no empty columns are allowed would be to either a) create a BLANK_CELL type and use that to fill the void, or b) also set the number of columns for the GENERAL_LEDGER to 8 for template registers instead of 9 which is required to add the running balance column. The latter approach is easier -- just tell it the correct number of columns. -Tim -derek On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins warl...@mit.edu wrote: Christian Stimming cs...@code.gnucash.org writes: - gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + if (!reg-is_template) + { + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + } gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available attachment: Edit_Scheduled_Transaction-2.2.6.png___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
Tim M t...@filmchicago.org writes: See the attached screenshot. It shows the far right of a template transaction in GnuCash 2.2.6, which has the 5px or so blank column. In 2.2.6, this column appears in all types of registers on my computer (Ubuntu 9.04). The current trunk does not display this column. Right... This column probably shouldn't be there. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
Ok well in that case the patch I submitted for this is ok and does not display the extra column. I submitted the patch which corrects the column count to the same thread as my original patch for the 'balance' col displayed in the template register because I overlooked this thread at the time. Here: https://lists.gnucash.org/pipermail/gnucash-devel/2009-September/026438.html And thanks for all the help! On 10/2/09, Derek Atkins warl...@mit.edu wrote: Tim M t...@filmchicago.org writes: See the attached screenshot. It shows the far right of a template transaction in GnuCash 2.2.6, which has the 5px or so blank column. In 2.2.6, this column appears in all types of registers on my computer (Ubuntu 9.04). The current trunk does not display this column. Right... This column probably shouldn't be there. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available -- Sent from my mobile device ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
I'm pretty sure the blank column shouldn't be there... But I'm not sure what you're seeing. -derek Tim M t...@filmchicago.org writes: Hmm was this a bug in 2.2.6? I've been using it as a benchmark (ubuntu 9.04 isn't up to date with 2.2.9), and all registers and templates in 2.2.6 display this extra blank column on the right side but I see the 2.3.6 trunk does not. If the blank column shouldn't be there, I have made a patch to use a different column count for the template register so that gnucash doesn't expect more columns than are defined. Ill upload the patch later. P.s. sorry for some messages not going to the mailing list, I've been sending them from a new phone and didn't realize my mistake. On 9/30/09, Derek Atkins warl...@mit.edu wrote: Hi, Tim M t...@filmchicago.org writes: I should note that when testing this patch, I also tried setting the RATE_CELL to column 7 for the template register (8 for non-template) and leaving column 8 blank, but I was told that the RATE_CELL needs to be the last column. When I tested a build with the RATE cell in col 7 for the template register, the 5px empty column did appear to the right of the template register. Right, because you were telling it that there are 9 columns but only telling it about 8. Another option if no empty columns are allowed would be to either a) create a BLANK_CELL type and use that to fill the void, or b) also set the number of columns for the GENERAL_LEDGER to 8 for template registers instead of 9 which is required to add the running balance column. The latter approach is easier -- just tell it the correct number of columns. -Tim -derek On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins warl...@mit.edu wrote: Christian Stimming cs...@code.gnucash.org writes: - gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + if (!reg-is_template) + { + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + } gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
Hi, Tim M t...@filmchicago.org writes: I should note that when testing this patch, I also tried setting the RATE_CELL to column 7 for the template register (8 for non-template) and leaving column 8 blank, but I was told that the RATE_CELL needs to be the last column. When I tested a build with the RATE cell in col 7 for the template register, the 5px empty column did appear to the right of the template register. Right, because you were telling it that there are 9 columns but only telling it about 8. Another option if no empty columns are allowed would be to either a) create a BLANK_CELL type and use that to fill the void, or b) also set the number of columns for the GENERAL_LEDGER to 8 for template registers instead of 9 which is required to add the running balance column. The latter approach is easier -- just tell it the correct number of columns. -Tim -derek On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins warl...@mit.edu wrote: Christian Stimming cs...@code.gnucash.org writes: - gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + if (!reg-is_template) + { + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + } gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
Hmm was this a bug in 2.2.6? I've been using it as a benchmark (ubuntu 9.04 isn't up to date with 2.2.9), and all registers and templates in 2.2.6 display this extra blank column on the right side but I see the 2.3.6 trunk does not. If the blank column shouldn't be there, I have made a patch to use a different column count for the template register so that gnucash doesn't expect more columns than are defined. Ill upload the patch later. P.s. sorry for some messages not going to the mailing list, I've been sending them from a new phone and didn't realize my mistake. On 9/30/09, Derek Atkins warl...@mit.edu wrote: Hi, Tim M t...@filmchicago.org writes: I should note that when testing this patch, I also tried setting the RATE_CELL to column 7 for the template register (8 for non-template) and leaving column 8 blank, but I was told that the RATE_CELL needs to be the last column. When I tested a build with the RATE cell in col 7 for the template register, the 5px empty column did appear to the right of the template register. Right, because you were telling it that there are 9 columns but only telling it about 8. Another option if no empty columns are allowed would be to either a) create a BLANK_CELL type and use that to fill the void, or b) also set the number of columns for the GENERAL_LEDGER to 8 for template registers instead of 9 which is required to add the running balance column. The latter approach is easier -- just tell it the correct number of columns. -Tim -derek On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins warl...@mit.edu wrote: Christian Stimming cs...@code.gnucash.org writes: - gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + if (!reg-is_template) + { + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); + } gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available -- Sent from my mobile device ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
Christian Stimming cs...@code.gnucash.org writes: -gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); +if (!reg-is_template) +{ + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); +} gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: r18354 - gnucash/trunk/src/register/ledger-core - Fix bug when register running balance column appears in template transaction.
I should note that when testing this patch, I also tried setting the RATE_CELL to column 7 for the template register (8 for non-template) and leaving column 8 blank, but I was told that the RATE_CELL needs to be the last column. When I tested a build with the RATE cell in col 7 for the template register, the 5px empty column did appear to the right of the template register. Another option if no empty columns are allowed would be to either a) create a BLANK_CELL type and use that to fill the void, or b) also set the number of columns for the GENERAL_LEDGER to 8 for template registers instead of 9 which is required to add the running balance column. -Tim On Tue, Sep 29, 2009 at 10:30 AM, Derek Atkins warl...@mit.edu wrote: Christian Stimming cs...@code.gnucash.org writes: -gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); +if (!reg-is_template) +{ + gnc_table_layout_set_cell (layout, curs, RBALN_CELL, 0, 7); +} gnc_table_layout_set_cell (layout, curs, RATE_CELL, 0, 8); Is it okay to skip a column like this? -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel