Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500916 - app-office/gnucash-2.6.1 only prints reports in A4 size
Summary: app-office/gnucash-2.6.1 only prints reports in A4 size
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 18:02 UTC by Fred Krogh
Modified: 2015-07-08 15:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Krogh 2014-02-10 18:02:27 UTC
Go to file/page setup then change the paper size, "apply".  Then do the same and the paper size is back to A4.  One can change between portrait and landscape, but gnucash really likes the A4 paper size.  I don't know if this problem was in earlier versions.

============ emerge --info ========

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.18-r1, 3.13.2-gentoo x86_64)
=================================================================
System uname: Linux-3.13.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     8165100 total,   1652864 free
KiB Swap:    4194300 total,   4190352 free
Timestamp of tree: Mon, 10 Feb 2014 00:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1, 4.8.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=" --exclude=/.unionfs --exclude=.fuse_hidden*"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi ads alsa amd64 apache2 apng auctex bash-completion bcmath berkdb bluetooth branding bzip2 cairo caps caps-ng cdda cdr cdrom clamav clamd cli clisp colordiff consolekit cracklib crypt cups cxx dbus dconf debugger device-mapper dri dts dvd dvdr dvdread emacs emboss emul-linux86 encode exif fam fastcgi ffmpeg flac fontconfig fortran ftpuf g3dvl games gdbm gdu gif gnome gpm graphite gstreamer gtk gudev hwdb iconv icu introspection ipod ipv6 java javascript jpeg keymap kpathsea latex latin1 lcms ldap libclamav libnotify libwww logrotate mad mbox mmx mmxext mng modemmanager modules mono motif mouse mp3 mp4 mpeg multilib mysql nat ncurses network-cron nls nptl nsplugin nvidia ogg opengl openmp openrc pam pango pcre pdf png policykit pop pop3d ppds preview-latex pulseaudio python qt3support qt4 readline regex rpc samba sdl session smbclient sockets sound spamassassin spell sqlite sse sse2 ssl startup-notification sudoku svg symlink systemd tcpd theora threads thunderbird tiff truetype udev udisks unicode upcall upower usb vdpau vhosts vorbis webkit winbind wxwidgets x264 xcb xcomposite xml xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter fcgid file_cache filter headers hwdb ident imagemap include info log_config logio macro mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http python rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Pacho Ramos gentoo-dev 2014-02-10 19:20:37 UTC
Do you have the same problem on a new created user account with a new home directory? In that case, try running gnucash from a terminal to try to get better errors and messages while reproducing the issue
Comment 2 Fred Krogh 2014-02-10 19:47:36 UTC
I always run gnucash from a terminal.  Here is output from the terminal.
======
[000:000] Cpu: 6.42.7, x8, 3401Mhz, 7973MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:000] No bp log location saved, using default.
[000:001] Cpu: 6.42.7, x8, 3401Mhz, 7973MB
[000:001] Computer model: Not available
[000:001] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.42.7, x8, 3401Mhz, 7973MBlU
[000:001] Computer model: Not available
[000:002] No bp log location saved, using default.
[000:002] Cpu: 6.42.7, x8, 3401Mhz, 7973MB
[000:002] Computer model: Not available
========

And I just realized I can select US letter size if "Format for:" is set for "Any Printer", but I switched from that as it was leaving out 1 line between pages.  If I choose "Sam" (my default printer), then A4 is the only choice that is permanent.  Perhaps that suggest something?  Sam is a Samsung printer that accepts PCL4 or PCL5.

I tried it on user account which had not run gnucash before.  For that one, I couldn't get the choice Sam to stick.  I could select Sam then paper size would go to A4, and even if applying that for Sam, it came back as any printer when going back to the menu page setup menu.  And in this case nothing was printed in the terminal window, perhaps because there was no account to open.

Just tried again with my usual user.  And Sam won't stick there either if I just try from the starting screen.  It is only when printing reports that I can select Sam and have it persist.  But of course only with A4.
Comment 3 Pacho Ramos gentoo-dev 2014-02-10 19:59:37 UTC
Did you try to print from other apps? (other gnome apps, chromium, firefox...), maybe it's related with the configuration or drivers used in your printer
Comment 4 Fred Krogh 2014-02-10 20:02:04 UTC
I have printed from other applications without problems.  Chromium is one of them.  I'm not clear on what is a gnome app and what isn't.  I'm running an xfce4 desktop.
Comment 5 Pacho Ramos gentoo-dev 2014-02-10 20:42:09 UTC
Try with gedit or epiphany for example
Comment 6 Fred Krogh 2014-02-10 21:20:16 UTC
Had to emerge gedit.  It prints just fine.
Thanks for pursuing this.
Comment 7 Pacho Ramos gentoo-dev 2014-02-10 21:26:05 UTC
I would report this to gnucash upstream then:
https://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash

Once reported you can paste here the link to let us track it
Comment 8 Fred Krogh 2014-02-10 21:45:06 UTC
The bug has been file here: https://bugzilla.gnome.org/show_bug.cgi?id=724072