2023-04-02 23:32:43 |
David Huggins-Daines |
bug |
|
|
added bug |
2023-10-02 20:56:31 |
Dave Jones |
merge proposal linked |
|
https://code.launchpad.net/~dhuggins/ubuntu/+source/graphviz/+git/graphviz/+merge/440197 |
|
2024-05-11 18:55:17 |
Dave Jones |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980900 |
|
2024-05-11 18:58:14 |
Dave Jones |
nominated for series |
|
Ubuntu Noble |
|
2024-05-11 18:58:14 |
Dave Jones |
bug task added |
|
graphviz (Ubuntu Noble) |
|
2024-05-11 18:58:14 |
Dave Jones |
nominated for series |
|
Ubuntu Jammy |
|
2024-05-11 18:58:14 |
Dave Jones |
bug task added |
|
graphviz (Ubuntu Jammy) |
|
2024-05-11 18:58:14 |
Dave Jones |
nominated for series |
|
Ubuntu Mantic |
|
2024-05-11 18:58:14 |
Dave Jones |
bug task added |
|
graphviz (Ubuntu Mantic) |
|
2024-05-11 18:58:57 |
Dave Jones |
graphviz (Ubuntu): status |
New |
Confirmed |
|
2024-05-11 18:58:59 |
Dave Jones |
graphviz (Ubuntu Jammy): status |
New |
Confirmed |
|
2024-05-11 18:59:00 |
Dave Jones |
graphviz (Ubuntu Mantic): status |
New |
Confirmed |
|
2024-05-11 18:59:05 |
Dave Jones |
graphviz (Ubuntu Noble): status |
New |
Confirmed |
|
2024-05-11 19:00:19 |
Dave Jones |
summary |
scaling is wrong in SVG output |
[SRU] scaling is wrong in SVG output |
|
2024-05-11 19:00:56 |
Dave Jones |
bug |
|
|
added subscriber Dave Jones |
2024-05-11 20:12:12 |
David Huggins-Daines |
attachment added |
|
fst.svg https://bugs.launchpad.net/bugs/2015017/+attachment/5777430/+files/fst.svg |
|
2024-05-11 20:12:12 |
David Huggins-Daines |
attachment added |
|
fst.dot https://bugs.launchpad.net/bugs/2015017/+attachment/5777431/+files/fst.dot |
|
2024-05-11 20:13:34 |
David Huggins-Daines |
attachment added |
|
fst.dot https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/2015017/+attachment/5777432/+files/fst.dot |
|
2024-05-13 06:35:18 |
Dave Jones |
description |
SVG output brutally truncates large (and even not so large) graphs when the "size" attribute is set.
This was fixed *two years ago* upstream. Any chance that we might get more recent graphviz packages in Ubuntu at some point? Failing that, it is quite easy to fix this bug.
See https://gitlab.com/graphviz/graphviz/-/issues/1605
The fix is very simple, it seems: https://gitlab.com/graphviz/graphviz/-/commit/a5606d101af1cc949908a6f0bc19caaa4eb31159
Definitely present in 22.04, still present in the Lunar package (graphviz_2.42.2-7build3) |
[ Impact ]
graphivz output is incorrect for SVG output when the "size" attribute is set, as it implicitly is in several circumstances.
[ Test Plan ]
* sudo apt install imagemagick graphviz
* Grab fst.dot attached to this bug
* dot -Tpng fst.dot | display png:-
* Observe correct scaling
* dot -Tsvg fst.dot | display svg:-
* Observe incorrect cropping of output
* Enable proposed (https://wiki.ubuntu.com/Testing/EnableProposed)
* Upgrade graphviz to version from proposed
* dot -Tsvg fst.dot | display svg:-
* Ensure output is not cropped
[ Regression Potential ]
Low; the patched applied is from upstream and has been part of the official sources for many years now (Debian and Ubuntu are rather behind on their versions of graphviz, but it looks like this may be corrected in the oracular cycle). Nonetheless, the patch was first applied to our current version, is minimal in nature, and fixes the issue in tests without impacting other output.
There is a very small possibility someone may be relying on the incorrect truncation of SVG output, but this is almost certainly outweighed by the number of users impacted by incorrect truncation of output in, e.g. jupyter notebooks, and by the consistency of having the same (lack of) cropping in different output formats.
[ Original Description ]
SVG output brutally truncates large (and even not so large) graphs when the "size" attribute is set.
This was fixed *two years ago* upstream. Any chance that we might get more recent graphviz packages in Ubuntu at some point? Failing that, it is quite easy to fix this bug.
See https://gitlab.com/graphviz/graphviz/-/issues/1605
The fix is very simple, it seems: https://gitlab.com/graphviz/graphviz/-/commit/a5606d101af1cc949908a6f0bc19caaa4eb31159
Definitely present in 22.04, still present in the Lunar package (graphviz_2.42.2-7build3) |
|
2024-05-13 22:14:59 |
Dave Jones |
graphviz (Ubuntu): status |
Confirmed |
Fix Committed |
|
2024-05-13 22:15:01 |
Dave Jones |
graphviz (Ubuntu Jammy): status |
Confirmed |
In Progress |
|
2024-05-13 22:15:03 |
Dave Jones |
graphviz (Ubuntu Mantic): status |
Confirmed |
In Progress |
|
2024-05-13 22:15:05 |
Dave Jones |
graphviz (Ubuntu Noble): status |
Confirmed |
In Progress |
|
2024-05-23 07:43:24 |
Launchpad Janitor |
graphviz (Ubuntu): status |
Fix Committed |
Fix Released |
|
2024-05-24 18:23:20 |
Steve Langasek |
graphviz (Ubuntu Noble): status |
In Progress |
Fix Committed |
|
2024-05-24 18:23:21 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-05-24 18:23:25 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2024-05-24 18:23:29 |
Steve Langasek |
tags |
|
verification-needed verification-needed-noble |
|
2024-05-24 18:26:27 |
Steve Langasek |
graphviz (Ubuntu Mantic): status |
In Progress |
Fix Committed |
|
2024-05-24 18:26:32 |
Steve Langasek |
tags |
verification-needed verification-needed-noble |
verification-needed verification-needed-mantic verification-needed-noble |
|
2024-05-24 18:27:18 |
Steve Langasek |
graphviz (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2024-05-24 18:27:24 |
Steve Langasek |
tags |
verification-needed verification-needed-mantic verification-needed-noble |
verification-needed verification-needed-jammy verification-needed-mantic verification-needed-noble |
|