Defect #33220

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

Added by Jaebok Oh 2 months ago. Updated 30 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Gantt
Target version:4.1.2
Resolution:Fixed Affected version:4.1.0

Description

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

gantt_column_error.png (49.7 KB) Jaebok Oh, 2020-03-31 03:47

gantt-column-stretched.png (157 KB) Yuichi HARADA, 2020-04-01 07:59

33220.patch Magnifier (1.86 KB) Yuichi HARADA, 2020-04-01 08:02

33220-v2.patch Magnifier (1.85 KB) Go MAEDA, 2020-05-03 08:32

Associated revisions

Revision 19756
Added by Go MAEDA 30 days ago

Parent task subject column in gantt is not fully displayed when widened (#33220).

Patch by Yuichi HARADA.

Revision 19757
Added by Go MAEDA 30 days ago

Merged r19756 from trunk to 4.1-stable (#33220).

History

#1 Updated by Jaebok Oh 2 months ago

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

#2 Updated by Yuichi HARADA 2 months 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.

#3 Updated by Jaebok Oh 2 months ago

Good job! :-)

#4 Updated by Go MAEDA about 1 month ago

  • File 33220-v2.patchMagnifier added
  • Target version set to Candidate for next minor release

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)

#5 Updated by Go MAEDA about 1 month ago

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

Setting the target version to 4.1.2.

#6 Updated by Go MAEDA about 1 month 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

#7 Updated by Go MAEDA 30 days ago

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

Committed the patch. Thank you.

Also available in: Atom PDF