| Summary: | Nebula Grid loads slowly when we create more columns (more than 200) in Ubuntu Linux | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | manoj dabholkar <manoj.dabs> |
| Component: | Nebula | Assignee: | Mirko Paturzo <caosmpz> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | caosmpz, cgross, wim.jongman |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Hi all, I have tested new paradigm on Ubuntu 13.04. I used the snippet called GridViewerSnippetWithAdaptedDataVisualizer. Time for paint the grid was about 7 secs for 1000x1000 and 3 seconds for 200x1000 (colsxrows).wim Nice! Seems like a massive improvement. With new fuctionalities, the problem does not occur |
Build Identifier: Eclipse-SDK-3.4-win32 Hi I am creating more than 200 columns in nebula grid using for loop. It is working fine in windows platform, but when the same source is run on ubuntu linux it takes lot of time to load. In Ubuntu it takes more than 10 secs and in windows it takes only 2-3 seconds. The code is as follows : for (int i = 0; i < 200 ; i++) { GridColumn column = new GridColumn(bottomGridDayView,SWT.NONE); if(i==0) { column.setWidth(20); } else if(i==1) { column.setWidth(30); } else if(i == delimitCol) { column.setWidth(5); } else { column.setWidth(3); } } We are creating around 200 columns on the grid (bottomGridDayView). The grid is formed by the code below. bottomGridDayView = new Grid(canvas,SWT.NONE | SWT.V_SCROLL | SWT.H_SCROLL); bottomGridDayView.setHeaderVisible(false); bottomGridDayView.setRowHeaderVisible(false); bottomGridDayView.setCellSelectionEnabled(true); On Windows XP :- Above code loads the grid in 2-3 seconds On Suse Linux :- Above code loads the grid in 2-3 seconds On Ubuntu Linux :- Above code loads the grid in more than 7 seconds We are facing this problem only on Ubuntu linux operating system. Please help us to solve the issue. Regards, Manoj Reproducible: Always