id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 2879,Cancelling a DataTableVisualPropertiesDialog may take very long and block GUI,bburlacu,mkommend,"The `DataTableVisualPropertiesDialog` saves the original visual properties for each row and restores them in the event handler for the dialog cancel button. This causes each series to be redrawn in the `Row_VisualPropertiesChanged` event handler of the `DataTableView`. Inside, the `DataPointCollection` for each series is cleared, which causes performance problems [1], [2]. On a series with ~7000 points, the clear operation took 32s on my machine. In total, canceling the dialog blocks the HeuristicLab GUI for approximately 2 minutes. This problem can be alleviated by implementing the fix suggested in [1], which reduces the blocking time from 2min to a few seconds on the tested data. In the future, it might be useful to consider a different mechanism for updating/restoring row visual properties. [1 ] https://stackoverflow.com/questions/5744930/datapointcollection-clear-performance [2 ] https://connect.microsoft.com/VisualStudio/feedback/details/596212/performance-problem-in-mschart-datapointcollection-clear ",defect,closed,medium,HeuristicLab 3.3.16,Analysis.Views,trunk,done,,