GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Cannot cancel the following operations: Erase Column, Paste or Find &...

Click to view RSS...
Author The Table Layout is unable to cancel such an operation.
Posted Friday, June 16, 2006 - Post #11559
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

FamilyTrees.GenoPro.com
Customers
GenoPro version: 2.5.4.1

Last Login: Friday, June 27, 2014
Posts: 151, Visits: 644
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

Posted Friday, June 16, 2006 - Post #11561
Supreme Guru

Supreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme Guru

Administrators
Moderators
Translator
GenoPro version: 2.5.4.1

Last Login: 2 days ago @ 4:22 AM
Posts: 5,257, Visits: 18,785
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.

Posted Friday, June 16, 2006 - Post #11570
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
GenoPro version: 2.5.3.4

Last Login: Tuesday, May 28, 2013
Posts: 270, Visits: 4,394
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 Smile. You can use a Gmail or Yahoo acount for that matter

Edited: Friday, June 16, 2006 by beraha

Posted Friday, June 16, 2006 - Post #11571
Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 2.5.4.1

Last Login: 8 hours ago
Posts: 1,547, Visits: 19,490
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.
Posted Saturday, June 17, 2006 - Post #11573
Supreme Guru

Supreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme Guru

Administrators
Moderators
Translator
GenoPro version: 2.5.4.1

Last Login: 2 days ago @ 4:22 AM
Posts: 5,257, Visits: 18,785
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

Posted Sunday, June 18, 2006 - Post #11590
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 2.5.0.4

Last Login: Sunday, September 22, 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. Crazy

This time it took less than a minute! Rolleyes Tongue

Edited: Sunday, June 18, 2006 by GenoProSupport

Posted Sunday, June 18, 2006 - Post #11591
Supreme Guru

Supreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme Guru

Administrators
Moderators
Translator
GenoPro version: 2.5.4.1

Last Login: 2 days ago @ 4:22 AM
Posts: 5,257, Visits: 18,785
iaintait (6/18/2006)
Before this with my 17500 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. Crazy

Yep, however GenoPro had not *really* crashed.  When a task takes too long, Windows stops drawing anything from the window not responding, making it appear as it had crashed.  Perhaps, if you had waited a few hours, you would have seen the final result TongueTongueTongue.



Edited: Wednesday, July 05, 2006 by GenoProSupport

Posted Sunday, June 18, 2006 - Post #11596
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

FamilyTrees.GenoPro.com
Customers
GenoPro version: 2.5.4.1

Last Login: Friday, June 27, 2014
Posts: 151, Visits: 644
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.



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse