2010/3/25 Alain Aupeix <alain.aupeix@wanadoo.fr>
Benny Malengier a écrit :
>
>
> 2010/3/25 Alain AUPEIX <alain.aupeix@wanadoo.fr
> <mailto:alain.aupeix@wanadoo.fr>>
>
>     Jerome, if you read what I said, you can see that the error isn't here
>     now with trunk 14924, but there is a new problem, we can't now in the
>     same condition 'family > member > modify a family event', it does
>     nothing, even for example with right-click on a family event we
>     have the
>     Modify possibility...
>
>     That was why I said the problem had been evacuated...
>
>
> No, it is actually fixed.
> Clicking a family event cannot open the family event, so it opens the
> family editor. In your case, the family editor is already open, so it
> changes focus to the family editor (see the window outline changing).
ok, I see now the change, but a little thing is ennoying.

In my case, the person window was covering exactly the family window, so
I didn't seen that the focus was given to family window.

Wouldn't it be possible the same time you give the focus to family
window, to set family window on top ?

This is what I say in the rest of the mail. At the moment the person editors spawned from the family editor are defined as children of the family editor. So they are always above it, and when you close the family editor, the person editors close with it.
So we would need to change this behavior.  Somebody should try if that workflow works ok or not, we cannot just change it now without a bit of usability test.

So, try it Alain, in editfamily.py go to line 884 and change

                EditPerson(self.dbstate, self.uistate,
                           self.track, person)

into

                EditPerson(self.dbstate, self.uistate,
                           [], person)

and write back with what you think of that.
That will give you the behavior you want. You should do the same in the other EditPerson calls in this file (eg on child edit in the child list).

Benny


A+




------------------------------------------------------------------------------
Download Intel&#174; 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
Gramps-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-devel