From: Benny M. <ben...@gm...> - 2010-03-10 15:33:44
|
2010/3/10 Emmanuel Briot <br...@ad...>: >> Never noticed this feature! never too late to learn something new! >> However in my case it works OK. I'm testing with 3.2.0-beta svn14737. > > Same version for me, and I get the wrong family. > > Given Peter's experience, perhaps the marriage date itself should be clickable, > rather than the non-obvious link intersection (ideally, the date should be > underscored on mouse hover, so that people notice they can click on it). > > Has anybody any hint on how I could help debug this issue ? I am comfortable > with python, so I could make experiments rather easily. 3.2 still has the old pedigreeview, so strange that it changed. The code is src/plugins/view/pedigreeview.py relation_button_press_cb is the callback I think you need to debug to see what family handle is passed. I see there are 3 places this is connected, eg: if lst[i] and lst[i][2]: line.add_events(gtk.gdk.BUTTON_PRESS_MASK) # Required for popup menu line.connect("button-press-event", self.relation_button_press_cb,lst[i][2].get_handle()) So what you say is that lst[i][2] contains the wrong family at the moment this connect is done. The code reads a bit criptic to me, but Nick has good understanding of it at the moment (I think). If you don't find it, open a ticket and write back, and somebody of us can have a look at it. On my data here, some tests have all given the correct result, so it must be some specific combination. Benny > Emmanuel > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |