Skip to main content



      Home
Home » Eclipse Projects » Nebula » CTableTree limited to 2048 rows?
CTableTree limited to 2048 rows? [message #14498] Tue, 17 October 2006 22:01 Go to next message
Eclipse UserFriend
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 04:44 Go to previous messageGo to next message
Eclipse UserFriend
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 07:35 Go to previous messageGo to next message
Eclipse UserFriend
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 10:08 Go to previous messageGo to next message
Eclipse UserFriend
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 03:49 Go to previous message
Eclipse UserFriend
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 04:44 Go to previous message
Eclipse UserFriend
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 07:35 Go to previous message
Eclipse UserFriend
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 10:08 Go to previous message
Eclipse UserFriend
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 03:49 Go to previous message
Eclipse UserFriend
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: Fri Jun 20 09:49:03 EDT 2025

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

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

Back to the top