flamerobin icon indicating copy to clipboard operation
flamerobin copied to clipboard

Data grid context menu very slow if many records selected

Open krilbe opened this issue 1 year ago • 0 comments

If you have some 100000+ records selected in the data gird and try to open the context menu (right click or use the Windows context menu key), it take a very long time for the menu to show up.

With a data set consisting of a single char(10) column, I get these results:

  • 100000 records selected --> 8 seconds.
  • 200000 records selected --> 50 seconds.
  • 300000 records selected --> 115 seconds.

It actually also takes quite some time for it to close the context menu. After hiding the menu, FR becomes unresponsive for almost as long as the delay to open the menu. In fact, any operation with the grid with a large selection seems to take VERY LONG.

I recently upgraded to 0.9.11.8b2b992 from an ancient version, probably (judging from contents in my downloads folder) 0.9.3.c75f861.

I never had issues like this with the old version. I was able to copy a million records to a text file (Notepad++), for example.

krilbe avatar Aug 26 '24 10:08 krilbe