|
|
|
|
FamilyTrees.GenoPro.com Customers GenoPro version: 2.5.4.1
Last Login: Sunday, March 24, 2013
Posts: 151,
Visits: 643
|
Today I had a bad experience with GenoPro.In Table Layout I clicked (righ mouse click) on "Erase Column" function because I thought that the selected column will disapear (will be hidden). Something completely different happend: GenoPro started delete all my data from this column step by step. I saw how many hundreds of records are erased - and what was terrible. there was nothing to do! I desperately tried to push Ctrl-C, ESC to stop the slow action of erasing, no chance. All my data from the field were erased. The only way was to do Undo manually for several hundreds of records. I know that this was my mistake, I was not aware what "Erase column" mean, but in case of such strong action there should be confirmation window and the action should be possible to stop (ESC or Ctrl-C).
Edited: Saturday, June 17, 2006 by
GenoProSupport
|
|
|
|
|
Administrators Moderators Translator GenoPro version: 2.5.4.1
Last Login: Yesterday @ 5:58 PM
Posts: 5,106,
Visits: 18,431
|
The problem is GenoPro creates an undo entry for each cell being erased, making the whole process very slow. I need to write some code to group "Undo" operations within the Table Layout, so if you want, you could undo the whole "Erase Column" operation within a single mouse click.This has been a long time on my todo list, and I was seriously thinking of adding this to Beta 16d before someone had this misfortunate experience.
|
|
|
|
|
Customers Important Contributors GenoPro version: 2.5.3.4
Last Login: Thursday, March 28, 2013
Posts: 270,
Visits: 4,393
|
imcon (6/16/2006)
Today I had a bad experience with GenoPro. In Table view I clicked (righ mouse click) on "Erase Column" function because I thought that the selected column will disapear (will be hidden). Something completely different happend: GenoPro started delete all my data from this column step by step. Don't you have Backups of your GNO files? I send them all the time by email to myself . You can use a Gmail or Yahoo acount for that matter
Edited: Friday, June 16, 2006 by
beraha
|
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: 7 hours ago
Posts: 1,434,
Visits: 16,990
|
Im this case you do not need a backup, just close the file without saving and reload the original. You then only loose the work of that session.
|
|
|
|
|
Administrators Moderators Translator GenoPro version: 2.5.4.1
Last Login: Yesterday @ 5:58 PM
Posts: 5,106,
Visits: 18,431
|
I have good news. The Table Layout is now capable to group the Undo operations for the Paste, Erase Column and Find & Replace. Until now for instance, a paste operation was treated as editing multiple cells, making it very dificult to Undo.Since all the operations have been grouped under a single operation, I was able to improve the code to take advantage of this behavior by eliminating redundant computing between each operation. On my machine, erasing a column which was taking 30 seconds now takes less than 200 milliseconds. I tried on a larger tree, where it would have taken about 7 hours to erase 40,000 individual's IDs. With the new code, the same operation took 2 minutes. You are welcome to do your own benchmarks to compare the speed increase from Beta 16c and the coming Beta 16d. Although there is a significant speed increase, the code is still very slow... and can be improved. For now, I won't optimize anymore because I don't want to introduce bugs. As suggested, I wrote extra code to respond to the Escape key. If the user presses the Escape key while pasting, erasing a column or doing a Find & Replace, then GenoPro will stop and return to an idle state.
Edited: Saturday, June 17, 2006 by
GenoProSupport
|
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 2.5.4.0
Last Login: Sunday, March 17, 2013
Posts: 445,
Visits: 3,556
|
Wow! I just tried the "Erase Column" feature that enables me to update the IDs after importing a new ged file, and was amazed at the speed with Beta 16e.Before this with my 17,500 names I had to start it and then leave the computer for half an hour or so and do something else, sometimes I came back to find genopro had crashed.  This time it took less than a minute! 
Edited: Sunday, June 18, 2006 by
GenoProSupport
|
|
|
|
|
Administrators Moderators Translator GenoPro version: 2.5.4.1
Last Login: Yesterday @ 5:58 PM
Posts: 5,106,
Visits: 18,431
|
|
|
|
|
|
FamilyTrees.GenoPro.com Customers GenoPro version: 2.5.4.1
Last Login: Sunday, March 24, 2013
Posts: 151,
Visits: 643
|
Thank you. That's perfect. I'm always amazed by the speed of GenoPro and I admire the optimizing you have done. Nowadays it is rare to see that programmers do any optimizing. Visual Basic, NET, scripts etc. as easy as possible, and speed+memory? The new computers will solve the problems... Thia way of thinking was not possible in era of Z80 and I8080 and programs were fast and small.appleshaw: thanks for advise, I know it but that wasn't the solution.
|