Gtk3

Geert Janssens geert.gnucash at kobaltwit.be
Tue Jun 6 04:54:52 EDT 2017


On maandag 5 juni 2017 12:19:24 CEST Robert Fewell wrote:
> Hi,
> 
> I was browsing the IRC logs and Geert mentioned his gtk3 branch, yes I have
> pulled from there and recently updated my local version which was built
> successfully.
> I tend not to fiddle where other people are working as I would no doubt
> just get in the way or slow down their efforts.
> 
> If you would like me to look at some thing, just ask and I will have a
> look, been looking at some schedule bugs but they can wait...
> 
> What version of Gtk3 are these changes aimed at, my gtk3 development VM is
> on 3.20.9 ?

Hi Bob,

I'm happy you're willing to jump in as well.

As John already mentioned (and you could have read on IRC) I'm currently 
pretty occupied outside of the gnucash project.

The Gtk3 version to target is 3.10. This is the most recent version on Ubuntu 
Trusty, which is the base OS for our Travis builds. Any other build platform 
we care about comes with a more recent version of gtk3.

Feel free to clone my branch and make PR's against it.

So far I've been mostly focused on
1. getting it to build and run (which should be accomplished)
2. Tweak the the register code to make it render properly

For part 1 I needed do replace several Gtk2 functions that have been removed 
from Gtk3. The code wouldn't build otherwise. I only did minimal changes to 
get it to run. With that I mean I only replaced removed functions, not 
deprecated API.

So here are a few opportunities to jump in:
- The rendering of the custom calendar in the SX editor is wrong. I think the 
background isn't rendered, but there may be other things going on there.
- Tab titles aren't rendering correctly. They are being rendered as "..." 
instead of the full (or partially elipsized) text. I suspect this has to do 
with Gtk3 new paradigm of minimal vs natural width, which we're not handling 
properly for the tab titles.
- There may still be other visual issues I haven't spotted yet. If discovered 
these should get priority over the next point IMO.
- There are lots of deprecated API warnings. Unfortunately Gtk3 has been 
moving target so there are new deprecations in almost every Gtk3 release. I 
propose to focus on those function calls which have been deprecated in Gtk3 
3.10 or earlier.

I will continue to focus on the register code and will communicate my progress 
when I get to it.

Regards,

Geert


More information about the gnucash-devel mailing list