After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 554638 - Diagrams are not re-generated when switching image format
Diagrams are not re-generated when switching image format
Status: RESOLVED INCOMPLETE
Product: doxygen
Classification: Other
Component: documentation
1.5.7
Other Mac OS
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-10-01 23:46 UTC by Quinn Taylor
Modified: 2010-11-10 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Quinn Taylor 2008-10-01 23:46:42 UTC
When DOT_IMAGE_FORMAT is changed and Doxygen is re-run from an Xcode script, the images for all the diagrams are not re-generated. However, the <img> tags in the HTML are updated to reference the new type. This leads to lots of broken images without any warning or feedback from Doxygen.

A similar, but less important issue is that the images are also not re-generated if DOT_PATH is changed. When experimenting with different tools, this is a bit of a pain, since it requires deleting the existing docs and re-generating everything, which wastes ~10 seconds every time for me.

Of note, the diagrams ARE re-generated when DOT_FONTNAME is changed.

Thanks,
  - Quinn
Comment 1 Dimitri van Heesch 2010-06-21 13:16:38 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-06-25 11:49:04 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.1. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 3 Quinn Taylor 2010-06-25 16:32:54 UTC
I've confirmed that in 1.7.1, changing DOT_IMAGE_FORMAT regenerates the diagrams. I did notice that sometimes it takes more than one run for the change to take effect, sometimes requiring me to save/touch the Doxyfile more than once for it to "take".

I don't know if this is unrelated to recent changes, but I generate diagrams using DOT from GraphViz on OS X, and now JPG images have bizarre grainy artifacts, and GIF images are dark blue arrows on a black background. I prefer to use PNG anyway, but I noticed when testing changes of image format.
Comment 4 Dimitri van Heesch 2010-06-26 08:18:20 UTC
Hi Quinn,

(In reply to comment #3)
> I've confirmed that in 1.7.1, changing DOT_IMAGE_FORMAT regenerates the
> diagrams. I did notice that sometimes it takes more than one run for the change
> to take effect, sometimes requiring me to save/touch the Doxyfile more than
> once for it to "take".

Strange, if you an example or set of steps that allows me to reproduce this issue then please attach it.

I assume you use the wizard? does it make a difference if you run doxygen
from the Terminal app? (the executable can be found in /Applications/Doxygen.app/Contents/Resources/doxygen)

> 
> I don't know if this is unrelated to recent changes, but I generate diagrams
> using DOT from GraphViz on OS X, and now JPG images have bizarre grainy
> artifacts, and GIF images are dark blue arrows on a black background. I prefer
> to use PNG anyway, but I noticed when testing changes of image format.

Doxygen provides the .dot file to DOT, so it is DOT that generates the final image. I also noticed something strange when testing the jpeg output. Firefox didn't show the images at all (while other browsers did). Seems that the images produced by dot are not completely standards compliant or something. Other than that the images looked ok for me (using dot 2.26.3).
Comment 5 Tobias Mueller 2010-09-25 09:53:24 UTC
Quinn, Ping.
Comment 6 Felipe Besoaín Pino 2010-11-10 17:23:21 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!