Event Reference Editor (default event guessing)

Running GRAMPS 5.2.4

In the above, 2 issues:

  1. Event Type: comes up Birth, Death order etc (would like to reorder this.)
  2. Description: is automatically filled with text want to stop this

Could someone advise where these functions are set. So I can have a play.
phul

Apologies for the typos it is late here is my only excuse
phil

have you looked at:

for Persons:

and for Families:

The EventType list is at:

An experiment adding a BAPTISM event type to the default_types of personeventembedlist.py expanded the set of pre-fill event types.

However, I do not see any pre-fills of the event’s Descriptions. When does that happen for you?

Adding an event to a person description takes the form of “Death of
Smith, John Thomas” wondering whether function was removed at some
point and I am just seeing it now on entries I have made previous;y.
phil

I once experimented with the Extract Event Description tool and have been regretting the waste of storage ever since.

(The tool is misnamed. It does not ‘extract’, it generates/adds a description in a fixed format.
Reports are better because some do this dynamically in both Name Display Format and language.)

Perhaps those tool-generated {event type} of {Surname}, {Given name} descriptions are what is annoying you too?

That is precisely what the problem was.

After trying it I removed the Addon and of course over time forgot that I had done it

yes very much a waste of storage. A drop down list of Custom Descriptions would be more useful here. Example “DOD (Date of Death) from Probate” is one I use a lot.

phil

1 Like

Thanks Brian
personeventembedlist.py now reads

 def default_types(self):
     return [
         EventType(EventType.BIRTH),
         EventType(EventType.BAPTISM),
         EventType(EventType.DEATH),
         EventType(EventType.BURIAL),
         EventType(EventType.PROBATE),
     ]

Not

     def default_types(self):
         return [
             EventType(EventType.BIRTH),
             EventType(EventType.DEATH),
             EventType(EventType.BURIAL),
         ]

Works for me
phil

1 Like

Remember to add something to your ‘placeholder’ Person that has all your Gramps customizations that are done infrequently. And all your workflow documentation.

Maybe point to this thread?

Will do Brian

I also keep the modified/original files
Stored in a folder structure

Gramps_5.2.4_Programs Working
usr_lib_python3_dist-packages_gramps_gui_editors_displaytabs
personeventembedlist

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.