Project

General

Profile

Actions

Defect #33220

closed

Parent task subject column in gantt is not fully displayed when the column is widened

Added by Jaebok Oh almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gantt
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The Parent task subject is broken when the width of the column is wider.


Files

gantt_column_error.png (49.7 KB) gantt_column_error.png Jaebok Oh, 2020-03-31 03:47
gantt-column-stretched.png (157 KB) gantt-column-stretched.png Yuichi HARADA, 2020-04-01 07:59
33220.patch (1.86 KB) 33220.patch Yuichi HARADA, 2020-04-01 08:02
33220-v2.patch (1.85 KB) 33220-v2.patch Go MAEDA, 2020-05-03 08:32
Actions #1

Updated by Jaebok Oh almost 4 years ago

Changing ID as shown below will resolve the issue.
parent.subject -> parent_subject

Actions #2

Updated by Yuichi HARADA almost 4 years ago

Jaebok Oh wrote:

Changing ID as shown below will resolve the issue.
parent.subject -> parent_subject

+1
I think so, too. In the attached patch, the Parent task subject can be stretched properly.

Actions #3

Updated by Jaebok Oh almost 4 years ago

Good job! :-)

Actions #4

Updated by Go MAEDA almost 4 years ago

I have slightly modified the patch.

  • Changed the variable name from css_class to column_name because it is used not only for CSS classes but also for ids
  • Changed the way of getting the "parent_subject" format string in order to reduce method calls (5 to 3)
Actions #5

Updated by Go MAEDA almost 4 years ago

  • Target version changed from Candidate for next minor release to 4.1.2

Setting the target version to 4.1.2.

Actions #6

Updated by Go MAEDA almost 4 years ago

  • Subject changed from The Parent task subject is broken when the width of the column is wider. to Parent task subject column in gantt is not fully displayed when the column is widened
Actions #7

Updated by Go MAEDA almost 4 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you.

Actions

Also available in: Atom PDF