r21892 - gnucash/tags - Tagging the 2.4.10 release

John Ralls jralls at ceridwen.us
Sat Feb 4 19:24:07 EST 2012

On Feb 4, 2012, at 9:46 AM, Phil Longstaff wrote:

> I'd report it against gtk and I'd mention it in our release notes.
> Phil
> From: Geert Janssens <janssens-geert at telenet.be>
> To: John Ralls <jralls at ceridwen.us> 
> Cc: gnucash-devel at gnucash.org 
> Sent: Saturday, February 4, 2012 11:38:10 AM
> Subject: Re: r21892 - gnucash/tags - Tagging the 2.4.10 release
> Op zaterdag 28 januari 2012 08:46:45 schreef John Ralls:
> > 
> > OK, if it's crashing for you on XP, maybe it will for me too. I'll have a
> > look in a bit.
> > 
> > Regards,
> > John Ralls
> I finally got some more information on this problem. I found a relevant 
> gnucash.trace. I don't know why I didn't find this before, but no matter.
> It seems gtk 2.24.8 doesn't like a 16-bit display depth:
> WARN <Gdk> gdk_win32_pixmap_new: depth = 16 not supported
> This is then followed by a number of other gdk errors like
> CRIT <Gdk> gdk_gc_new_with_values: assertion `drawable != NULL' failed
> CRIT <Gdk> gdk_gc_set_colormap: assertion `GDK_IS_GC (gc)' failed
> (repeat x times)
> My Windows XP is installed in a xen VM, to which I normally connect via RDP, 
> currently at 16-bit. I haven't found a way yet to set the bit depth to 24 via 
> RDP.
> Just to continue with the test, I have connected to the VM via the xen console 
> and set the depth to 24-bit there. In this configuration GnuCash starts fine.
> The trade-offs are that my screen is now only 1024x768 instead of 1280x1024, 
> and the xen console is unworkably slow. I also used a VNC connection via 
> TightVNC. This can be configured to use 24-bit at 1024x768 as well, but there 
> I get horrible visual artifacts caused by the mouse movement. 
> So I think we have found the cause and as far as I'm concerned this shouldn't 
> be blocking the 2.4.10 release anymore.
> I'm not sure if it's worth reporting a bug against gtk for this. It sure 
> complicates my gnucash on Windows development work right now. But perhaps I 
> can get rdp to work in 24-bit.
> Should we mention it in the our release notes that from now on GnuCash on 
> Windows requires at least a monitor setting of 24-bit depth ?

Might not be necessary: http://git.gnome.org/browse/gtk+/commit/gdk/win32/gdkpixmap-win32.c?h=gtk-2-24&id=ba8c4bb049b36b3707c2c8f22c5c66b497e2d2cf

Gtk_-2.24.9 just got released last week. I'll blind-change defaults.sh to use it in a few minutes and we can cross our fingers. If the nightly builds, Geert can try it tomorrow and barring any issues it can go in the release on Monday.

John Ralls

More information about the gnucash-devel mailing list