-
Notifications
You must be signed in to change notification settings - Fork 17
Multiple issues in Gantt Plugin: Tooltip overflow and Progress % inconsistency #194
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
GLPI Version
10.0.20
Plugin version
1.1.0
Bug description
We have identified two significant issues within the Gantt plugin (Teclib) that affect both TEST and PROD environments. These issues impact both the user interface legibility and data accuracy.
-
Tooltip Rendering & Text Density
The tooltip in the Gantt view does not properly handle high density of information in the "Description" and "Comments" fields.
Actual Behavior: The plugin attempts to render long strings of text in a single line or without a defined container/max-width. This saturates the visual space and makes the tooltip illegible.
Expected Behavior: The tooltip should have a defined width with text-wrapping or truncation logic to ensure a clean UI.
Observation: This is consistent across environments, with only minor aesthetic differences (like background color), confirming it is a design limitation of the current component. -
Progress Percentage Mismatch
There is a discrepancy between the completion percentage shown in the native GLPI Project tab and the Gantt chart view.
Actual Behavior: The percentage values differ between the project's main tab and the Gantt plugin for the same entity.
Expected Behavior: Both views should synchronize and display the same completion percentage based on the project's tasks.
Current Status: The core GLPI project percentage appears to be the correct one; the Gantt plugin seems to be using a different (and inconsistent) calculation logic.
Relevant log output
Page URL
No response
Steps To reproduce
- Create or edit a Project and add several tasks.
- In one task, enter a long, dense text in the "Description" or "Comments" fields.
- Go to the Gantt tab and hover over that task; observe the tooltip (it overflows without text wrapping).
- Update the completion percentage of the tasks.
- Compare the total % of completion in the main "Project" tab vs. the value displayed in the "Gantt" tab.
We have detected two main issues in both TEST and PROD environments:
Tooltip Density: The plugin fails to wrap text in the tooltip for "Description" and "Comments". It renders as a single long line or an unconstrained container, making it illegible when information is dense.
Progress Mismatch: There is a calculation inconsistency. The percentage shown in the native Project tab is correct, but the Gantt view displays a different, incorrect value.
Expected behavior:
Tooltips should have a max-width and white-space: normal (or similar) to wrap long texts.
The Gantt completion percentage must perfectly synchronize with the core GLPI project data.
Your GLPI setup information
No response
Anything else?
