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 96804 - Printing diagrams: Top of diagram is outside page
Printing diagrams: Top of diagram is outside page
Status: VERIFIED OBSOLETE
Product: GnuCash
Classification: Other
Component: Reports
1.6.x
Other Linux
: Normal major
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2002-10-25 15:17 UTC by ch.schuetz
Modified: 2018-06-29 20:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ch.schuetz 2002-10-25 15:17:12 UTC
There are some problems with making and printing diagramm for example reports.

1. The toolbar of the chart tab or window is english even the maintoolbar
   is in german language. Afterwards the menu entries of the main view are
   corrupted.
   The second diagramm is no longer in german language. It seems that the
   language switched.

2. When I try to print the diagramm the top of the diagramm is to high.
   It is above of the top of the page. This is not only the case in the ps-file
   but even in the preview.
   To work around and get most of the diagramm on the print out I use
   Technicolor style with table cell spacing 20 and table cell padding 20 and 
   the option show preprer info. The diagramm wents down. Just the preparer
   info seems to get to the right position and is placed in the diagramm.

The text report works well like the rest of the programm. It's a nice software.
One question is left. The gnucash 1.7.1 files seems to have a different style.
Gnucash 1.6.8 does not load it. Is this right? So it is not good testing when 
you can't go back.

I use gnucash 1.6.8
Suse Linux 7.3

I would like to send snapshot but don't know how to add them.
Comment 1 ch.schuetz 2002-10-27 14:10:20 UTC
The first point I can explain more exactly now. All menu entries with 
german Umlauten (ä,ß,..) are not displayed. The space left blank. 
If you start gnucash in konsole there is the message:

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     ISO8859-1

.
Comment 2 Christian Stimming 2002-10-28 13:03:10 UTC
I can't reproduce that here. On my system (SuSE 8.0, latest GnuCash
1.6.x CVS) all menu items are in German, with or without Umlauts.
Also, all toolbar items are shown in German, with or without Umlauts. 

[There's only a known problem for labels in the graphical reports
(e.g. Assert Pie Chart) which is a bug in Guppi and we can't fix that.]

Can you give us more information about your system? Distribution, also
the output of "gettext --version", and "echo $LANG"?
Comment 3 ch.schuetz 2002-10-28 17:15:34 UTC
 Here are some system informations: 
 
Pentium-PC 
Linux 2.4.10-4GB Kernel 
desktop KDE 3.0.0 
gnome-libs 1.4.1 
guppi 0.40.3 
gdk-pixbuf 0.18.0-2 
gdkxft 1.1-67 
gnucash 1.6.8 self compiled 
 
gettext (GNU gettext) 0.11.5 
$LANG=de_DE@euro 
 
I tested with LANG=de_DE but it is all the same: When I start gnucash 
everything is all right and in german language. Even the Umlauts are 
displayed well until I try to make a graphical report. The toolbar for 
this diagram is in english. And when I open f.e. the menuentry "Datei" 
the entries "Im neuen Fenster öffnen" and " Fenster schließen aren't 
displayed anylonger. Something changed with the language. 
 
I don't know whitch informations are of interest. So ask if anything 
is not clear. 
 
Thanks Christoph 
Comment 4 ch.schuetz 2002-10-28 19:31:40 UTC
I tried also the original gnucash-version of the Suse 7.3 
distribution. There are just the same problems. Perhaps I installed 
anything not in the right manner? I'm not using gnome as desktop. 
Comment 5 Elijah Newren 2002-11-09 13:38:08 UTC
ch.schuetz@addcom.de has responded; reopening.  ch.schuetz@addcom.de,
please feel free to reopen bugs of yours for which you have provided
additional information--bugs left in the NEEDINFO state tend to be
viewed less.
Comment 6 ch.schuetz 2002-11-24 14:49:21 UTC
Here are some further informations.  
The change in the menubar-language comes along with the start of  
guppi. If I have no data and try to make a graphical report there is  
no change in menubar language. Everything is displayed in german  
language. Naturely there is no graphical report but a text information  
that there is no data instead.  
The change of the menubar language comes along with the following  
output in the konsole:  
 
guppi-text-state.c:guppi_text_state_get_block:338: text changed size  
90.238 12.166  
guppi-text-state.c:guppi_text_state_get_block:338: text changed size  
193.738 13.63  
guppi-layout-engine.c:schedule_layout:508: layout scheduled  
guppi-layout-engine.c:do_layout:413: bounds: 0:0.960568 0:0.959646  
guppi-layout-engine.c:do_layout:414: collapsed system: rows=4 cols=4  
guppi-layout-engine.c:schedule_layout:508: layout scheduled  
guppi-layout-engine.c:do_layout:465: Setting to 0:0.960568 0.959646:0  
guppi-layout-engine.c:do_layout:413: bounds: 0:0.960568 0:0.959646  
guppi-layout-engine.c:do_layout:414: collapsed system: rows=12  
cols=12  
guppi-layout-engine.c:schedule_layout:508: layout scheduled  
guppi-layout-engine.c:do_layout:465: Setting to 3.6:-2.63943  
-35.6364:3.6  
guppi-layout-engine.c:do_layout:465: Setting to -44.6387:45.5993  
-2.64035:-14.8064  
guppi-layout-engine.c:do_layout:465: Setting to -96.3887:97.3493  
-18.4064:-32.0364  
guppi-layout-engine.c:do_layout:413: bounds: -2.63943:3.6 0:0.959646  
guppi-layout-engine.c:do_layout:414: collapsed system: rows=8 cols=8  
guppi-layout-engine.c:do_layout:465: Setting to 0.960568:-203.52  
-2.64035:3.6  
guppi-layout-engine.c:do_layout:465: Setting to -199.92:0  
85.4038:-84.4442  
guppi-layout-engine.c:schedule_layout:508: layout scheduled  
guppi-text-state.c:guppi_text_state_get_block:338: text changed size  
148.23 18.11  
guppi-layout-engine.c:schedule_layout:508: layout scheduled  
guppi-text-state.c:guppi_text_state_get_block:338: text changed size  
225.486 15.36  
guppi-layout-engine.c:do_layout:413: bounds: 0:480.284 0:239.911  
guppi-layout-engine.c:do_layout:414: collapsed system: rows=4 cols=4  
guppi-layout-engine.c:do_layout:465: Setting to -0:480.284 239.911:-0  
guppi-layout-engine.c:do_layout:413: bounds: 0:480.284 -0:239.911  
guppi-layout-engine.c:do_layout:414: collapsed system: rows=12  
cols=12  
guppi-layout-engine.c:schedule_layout:508: layout scheduled  
guppi-layout-engine.c:do_layout:465: Setting to 3.6:476.684  
195.641:3.6  
guppi-layout-engine.c:do_layout:465: Setting to 166.027:314.257  
236.311:218.201  
guppi-layout-engine.c:do_layout:465: Setting to 127.399:352.885  
214.601:199.241  
guppi-layout-engine.c:do_layout:413: bounds: 3.6:476.684 3.6:195.641  
guppi-layout-engine.c:do_layout:414: collapsed system: rows=8 cols=8  
guppi-layout-engine.c:do_layout:465: Setting to 7.2:269.564  
192.041:7.2  
guppi-layout-engine.c:do_layout:465: Setting to 273.164:473.084  
184.545:14.6967  
guppi-text-state.c:guppi_text_state_get_block:338: text changed size  
148.23 18.11  
guppi-text-state.c:guppi_text_state_get_block:338: text changed size  
225.486 15.36  
 
Perhaps someone can interpret it and perhaps there is a hint why the 
language changes.  
Thanks Christoph 
Comment 7 ch.schuetz 2002-11-24 16:46:07 UTC
 Hello! 
The first of the two points is no bug of gnucash. I had to install the 
packages 
 
gtk-1.2.10-258.rpm 
gtk-engines-0.12-198.rpm 
gtk-themes-20001105-302.rpm 
 
and anything works well now. 
 
There is the problem with the displaced graphic left (point two). 
 
 
Comment 8 Christian Stimming 2002-11-25 12:55:40 UTC
Ok, the printing problems with diagrams (and with gtkhtml) have been
around for quite some time now (e.g. #84707 reports similar problems
but only for html text). Unfortunately IIRC the real bug lies
somewhere in the gnome-print code and therefore cannot be fixed easily
from Gnucash. Anyway, I raised the severity since this affects quite
some people.

As a manual workaround, you can display your to-be-printed report as a
sub-report of the "Multi-column view" (under "Sample & Custom"), where
you have one empty report on top and your desired report below that.
You can then twiddle with the height of the topmost report long enough
until the desired report is not above the actual page anymore. Yeah, I
agree this is not a solution, but it might be a workaround.
Comment 9 milgram 2005-02-22 18:20:17 UTC
I have the "top of diagram clipped off page" problem with v. 1.8.9.
For now, I'm doing this:

<print to foo.ps>
sed -e 's/\(eo\)*clip/n/g' -e '/EndSetup/i0 -200 translate' foo.ps > output.ps

But, I suspect there's no actual bug, but rather some page size configuration I
need to set somewhere. Anyone have any thoughts on this?
Comment 10 Christian Stimming 2005-11-11 10:04:56 UTC
Development on the 1.8.x branch has halted now. The current development is
progressing based on gtk2/gnome2 in SVN
http://gnomesupport.org/wiki/index.php/GnuCashSvn . These problems in the
supporting libraries will therefore be fixed in the upcoming gnucash-2.x release
series.
Comment 11 John Ralls 2018-06-29 20:20:15 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=96804. Please update any external references or bookmarks.