Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CTableTree limited to 2048 rows?
CTableTree limited to 2048 rows? [message #14498] Wed, 18 October 2006 02:01 Go to next message
Asgeir Frimannsson is currently offline Asgeir FrimannssonFriend
Messages: 11
Registered: July 2009
Junior Member
Hi all,

I'm trying to use a CTableTree (with the experimental viewer) to display
a tree from an EMF model. However, I'm unable to display more than 2048
rows in the table. The remaining rows are simply greyed out, as shown on
this screenshot (modified snipplet to display 2050 rows):

http://everest.fit.qut.edu.au/~n4198522/ctabletree.png

Does anyone know why that is so?

cheers,
asgeir
Re: CTableTree limited to 2048 rows? [message #14528 is a reply to message #14498] Wed, 18 October 2006 08:44 Go to previous messageGo to next message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
I'm not able to reproduce this on Linux GTK so it may be a bug on the
Windows implementation - can you post a snippet showing this problem?

Asgeir Frimannsson wrote:
> Hi all,
>
> I'm trying to use a CTableTree (with the experimental viewer) to display
> a tree from an EMF model. However, I'm unable to display more than 2048
> rows in the table. The remaining rows are simply greyed out, as shown on
> this screenshot (modified snipplet to display 2050 rows):
>
> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>
> Does anyone know why that is so?
>
> cheers,
> asgeir
Re: CTableTree limited to 2048 rows? [message #14556 is a reply to message #14528] Wed, 18 October 2006 11:35 Go to previous messageGo to next message
Asgeir Frimannsson is currently offline Asgeir FrimannssonFriend
Messages: 11
Registered: July 2009
Junior Member
Hi Jeremy,

Here's a simple snipplet reproducing this:

CTableTree ctt =
new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
column1.setText("Column 1");
column1.setWidth(200);

for (int i = 0; i < 2050; i++) {
CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
item.setText(new String[] { "item " + i});
}

I'm using nebula from eclipse cvs head.

cheers,
asgeir


Jeremy Dowdall wrote:
> I'm not able to reproduce this on Linux GTK so it may be a bug on the
> Windows implementation - can you post a snippet showing this problem?
>
> Asgeir Frimannsson wrote:
>> Hi all,
>>
>> I'm trying to use a CTableTree (with the experimental viewer) to
>> display a tree from an EMF model. However, I'm unable to display more
>> than 2048 rows in the table. The remaining rows are simply greyed out,
>> as shown on this screenshot (modified snipplet to display 2050 rows):
>>
>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>
>> Does anyone know why that is so?
>>
>> cheers,
>> asgeir
Re: CTableTree limited to 2048 rows? [message #14585 is a reply to message #14556] Wed, 18 October 2006 14:08 Go to previous messageGo to next message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
Chris Gross gave this insight:
> I believe this is a result of using a ScrolledComposite. Widgets have
> size limit on Win and the way ScrolledComposite works requires that
> the inner content size to its full necessary height. So if the size
> of that inner content can only be as large as the Win limit (which I
> think is like 32k pixels but I can't remember). Fixing this problem
> will likely require significant changes to remove the use of
> ScrolledComposite and scroll differently.


Please log a bug for this with [WIN32] in the title. Thanks.


Asgeir Frimannsson wrote:
> Hi Jeremy,
>
> Here's a simple snipplet reproducing this:
>
> CTableTree ctt =
> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
> column1.setText("Column 1");
> column1.setWidth(200);
>
> for (int i = 0; i < 2050; i++) {
> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
> item.setText(new String[] { "item " + i});
> }
>
> I'm using nebula from eclipse cvs head.
>
> cheers,
> asgeir
>
>
> Jeremy Dowdall wrote:
>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>> Windows implementation - can you post a snippet showing this problem?
>>
>> Asgeir Frimannsson wrote:
>>> Hi all,
>>>
>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>> display a tree from an EMF model. However, I'm unable to display more
>>> than 2048 rows in the table. The remaining rows are simply greyed
>>> out, as shown on this screenshot (modified snipplet to display 2050
>>> rows):
>>>
>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>
>>> Does anyone know why that is so?
>>>
>>> cheers,
>>> asgeir
Re: CTableTree limited to 2048 rows? [message #14615 is a reply to message #14585] Thu, 19 October 2006 07:49 Go to previous message
Asgeir Frimannsson is currently offline Asgeir FrimannssonFriend
Messages: 11
Registered: July 2009
Junior Member
Submitted bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=161518

cheers,
asgeir

Jeremy Dowdall wrote:
> Chris Gross gave this insight:
> > I believe this is a result of using a ScrolledComposite. Widgets have
> > size limit on Win and the way ScrolledComposite works requires that
> > the inner content size to its full necessary height. So if the size
> > of that inner content can only be as large as the Win limit (which I
> > think is like 32k pixels but I can't remember). Fixing this problem
> > will likely require significant changes to remove the use of
> > ScrolledComposite and scroll differently.
>
>
> Please log a bug for this with [WIN32] in the title. Thanks.
>
>
> Asgeir Frimannsson wrote:
>> Hi Jeremy,
>>
>> Here's a simple snipplet reproducing this:
>>
>> CTableTree ctt =
>> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
>> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
>> column1.setText("Column 1");
>> column1.setWidth(200);
>>
>> for (int i = 0; i < 2050; i++) {
>> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
>> item.setText(new String[] { "item " + i});
>> }
>>
>> I'm using nebula from eclipse cvs head.
>>
>> cheers,
>> asgeir
>>
>>
>> Jeremy Dowdall wrote:
>>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>>> Windows implementation - can you post a snippet showing this problem?
>>>
>>> Asgeir Frimannsson wrote:
>>>> Hi all,
>>>>
>>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>>> display a tree from an EMF model. However, I'm unable to display
>>>> more than 2048 rows in the table. The remaining rows are simply
>>>> greyed out, as shown on this screenshot (modified snipplet to
>>>> display 2050 rows):
>>>>
>>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>>
>>>> Does anyone know why that is so?
>>>>
>>>> cheers,
>>>> asgeir
Re: CTableTree limited to 2048 rows? [message #566787 is a reply to message #14498] Wed, 18 October 2006 08:44 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
I'm not able to reproduce this on Linux GTK so it may be a bug on the
Windows implementation - can you post a snippet showing this problem?

Asgeir Frimannsson wrote:
> Hi all,
>
> I'm trying to use a CTableTree (with the experimental viewer) to display
> a tree from an EMF model. However, I'm unable to display more than 2048
> rows in the table. The remaining rows are simply greyed out, as shown on
> this screenshot (modified snipplet to display 2050 rows):
>
> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>
> Does anyone know why that is so?
>
> cheers,
> asgeir
Re: CTableTree limited to 2048 rows? [message #566800 is a reply to message #14528] Wed, 18 October 2006 11:35 Go to previous message
Asgeir Frimannsson is currently offline Asgeir FrimannssonFriend
Messages: 11
Registered: July 2009
Junior Member
Hi Jeremy,

Here's a simple snipplet reproducing this:

CTableTree ctt =
new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
column1.setText("Column 1");
column1.setWidth(200);

for (int i = 0; i < 2050; i++) {
CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
item.setText(new String[] { "item " + i});
}

I'm using nebula from eclipse cvs head.

cheers,
asgeir


Jeremy Dowdall wrote:
> I'm not able to reproduce this on Linux GTK so it may be a bug on the
> Windows implementation - can you post a snippet showing this problem?
>
> Asgeir Frimannsson wrote:
>> Hi all,
>>
>> I'm trying to use a CTableTree (with the experimental viewer) to
>> display a tree from an EMF model. However, I'm unable to display more
>> than 2048 rows in the table. The remaining rows are simply greyed out,
>> as shown on this screenshot (modified snipplet to display 2050 rows):
>>
>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>
>> Does anyone know why that is so?
>>
>> cheers,
>> asgeir
Re: CTableTree limited to 2048 rows? [message #566824 is a reply to message #14556] Wed, 18 October 2006 14:08 Go to previous message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 181
Registered: July 2009
Senior Member
Chris Gross gave this insight:
> I believe this is a result of using a ScrolledComposite. Widgets have
> size limit on Win and the way ScrolledComposite works requires that
> the inner content size to its full necessary height. So if the size
> of that inner content can only be as large as the Win limit (which I
> think is like 32k pixels but I can't remember). Fixing this problem
> will likely require significant changes to remove the use of
> ScrolledComposite and scroll differently.


Please log a bug for this with [WIN32] in the title. Thanks.


Asgeir Frimannsson wrote:
> Hi Jeremy,
>
> Here's a simple snipplet reproducing this:
>
> CTableTree ctt =
> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
> column1.setText("Column 1");
> column1.setWidth(200);
>
> for (int i = 0; i < 2050; i++) {
> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
> item.setText(new String[] { "item " + i});
> }
>
> I'm using nebula from eclipse cvs head.
>
> cheers,
> asgeir
>
>
> Jeremy Dowdall wrote:
>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>> Windows implementation - can you post a snippet showing this problem?
>>
>> Asgeir Frimannsson wrote:
>>> Hi all,
>>>
>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>> display a tree from an EMF model. However, I'm unable to display more
>>> than 2048 rows in the table. The remaining rows are simply greyed
>>> out, as shown on this screenshot (modified snipplet to display 2050
>>> rows):
>>>
>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>
>>> Does anyone know why that is so?
>>>
>>> cheers,
>>> asgeir
Re: CTableTree limited to 2048 rows? [message #566845 is a reply to message #14585] Thu, 19 October 2006 07:49 Go to previous message
Asgeir Frimannsson is currently offline Asgeir FrimannssonFriend
Messages: 11
Registered: July 2009
Junior Member
Submitted bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=161518

cheers,
asgeir

Jeremy Dowdall wrote:
> Chris Gross gave this insight:
> > I believe this is a result of using a ScrolledComposite. Widgets have
> > size limit on Win and the way ScrolledComposite works requires that
> > the inner content size to its full necessary height. So if the size
> > of that inner content can only be as large as the Win limit (which I
> > think is like 32k pixels but I can't remember). Fixing this problem
> > will likely require significant changes to remove the use of
> > ScrolledComposite and scroll differently.
>
>
> Please log a bug for this with [WIN32] in the title. Thanks.
>
>
> Asgeir Frimannsson wrote:
>> Hi Jeremy,
>>
>> Here's a simple snipplet reproducing this:
>>
>> CTableTree ctt =
>> new CTableTree(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
>> CContainerColumn column1 = new CContainerColumn(ctt, SWT.LEFT);
>> column1.setText("Column 1");
>> column1.setWidth(200);
>>
>> for (int i = 0; i < 2050; i++) {
>> CTableTreeItem item = new CTableTreeItem(ctt, SWT.NONE);
>> item.setText(new String[] { "item " + i});
>> }
>>
>> I'm using nebula from eclipse cvs head.
>>
>> cheers,
>> asgeir
>>
>>
>> Jeremy Dowdall wrote:
>>> I'm not able to reproduce this on Linux GTK so it may be a bug on the
>>> Windows implementation - can you post a snippet showing this problem?
>>>
>>> Asgeir Frimannsson wrote:
>>>> Hi all,
>>>>
>>>> I'm trying to use a CTableTree (with the experimental viewer) to
>>>> display a tree from an EMF model. However, I'm unable to display
>>>> more than 2048 rows in the table. The remaining rows are simply
>>>> greyed out, as shown on this screenshot (modified snipplet to
>>>> display 2050 rows):
>>>>
>>>> http://everest.fit.qut.edu.au/~n4198522/ctabletree.png
>>>>
>>>> Does anyone know why that is so?
>>>>
>>>> cheers,
>>>> asgeir
Previous Topic:CTableTree limited to 2048 rows?
Next Topic:PGroup added to Nebula
Goto Forum:
  


Current Time: Sat Apr 20 03:01:22 GMT 2024

Powered by FUDForum. Page generated in 0.03491 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top