[gtkada] Examples/calendar_combo patch proposal.

Emmanuel Briot briot at adacore.com
Mon Sep 24 12:28:34 CEST 2012


> 
> The issue still in calendar_combo (from GTKAda examples)  is when I clic on month or year change arrow the Day_Selected callback is called without stopping.
> 
> Found with GTKAda GPL 2012 built on MacOS 10.6 with GNAT GPL 2012 for Darwin x86_64.
> Is it reproducible on other platform?

I could reproduce on a more recent version of OSX

> A very simple workaround was to suppress Hide_Popdown_Window call. The user has to clic once again on the combo button to hide the calendar…

I ended up applying a very similar patch. The issue seems to be in gtk+ where it tries to pass
the focus to one of the calendar widgets, but the latter is hidden.

Emmanuel



More information about the gtkada mailing list