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 355396 - Report widget does not break very long lines correctly
Report widget does not break very long lines correctly
Status: VERIFIED NOTABUG
Product: GnuCash
Classification: Other
Component: Reports
2.0.x
Other Linux
: Normal minor
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2006-09-11 07:43 UTC by Neil Williams
Modified: 2018-06-29 21:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Neil Williams 2006-09-11 07:43:06 UTC
This is Debian bug # 382668
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382668

After much discussion on that bug report, the report generation code is not breaking very, very long lines in the way that should be expected. When such reports are exported to HTML and viewed in a HTML browser, the lines break as expected. When printed direct from gnucash, the lines are not broken and the report tries to cause data to be printed beyond the right margin.

The workaround of exporting to HTML, viewing in a browser and printing from there does work but this just highlights the bug within gnucash which should, in theory, do a very similar job internally.
Comment 1 Christian Stimming 2006-09-11 09:21:02 UTC
Thanks for the example file in the Debian bugreport. However, the report generation code in gnucash also just produces HTML. It is up to the HTML viewer widget to produce correct line-wraps, both on-screen and for printing. Both is handled by gtkhtml in gnucash's case. So I'm afraid we have to blame gtkhtml's printing code and we cannot do anything about this on the gnucash side... sorry. 

Maybe one could use the example data file, export as HTML (and attach it here), and make gtkhtml display that external HTML file (gtkhtml should probably have a webbrowser example in their tarball), and if this does exhibit the very same word-wrapping problem, then this should be reported to the gtkhtml guys (i.e. change the product to GtkHTML and adjust title)?
Comment 2 Neil Williams 2006-09-11 10:43:01 UTC
Reassigning to gtkhtml3.8 in Debian. Closing gnucash version.
Comment 3 John Ralls 2018-06-29 21:12:34 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=355396. Please update any external references or bookmarks.