Hey all. I've been seeing a strange little bug that I'm not sure how to debug, so I hoped some people on the list could help me out. I'm attaching sample code, but the basic issue is this: the app has a button that fills a ListStore with data. For certain sets of data--I'm not sure of the exact requirements, but the one provided does it for me--the TreeView will expand horizontally to handle the increased size necessary for the data, but some of the columns won't be filled correctly-at first. In this case, the 'Result' column, which should hold 'failed' for the visible lines, instead holds a snippet of the text in the 'Date Scheduled'. However, this fixes itself if you mouse-over each row, or if you put the window behind another and then bring it to the front. After that, it doesn't seem to be a problem for the remainder of the program. It's obviously not a big deal, but I'd like to find out what's happening. I'm not really sure how to start debugging this; if anyone could help me out, I'd appreciate it. Or, if it doesn't happen for other people, I'd like to know that too--maybe it's something in our installation. To use the sample program, just click on the "Fill It" button, then mouse over the rows in the TreeView and watch what happens. Thanks, -Ken -- Kenneth Swanson <kswanson watson wustl edu>
Attachment:
column_size_bug.pl
Description: Perl program