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 319068 - Taska and graphics not correctly aligned
Taska and graphics not correctly aligned
Status: RESOLVED DUPLICATE of bug 128983
Product: planner
Classification: Other
Component: General
0.13
Other Linux
: Normal major
: ---
Assigned To: planner-maint
planner-maint
: 319214 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-17 14:02 UTC by Grahame Cooper
Modified: 2006-04-27 22:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample Screenshot (41.13 KB, image/png)
2005-10-19 10:12 UTC, Grahame Cooper
Details

Description Grahame Cooper 2005-10-17 14:02:23 UTC
Distribution/Version: Ubuntu Breezy

In the Gantt chart view, the bars of the Gantt chart do not align correctly with
the task in the task grid at the left of the page. The spacing of the bars is
slightly lees than the spacing of the items in the task list. After wbout 12
lines, the 13th bar in the graph aligns with the 12th item in th task list.
Comment 1 Yann 2005-10-19 09:27:40 UTC
*** Bug 319214 has been marked as a duplicate of this bug. ***
Comment 2 Grahame Cooper 2005-10-19 10:12:52 UTC
Created attachment 53646 [details]
Sample Screenshot
Comment 3 Sebastien Roy 2006-01-05 03:15:48 UTC
I see this bug on 0.13 on Solaris 11 running Gnome 2.12.
Comment 4 amasidlover 2006-01-13 11:36:33 UTC
This has happened to me since I upgraded to GTK+ 2.8.9  - I suspect this may be the cause.
Comment 5 amasidlover 2006-01-13 12:07:56 UTC
I've just found a rather ugly fix...

in src/planner-gantt-chart.c is a function gantt_chart_reflow_do which contains the lines:

        row_height = chart->priv->row_height;
        if (row_height == -1) {
                row_height = 23;
        }

For some reason the function that sets chart->priv->row_height is setting the wrong height, this is g_parm_spec_int - but I can't find what it does or why...

The fix is to add the line row_height = 25; straight after the lines above. I checked this value by doing a screen dump and counting the pixels of the text describing the task to get 25 - this may vary with your font sizes etc.
Comment 6 Marko Käning 2006-01-17 20:48:14 UTC
I saw the same like in comment #4!

I started to experiment with planner using GTK+ 2.8.9 and saw this misalignment quite early.

Then I downgraded my GTK+ version to the version 2.6.4 recommended on the planner website and it WORKED.

So, there is some compatibility issue connected with the GTK+ version!
Marko
Comment 7 Michael Spiceland 2006-04-27 21:37:27 UTC
I am confirming this issue with gtk2 version 2.8.17 as well.  This is the current version of planner and gtk2 with Fedora Core 5.

Again, this means that planner is broken for Fedora Core 5 users.
Comment 8 fmoraes 2006-04-27 22:06:13 UTC

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