Patch: Bug 617558 - Header in register doesn't clear properly

J. Alex Aycinena alex.aycinena at gmail.com
Mon May 3 14:47:59 EDT 2010


The header in the register doesn't clear properly in double-line mode
when switching from transaction to split.

When the register is in double line mode and split detail is shown (either
using the auto-split selection or requesting to view splits with the button),
moving the cursor from the transaction level (e.g., the description field) to
the split level (e.g., the memo field) doesn't properly clear the header before
re-drawing it. So the second line is left with the text of the
transaction-level second-line (specifically the 'Notes' heading text and some
vertical lines).

This happens because of an error in defining the size of the 'canvas'
object in the function, 'gnc_header_request_redraw' so that when the
function 'gnc_header_draw' is subsequently called and tries to use
'gdk_draw_rectangle' to blank the header, it can only affect the first
line.

The attached patch fixes this.

I would be grateful if someone with commit capabilities would apply this for me.

Thanks,

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnucash-register-header-patchfile
Type: application/octet-stream
Size: 597 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20100503/0b6cf7b5/attachment.obj>


More information about the gnucash-devel mailing list