Skip to main content



      Home
Home » Archived » Visual Editor (VE) » SWT GridLayout bug ?
SWT GridLayout bug ? [message #75769] Mon, 27 December 2004 21:25 Go to next message
Eclipse UserFriend
I have found what I think is a bug in VE with SWT and GridLayout selected...

The bug is equal to this one:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=79364

««
In a new SWT shell with layout == GridLayout:
1) I can't turn on the grid (to be more precise, a little red
square 2x2 pixels sized appears in the top left angle).
2) I can only put one widget in the shell. When I try to add
a second one the X-shaped icon appears all over the surface
of the shell indicating that the widget can't be put there
and in fact that is what happens if I click: nothing.
(As an alternative, the above can be done via the beans view)
»»

1 - Anyone else has this problem? Can you test it and comment?
2 - Is it a bug or a "feature"? I mean, i can't add components directly
but I can add then in the beans view...

Please post any feedback here or in the bug report...

Thanks,
Paulo JF Silva
Re: SWT GridLayout bug ? [message #76087 is a reply to message #75769] Mon, 03 January 2005 17:14 Go to previous message
Eclipse UserFriend
Paulo JF Silva,
Have you tried to reproduce this using Eclipse 3.0.1? I haven't tested it much
on Eclipse 3.1 - M4... as you indicated in the bug.
From your description of the grid (2x2 pixels), it sounds like the size of the
GEF figure the VE draws is 0,0.... even though the Shell is screen scraped
correctly from the remote VM.
Is there any errors in the .log file in your .metadata directory?
Have you tried successfully with other SWT layouts (i.e. FillLayout, RowLayout)?
Or is this a GridLayout problem only?

Regards...

Peter Walker
Visual Editor Development


Paulo JF Silva wrote:
> I have found what I think is a bug in VE with SWT and GridLayout
> selected...
>
> The bug is equal to this one:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=79364
>
> ««
> In a new SWT shell with layout == GridLayout:
> 1) I can't turn on the grid (to be more precise, a little red
> square 2x2 pixels sized appears in the top left angle).
> 2) I can only put one widget in the shell. When I try to add
> a second one the X-shaped icon appears all over the surface
> of the shell indicating that the widget can't be put there
> and in fact that is what happens if I click: nothing.
> (As an alternative, the above can be done via the beans view)
> »»
>
> 1 - Anyone else has this problem? Can you test it and comment?
> 2 - Is it a bug or a "feature"? I mean, i can't add components directly
> but I can add then in the beans view...
>
> Please post any feedback here or in the bug report...
>
> Thanks,
> Paulo JF Silva
Re: SWT GridLayout bug ? [message #604226 is a reply to message #75769] Mon, 03 January 2005 17:14 Go to previous message
Eclipse UserFriend
Paulo JF Silva,
Have you tried to reproduce this using Eclipse 3.0.1? I haven't tested it much
on Eclipse 3.1 - M4... as you indicated in the bug.
From your description of the grid (2x2 pixels), it sounds like the size of the
GEF figure the VE draws is 0,0.... even though the Shell is screen scraped
correctly from the remote VM.
Is there any errors in the .log file in your .metadata directory?
Have you tried successfully with other SWT layouts (i.e. FillLayout, RowLayout)?
Or is this a GridLayout problem only?

Regards...

Peter Walker
Visual Editor Development


Paulo JF Silva wrote:
> I have found what I think is a bug in VE with SWT and GridLayout
> selected...
>
> The bug is equal to this one:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=79364
>
> ««
> In a new SWT shell with layout == GridLayout:
> 1) I can't turn on the grid (to be more precise, a little red
> square 2x2 pixels sized appears in the top left angle).
> 2) I can only put one widget in the shell. When I try to add
> a second one the X-shaped icon appears all over the surface
> of the shell indicating that the widget can't be put there
> and in fact that is what happens if I click: nothing.
> (As an alternative, the above can be done via the beans view)
> »»
>
> 1 - Anyone else has this problem? Can you test it and comment?
> 2 - Is it a bug or a "feature"? I mean, i can't add components directly
> but I can add then in the beans view...
>
> Please post any feedback here or in the bug report...
>
> Thanks,
> Paulo JF Silva
Previous Topic:VE Exception with BasicAllocationProcesser class
Next Topic:Using VE to edit WizardPages et al
Goto Forum:
  


Current Time: Mon Jun 23 09:51:54 EDT 2025

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

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

Back to the top