Project

General

Profile

Actions

Defect #44639

closed

Gantt project collapse leaves descendants visible when an intermediate project is not visible

Added by Katsuya HIDAKA 3 days ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gantt
Target version:
-
Resolution:
Fixed
Affected version:

Description

When an intermediate project is not visible, some descendant projects and their issues remain visible after their displayed parent project is collapsed in the Gantt chart.

For example, consider the project hierarchy Project A → Project AA → Project AAA, where Project AA is not visible to the user.

After collapsing Project A, Project AAA and its issue remain visible.


Files


Related issues

Related to Redmine - Feature #44567: Modernize Gantt chart HTML structureClosedGo MAEDAActions
Actions #1

Updated by Katsuya HIDAKA 3 days ago

I'm attaching a patch to fix this issue.

The patch links each project row to its nearest displayed ancestor. After collapsing Project A, only Project A remains visible.

No meaningful change in performance was observed in a 400-issue benchmark:

Metric (median) Before After Change
Page ready time 1,426.7 ms 1,440.3 ms +0.96%
Ruby allocated memory per request 106.99 MiB 106.79 MiB −0.19%
Ruby retained memory per request 15.04 MiB 14.96 MiB −0.52%

Confirmed in Chrome, Safari, and Firefox. All 365 comparison images across 42 scenarios matched.

Actions #2

Updated by Katsuya HIDAKA 3 days ago

This issue was introduced by #44567.

Actions #3

Updated by Go MAEDA 3 days ago

  • Related to Feature #44567: Modernize Gantt chart HTML structure added
Actions #4

Updated by Go MAEDA 3 days ago

  • Assignee set to Go MAEDA
  • Target version set to Candidate for next major release
Actions #5

Updated by Go MAEDA 3 days ago

  • Status changed from New to Closed
  • Target version deleted (Candidate for next major release)
  • Resolution set to Fixed

Committed the fix as part of #44567 in r25275. Thank you.

Actions

Also available in: Atom PDF