* custom diagram as default not being saved

Homeless Posts from the old forum system
Locked
User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

custom diagram as default not being saved

Post by johnmorrisoniom » 22 May 2012 10:43

I have modified the custom 'All relatives' diagram that I always use, and saved it with a new name.
I view an individual, using {View} {Custom Diagram} then right click, choose diagram options, tick save as default and apply (or OK).
I then go to the menu item {Diagram - Settings - Save as default settings}.
My new default diagram will 'Hold' for the current session, but if I close, then re-open FH, my default diagram has revert to the previous custom default.
I am now on 5.0.2.0
Has anyone else come across this, It happens on my winXP SP3 machine and also my W7 64 bit machine

ID:6262

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

custom diagram as default not being saved

Post by Jane » 22 May 2012 11:21

I have reproduced it and reported it to Calico to look at.

To get around the problem, just click on all the tabs before ticking the Save As Default option and then click OK.

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

custom diagram as default not being saved

Post by johnmorrisoniom » 22 May 2012 11:36

Thanks Jane,
I thought maybe I was doing something wrong. (Again)

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

custom diagram as default not being saved

Post by johnmorrisoniom » 21 Jun 2012 09:17

I have not been able to get your work-around to work for me Jane.
I have also now updated to 5.0.4 and this problem is still not fixed for me. (Although it is supposed to be)
I have tweaked an older diagram, saved as default, and then saved as custom diagram.
The new diagram stays as the default for the current session. but when I completely close, then reopen, I am back to the old (Custom) default diagram.
Am I doing something wrong? I have never had a problem before.

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

custom diagram as default not being saved

Post by Jane » 21 Jun 2012 11:36

The fix in V5.0.4 works fine for me an sticks, do you have any sort of anti-malware program which is preventing FH from writing back to the registry.

If you run the program in Admin mode do the settings then stick?

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

custom diagram as default not being saved

Post by johnmorrisoniom » 21 Jun 2012 13:22

I have just done some further examining, and the fix is sort of working.
What is happening is that the 3rd expression which contains:

Code: Select all

=IsTrue((Exists(%INDI.CENS%)
 and Not(Exists(%INDI.CENS.OBJE>%))) or (Exists(%INDI.CENS[2]%)
 and Not(Exists(%INDI.CENS[2].OBJE>%))) or (Exists(%INDI.CENS[3]%)
and Not(Exists(%INDI.CENS[3].OBJE>%))) or (Exists(%INDI.CENS[4]%)
 and Not(Exists(%INDI.CENS[4].OBJE>%))) or (Exists(%INDI.CENS[5]%)
 and Not(Exists(%INDI.CENS[5].OBJE>%))) or (Exists(%INDI.CENS[6]%)
 and Not(Exists(%INDI.CENS[6].OBJE>%))) or (Exists(%INDI.CENS[7]%)
 and Not(Exists(%INDI.CENS[7].OBJE>%))) or (Exists(%INDI.CENS[8]%)
 and Not(Exists(%INDI.CENS[8].OBJE>%))) or (Exists(%INDI.CENS[9]%)
 and Not(Exists(%INDI.CENS[9].OBJE>%))) or (Exists(%INDI.CENS[10]%)
 and Not(Exists(%INDI.CENS[10].OBJE>%))))
(I have inserted extra line breaks on the post to aid readability)

is being wiped.
If I load the saved diagram, it is there. However on the default diagram the expression is blank / Empty, all the other expressions and flags have correctly updated to the new settings.
I also noticed, that despite me saving the diagram as a new custom diagram, when I close the window, I get asked do I want to save changes?
[edit] the diagram name that I use to do the extra save with also vanishes into thin air and is not available.

User avatar
tatewise
Megastar
Posts: 27080
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

custom diagram as default not being saved

Post by tatewise » 21 Jun 2012 14:18

I suspect this is Windows Registry related problem.
FH stores all these Diagram Defaults in the Windows Registry and although I can see your long Expression in the Windows Registry something about its length is preventing its retrieval.
[EDIT]
The long Expression is stored OK in the Windows Registry as Regedit displays it OK.
If I shorten the Expression below 512 chractaers it is OK.
Looks like Expressions longer than 512 characters are not retrieved by FH correctly.

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

custom diagram as default not being saved

Post by johnmorrisoniom » 21 Jun 2012 15:24

That would seem to make sense Mike.
I have only used this particular expression since version 5 (you worked it out for me).
I suppose a work around would be to split it in 2, (but also to report it to Calico Pie).
At least it is not me going GaGa.

User avatar
tatewise
Megastar
Posts: 27080
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

custom diagram as default not being saved

Post by tatewise » 22 Jun 2012 10:47

Yes, the workaround is to split in two, or always use the Custom Diagram.

It should be reported to family historian support at support@family-historian.co.uk.

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

custom diagram as default not being saved

Post by johnmorrisoniom » 22 Jun 2012 11:48

Thanks for your help MIke.
I have reported the issue to Calico Pie, and they are investigating.
The split version of the expression works OK, with the minor side effect of showing 2 icons if the individual has more than 5 census entries (which could actually be a bonus)

User avatar
SimonOrde
Program Designer
Posts: 352
Joined: 18 Nov 2002 10:20
Family Historian: V7
Location: Calico Pie

custom diagram as default not being saved

Post by SimonOrde » 26 Jun 2012 18:17

John - we have now released a 'patch' update (5.0.6) which fixes the problem. You can download the patch from

http://www.family-historian.co.uk/downl ... ee-upgrade.

User avatar
johnmorrisoniom
Megastar
Posts: 882
Joined: 18 Dec 2008 07:40
Family Historian: V7
Location: Isle of Man

custom diagram as default not being saved

Post by johnmorrisoniom » 26 Jun 2012 22:43

Thanks Simon,
All working as expected Now.

Locked