Skip to content

Gantt chart bug: weird interaction with notes, tasks and separators #386

@RohanTalip

Description

@RohanTalip

I'm seeing a weird interaction with notes, tasks and separators:

@startgantt

Project starts 2020-09-01

[taskA] starts 2020-09-01 and lasts 3 days
[taskB] starts 2020-09-10 and lasts 3 days
[taskB] displays on same row as [taskA]

[task01] starts 2020-09-05 and lasts 4 days

then [task02] lasts 8 days
note bottom
  note for task02
  more notes
end note

then [task03] lasts 7 days
note bottom
  note for task03
  more notes
end note

-- separator --

[taskC] starts 2020-09-02 and lasts 5 days
[taskD] starts 2020-09-09 and lasts 5 days
[taskD] displays on same row as [taskC]

[task 10] starts 2020-09-05 and lasts 5 days
then [task 11] lasts 5 days

@endgantt

uml
overlapping

Things I'm noticing about this:

  1. the separator is not pushed down by the note for task03 (or not enough)
  2. taskC and taskD are pushed down by the note for task03
  3. task10 and task11 are not pushed down by the note for task03
  4. taskC and taskD are now overlapped by task10

Here is what it looks like with the notes commented out (uml) :
not-overlapping

I see something similar noted about overlapping on https://plantuml.com/gantt-diagram#c5aeee17b294caf8 :
Screen Shot 2020-09-25 at 2 12 36 PM

I thought that having another test case might be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions