Project

General

Profile

Actions

Feature #43678

closed

Improve Gantt chart behavior in RTL environments

Added by Go MAEDA 21 days ago. Updated 8 days ago.

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

Description

The current Gantt chart does not fully support RTL layout. In RTL, the area displaying the issue subject is correctly moved to the right side. However, the timeline in the chart itself still progresses from left to right, with the oldest dates shown on the left and the newest dates on the right.

For proper RTL support, the time axis should follow the writing direction. In RTL layout, the timeline should progress from right to left, with the oldest dates on the right and the newest dates on the left.


Files


Related issues

Related to Redmine - Feature #43700: Improve RTL layout support by replacing physical CSS properties with logical ones in core CSS filesClosedGo MAEDAActions
Actions #1

Updated by Go MAEDA 16 days ago

  • Related to Feature #43700: Improve RTL layout support by replacing physical CSS properties with logical ones in core CSS files added
Actions #2

Updated by Go MAEDA 16 days ago

  • Assignee deleted (Go MAEDA)
Actions #3

Updated by Go MAEDA 12 days ago

The first three patches replace physical CSS properties used in the Gantt chart with logical properties. This makes RTL support easier and aligns the Gantt CSS with other core CSS, which has already been migrated to logical properties.

However, even after these changes, the Gantt chart still has several problems in RTL environments:

  • Issue relation arrows and the progress line are rendered incorrectly
  • Column width resizing via drag and drop does not work correctly

Due to these problems, the Gantt chart is not practically usable in RTL environments at the moment.

Therefore, the fourth patch temporarily forces LTR rendering for the Gantt table even in RTL locales. Although this results in a left-to-right layout in RTL languages, this patch series resolves several serious issues present in the current RTL Gantt. I believe this is a significant improvement over the current behavior.

As a result, applying this patch series leads to the following behavior:

  • The Gantt chart is rendered in left-to-right order even in RTL environments
  • Subject hierarchies are now rendered correctly in RTL environments
  • Future portions of the chart, including months beyond the current viewport, are now rendered correctly in RTL environments
  • The Gantt chart is usable in practice in RTL environments, although full RTL layout support is not yet available
  • The Gantt chart now uses CSS logical properties instead of physical properties, making further RTL improvements easier in the future

Actions #4

Updated by Go MAEDA 10 days ago

  • Target version changed from Candidate for next major release to 7.0.0

Setting the target version to 7.0.0.

Actions #5

Updated by Go MAEDA 9 days ago

  • Assignee set to Go MAEDA
Actions #6

Updated by Go MAEDA 8 days ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Committed the patches in r24382, r24383, r24384, and r24385.

See #note-3 for the current status of RTL support for Gantt.

Actions

Also available in: Atom PDF