View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035038 | mantisbt | ui | public | 2024-11-26 13:14 | 2024-12-26 08:52 |
Reporter | raspopov | Assigned To | community | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.27.0 | ||||
Target Version | 2.28.0 | Fixed in Version | 2.28.0 | ||
Summary | 0035038: Text on the relationship and workflow graphs are rendered cropped | ||||
Description | This is due to the limitations of the png image format, but the Graphviz library supports svg, so it would be a good idea to switch to svg. Happens mainly on high dpi monitors | ||||
Tags | No tags attached. | ||||
As mentioned in the PR: GraphViz generates an invalid SVG on Ubuntu < 24.10 due to a malformed XML error, the This is a known issue in the library that has actually been fixed in release 2.42.4, but on current LTS versions, the apt package manager still installs 2.42.2 which still has the bug. To avoid introducing a regression for all users running on Ubuntu < 24.10, forcing them to manually install a newer version of GraphViz, this is put on hold until the next Ubuntu LTS including the fix (26.04) is released. |
|
In refreshed PR I decided instead of setting the option to 'svg' to make it possible to set the option to 'svg'. Maybe we should add Graphviz version diagnostics to the administrative checks with a hint that it's safe to use ‘svg’ or asking to update the Graphviz version... |
|
I decided to add a Graphviz version test and two diagnostics to the PR: for using SVG format for an unsupported version (FAIL) and for not using SVG format for a supported version (WARN). |
|
MantisBT: master 7c45c3f5 2024-12-26 08:51 Details Diff |
Allow changing format of Graphviz-generated images The format defaults to PNG to maintain backwards compatibility, but it can be set to any Graphivz-supported format; SVG offers better quality and avoids text begin cropped, but it is not supported by older versions of Graphviz. Fixes 0035038, https://github.com/mantisbt/mantisbt/pull/2051 |
Affected Issues 0035038 |
|
mod - admin/check/check_display_inc.php | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
mod - core/relationship_graph_api.php | Diff File | ||
mod - docbook/Admin_Guide/en-US/config/relationship.xml | Diff File | ||
mod - workflow_graph_img.php | Diff File |