Re: [Planner Dev] Bug 128983 – Gantt bar height doesn't match treeview row height



Kurt Maute skrev:
Hi All,

Hi,

I spent some time yesterday reproducing this bug and made some modest
progress.
http://bugzilla.gnome.org/show_bug.cgi?id=128983

I've got 2 partitions set up, one with gtk 2.6.10 (works correctly) and
the other with 2.8.11 (bug reproduced).

I discovered that its not a problem with
gtk_tree_view_column_cell_get_size, since height = 23 is returned in
both cases.

Its getting retrieved just fine in gantt_chart_reflow_do - so that's not
it.

Then checked gannt_row_get_bounds, and did another comparison between
versions, and the exact same py2 values are being returned and then
passed to gnome_canvas_update_bbox.  So it seems that calculating the
height is not the problem - its something in the drawing behavior.

...and that's about as far as I've gotten, and not sure yet where I'll
check next, so I thought I'd solicit ideas.

Nice hunting. Do you have the exact same theme when using both versions? And does it happen when you use other themes etc. I really don't think that this has anything to do with the gtk version used, since it has been reported by various people from time to time during a long time. I have never seen it myself so it's been hard to debug.

/Richard

--
Imendio AB, http://www.imendio.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]