After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 478027 - Export to HTML problem
Export to HTML problem
Status: RESOLVED DUPLICATE of bug 471218
Product: planner
Classification: Other
Component: General
0.14.x
Other All
: Normal normal
: ---
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2007-09-18 12:56 UTC by Fred
Modified: 2008-07-27 21:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fred 2007-09-18 12:56:29 UTC
Please describe the problem:
When a project plan is exported to HTML the resultant file only renders correctly on FireFox.

Both Opera [9.23 Linux and Windows XP] and IE 6.0.2900.2180.xpsp_sp2_gdr.070227-254 both exhibit the same problem.

The last one or two bars on the gantt chart appear to be to long for the container div thereby forcing it [them] to display over two lines with the resource name appearing at the begining of the second line.

Steps to reproduce:
1. Generate a plan with a number of tasks with dependencies
2. Export to HTML
3. view in a variety of browsers


Actual results:
See above description.

Expected results:
See above description.

Does this happen every time?
Not sure.

Other information:
The plan in question [my first with planner] is company confidential.

If required I will try to reproduce for you.
Comment 1 Fred 2007-09-20 12:24:39 UTC
Further investigation confirms my earlier opinion and reveals another problem.

 1. It appears the width of the chart does not take into consideration either; the 'gantt-empty-end' element nor the 'gantt-resources' element. 
    This can be confirmed by not assigning any resources to the chronologically last task and then reducing the width of the 'gantt-complete-notdone' element by 15 or 20 pixels. The result is the final bar no longer spills over onto a second line.

    This fixes the problem in both IE and Opera.

 2. Opera does, however, exhibit a second problem whereby the bars in the right hand [scrolling] sub table of the Gantt chart appear to be slightly shorther [in height] to those in the left hand [non scrolling] table. 
    This results in an accumulating error which after 60 or 70 rows adds up to a discrepency of about half a row in height.
    This is a shame as Opera is my favourite browser and I have to keep switching to Firefox or [Heaven help me] IE to view the [corrected] HTML export.

Hope this helps.

I wish I had the time to fix the bug but I am up to my eyes in it and even the time planner has saved me is not enough for me to look at the code.

Regards
Fred
Comment 2 Fred 2007-09-20 13:08:36 UTC
A minor whoops! here.

The bug relating to the height of the right hand columns in the scrollable setion of the Gantt chart in Opera has been resolved. It was caused by someone changing the Zoom on my browser to 90%. It works perfectly at 100%.

Damn these new glasses!

Yes, this is a bug but I believe it can be fixed by expressing the size of the column in 'em's instead of 'px's...

Regards
Fred
Comment 3 Maurice van der Pot 2008-07-27 21:30:31 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 471218 ***