[Mono-bugs] [Bug 528887] New: DataGridView hangs on large number of rows (about 500 and more)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 6 12:27:07 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=528887


           Summary: DataGridView hangs on large number of rows (about 500
                    and more)
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: vvitafresh at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; ru; rv:1.9.0.11)
Gecko/2009060215 Firefox/3.0.11

On table with simple structure: 
CREATE TABLE `test` (
  `id` int(11) NOT NULL auto_increment,
  `tt` varchar(255) default NULL,
  `tt2` varchar(255) default NULL,
  `tt3` varchar(255) default NULL,
  PRIMARY KEY  (`id`)

and 1000 rows of records such as:
INSERT into test(tt,tt2)
VALUES('USR-{86864fc4-98a2-463e-ad7e-a3e700b07551}','USR-{d334e03f-e6a9-4cbf-8d44-cd327e5f4a2a}');

it takes about minute to render DataGridView. With more complex tables it may
take infinite time (10 minutes and more).
If we replace DataGridView component with DataGrid there is no considerable
delays happens.

Reproducible: Always

Steps to Reproduce:
1. Fill DataTable with necessary data (ex. 1000 rows of complex data).
2. Bind DataGridView to dataTable:
dataGridView.DataSource = dataTable;
3. Wait huge ammount of time while datagrid renders.
Actual Results:  
DataGridView hangs for unpredictable ammount of time (more data -- more time).

Expected Results:  
DataGridView should render 1000 rows in about few seconds.

Test was done on Fedora Core 6 and SUSE Linux

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list