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 650958 - HTML: Support "@media print"
HTML: Support "@media print"
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.4
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-05-24 11:49 UTC by Simon A Watts
Modified: 2011-08-14 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon A Watts 2011-05-24 11:49:28 UTC
Doxygen 1.7.4 introduces a new dynamic HTML page layout.

However, this breaks print-ability of the pages - only the visible portion (top) of the documentation is printed, along with the navigation elements.

Doxygen should use the "@media print" css directive to support alternate layout for the purpose of printing.  This is normally done through the style-sheet - however the dynamic layout (JavaScript) gets in the way.

JavaScript does not directly support recognition of the "@media" style being used.  This can be done by testing a dummy css property, or (for our purposes) identifying hidden elements and setting their size to zero when performing the layout.

Print output should include the header and footer, all of the body document, but not the navigational parts of the page.
Comment 1 Simon A Watts 2011-06-06 11:26:32 UTC
I have changed this from an enhancement to a bug - since the new HTML layout stops pages from being correctly printed.

The original report suggests an approach to correct this.
Comment 2 Dimitri van Heesch 2011-06-23 19:30:14 UTC
Thanks for the suggestion to use @media. Works nicely as you will see in the next subversion update.
Comment 3 Dimitri van Heesch 2011-08-14 14:05:26 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. 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.