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 665922 - Large accounts not rendered entirely with GDK_NATIVE_WINDOWS=1
Large accounts not rendered entirely with GDK_NATIVE_WINDOWS=1
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: User Interface General
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: Christian Stimming
Geert Janssens
Depends on:
Blocks:
 
 
Reported: 2011-12-10 20:14 UTC by Sébastien Villemot
Modified: 2018-06-29 23:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Villemot 2011-12-10 20:14:53 UTC
This is Debian bug http://bugs.debian.org/561791

If GnuCash is run with the environment variable GDK_NATIVE_WINDOWS=1, accounts which contain a large number of transactions are not rendered correctly: only the beginning of the account is rendered as expected, but below a certain line the display is not refreshed.

On my machine the threshold seems to be around 1700 transactions in basic ledger and single line modes, but I guess this depends on the size of the font used. The problem occurs with a smaller number of transaction in double line mode or in transaction journal mode.

A simple workaround could be to unset GDK_NATIVE_WINDOWS when GnuCash is run.
Comment 1 Vincent Lefevre 2011-12-10 23:02:54 UTC
As said in the Debian bug report, this is actually a limit on the number of graphic lines (in pixels). I got the following warnings in "/tmp/gnucash.trace":

* 14:48:20  WARN <Gdk> Native Windows wider or taller than 65535 pixels are not supported
* 14:48:20  WARN <Gdk> Native children wider or taller than 65535 pixels are not supported
* 14:48:20  WARN <Gdk> Native children wider or taller than 65535 pixels are not supported
* 14:48:20  WARN <Gdk> Native children wider or taller than 65535 pixels are not supported
Comment 2 John Ralls 2017-09-24 22:18:57 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 3 John Ralls 2018-06-29 23:03:37 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=665922. Please continue processing the bug there and please update any external references or bookmarks.