Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 450237

Summary: Rendering errors in large Crosstables
Product: [Modeling] Sirius Reporter: Arjan van der Meer <arjan.vandermeer>
Component: TableAssignee: Project Inbox <sirius.table-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: esteban.dugueperoux, laurent.fasani, lfrederic, picard, pierre-charles.david
Version: unspecifiedKeywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Example of rendering error
none
An example to reproduce none

Description Arjan van der Meer CLA 2014-11-06 04:53:29 EST
Created attachment 248437 [details]
Example of rendering error

Using a Sirius editor, we want to create a crosstable with ~230 columns and ~230 rows. If you scroll this table far enough towards the right, the horizontal lines disappear and no data is shown anymore. See attachment for an example. We can reproduce this both Sirius 1.0.1 and 2.0.0.
Comment 1 Esteban DUGUEPEROUX CLA 2014-11-13 09:16:02 EST
Created attachment 248634 [details]
An example to reproduce
Comment 2 Laurent Fasani CLA 2014-11-14 04:06:10 EST
non reproductible with sirius 2.0 on windows 64bits using the attachment 248634 [details](ecore metamodeler) with more than 230 lines and columns
Comment 3 Laurent Fasani CLA 2014-11-14 04:10:23 EST
(In reply to Laurent Fasani from comment #2)
> non reproductible with sirius 2.0 on windows 64bits using the attachment
> 248634 [details](ecore metamodeler) with more than 230 lines and columns

I used windows Seven 64bits
Comment 4 Esteban DUGUEPEROUX CLA 2014-11-19 03:52:12 EST
Hi,

we don't reproduce, neither on Linux, neither on Windows with the attached example.
Can you provide an example with steps to reproduce?

Best Regards.
Comment 5 Pierre-Charles David CLA 2014-12-23 08:03:29 EST
I can not reproduce either (tested on current master, Linux 64bits, Gtk3), closing as WORKSFORME. Don't hesistate to reopen if you can provide more information, but even Laurent who is under Windows could not reproduce, so we can not do much as it is.
Comment 6 Louis-Frederic Huppe-St-Hilaire CLA 2015-04-01 09:18:22 EDT
We are experiencing the exact same issue on our end with Sirius 2.0.0 on Windows 8 64-bit.  Any crosstable with more than ~70-80 columns exhibits serious (i.e. show-stopping) rendering issues when scrolling horizontally.  Performance also degrades very severely, with any user action taken on the crosstable lagging several seconds.

As far as we can tell, the root cause of the issue is that the crosstable implementation is built on top of a SWT Tree with columns which, as is the case for SWT Table, is designed to handle large numbers of rows but no more than a handful of columns, i.e. more like a database table than an Excel spreadsheet.

Needless to say, this is a pretty serious issue for us as it effectively prevents crosstables from being useful for any substantial dataset.
Comment 7 Alain Picard CLA 2015-04-01 11:34:50 EDT
Adding the Louis-Frederic comment, there are already well known issues with large number of columns in SWT Tree such as https://bugs.eclipse.org/bugs/show_bug.cgi?id=72293 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=302248, so reproducing it should not be an issue. Resolving it might be a different story.