SWT list

bridged with qdn.public.qnxrtp.photon
Post Reply
Rennie Allen

SWT list

Post by Rennie Allen » Mon Sep 22, 2003 8:06 pm

This is probably a known issue.

There is a bug in the SWT List for Photon when being used in a FormLayout. If the FormData is constructed with a hint for the
initial size, the list takes on the size, but does not display the vertical scrollbar (assuming that there are more elements than can
be displayed in the specified initial size).

On another note, swt-designer looks cool, but they don't support QNX (what is up with plugin vendors who can't even support the
official eclipse OSs ? - another example of how java is highly overrated for portability in the real world).

PS: This is with the stock install from 6.2.1.

Chris McKillop

Re: SWT list

Post by Chris McKillop » Mon Sep 22, 2003 9:45 pm

Rennie Allen <rallen@csical.com> wrote:
This is probably a known issue.

There is a bug in the SWT List for Photon when being used in a FormLayout. If the FormData is constructed with a hint for the
initial size, the list takes on the size, but does not display the vertical scrollbar (assuming that there are more elements than can
be displayed in the specified initial size).
Yep. You can see this in a few places actually. And it doesn't just happen
with FormLayout, it happens with all of them. We have an internal bug report
on this issue, do you want to open an eclipse.org bugzilla one? Feel free.
On another note, swt-designer looks cool, but they don't support QNX (what is up with plugin vendors who can't even support the
official eclipse OSs ? - another example of how java is highly overrated for portability in the real world).
Actually, I have it running just fine. It does require an extra jar that
isn't provided with eclipse (or even with our current commerical offering).
If you get IBM's WSDD for Windows and get the tomcatsupport.jar file from
that install you should be able to do this:

eclipse -vmargs -Dswt.system.font=TextFont08 \
-Xbootclasspath/p:/path/to/tomcatsupport.jar

And swt-designer will run. However, it relies on drag-n-drop that isn't
yet functional in the Photon SWT. Looks like a great test case to iron
out and find more bugs actually. Thanks for the pointer. ;)

chris

--
Chris McKillop <cdm@qnx.com> "The faster I go, the behinder I get."
Software Engineer, QSSL -- Lewis Carroll --
http://qnx.wox.org/

Chris McKillop

Re: SWT list

Post by Chris McKillop » Mon Sep 22, 2003 9:57 pm

Actually, I have it running just fine. It does require an extra jar that
isn't provided with eclipse (or even with our current commerical offering).
If you get IBM's WSDD for Windows and get the tomcatsupport.jar file from
that install you should be able to do this:
I think that "fine" is now bad wording. :) Looks like it is tossing a
NullPointerException internally and not recovering from it. I have sent
them an email to see if it can't be work out.

chris

--
Chris McKillop <cdm@qnx.com> "The faster I go, the behinder I get."
Software Engineer, QSSL -- Lewis Carroll --
http://qnx.wox.org/

Rennie Allen

Re: SWT list

Post by Rennie Allen » Mon Sep 22, 2003 11:18 pm

Chris McKillop wrote:
Actually, I have it running just fine. It does require an extra jar that
isn't provided with eclipse (or even with our current commerical offering).
If you get IBM's WSDD for Windows and get the tomcatsupport.jar file from
that install you should be able to do this:

I think that "fine" is now bad wording. :) Looks like it is tossing a
NullPointerException internally and not recovering from it. I have sent
them an email to see if it can't be work out.
Cool. I think they want $199 for the plugin. I'd gladly shoot that much their way if it would run on all the eclipse platforms (QNX
specifically of course :)

Rennie Allen

Re: SWT list

Post by Rennie Allen » Tue Sep 23, 2003 2:35 pm

Chris McKillop wrote:
Yep. You can see this in a few places actually. And it doesn't just happen
with FormLayout, it happens with all of them. We have an internal bug report
on this issue, do you want to open an eclipse.org bugzilla one? Feel free.
And swt-designer will run. However, it relies on drag-n-drop that isn't
yet functional in the Photon SWT. Looks like a great test case to iron
out and find more bugs actually. Thanks for the pointer. ;)
Is there an ETA for this bug fix, and support for D&D in photon-swt ?

I can live with the bug (since resizing fixes it), but D&D support seems pretty basic.

Rennie

Chris McKillop

Re: SWT list

Post by Chris McKillop » Tue Sep 23, 2003 8:52 pm

Is there an ETA for this bug fix, and support for D&D in photon-swt ?

I can live with the bug (since resizing fixes it), but D&D support seems pretty basic.
Actually, it doesn't use DND (I tried it Windows). But this null-pointer
issue is probably the cause of the failure to layout widgets. I am in contact
with one of thier developers and I am gonna get him setup with 6.2.1 and
Eclipse so he can test it out himself. Funny, he actually has 6.1 installed
but it doesn't run Eclipse very well. ;)

chris

--
Chris McKillop <cdm@qnx.com> "The faster I go, the behinder I get."
Software Engineer, QSSL -- Lewis Carroll --
http://qnx.wox.org/

Rennie Allen

Re: SWT list

Post by Rennie Allen » Tue Sep 23, 2003 9:26 pm

Chris McKillop wrote:

Actually, it doesn't use DND (I tried it Windows). But this null-pointer
issue is probably the cause of the failure to layout widgets. I am in contact
with one of thier developers and I am gonna get him setup with 6.2.1 and
Eclipse so he can test it out himself. Funny, he actually has 6.1 installed
but it doesn't run Eclipse very well. ;)
Actually, my concern with D&D has nothing to do with swt-designer, but with applications I would like to write to the SWT.

I have seen that you have a bug in bugzilla for D&D, so I am relatively confident you are working on it (you are... right? ;-)

I have high hopes for the SWT on QNX, as much as I like PhAB, a real O-O language is superior for GUIs.

Post Reply

Return to “qdn.public.qnxrtp.photon”