GNOME Bugzilla – Bug 172292
Printing: non working days misaligned
Last modified: 2009-08-13 01:04:29 UTC
Please describe the problem: Non working days are misaligned with the header in the print previw/print output. See the attached file Steps to reproduce: 1. use the attached file 2. print preview Actual results: Non working days are misaligned with headers. Expected results: Non working days aligned with headers. Does this happen every time? Yes. Other information:
Created attachment 39523 [details] test project demonstrating problem If the project start time is changed, the problem goes away. It seems like the call to align the time in planner-gantt-print.c is at fault: /* Third pass, add background shading for non-work intervals. */ for (row = 0; row < data->rows_of_pages; row++) { t0 = mrp_time_align_day (data->start); Either the headers should do the same thing or data->start should be used directly.
Hm, I remember doing that for a reason, I think it might have been a workaround for a bug in the project start time that has been fixed since. I'll take a look, thanks for the patch!
Ah, it was a test file, not a patch :) Anyway, fixed in CVS.