ScrolledComposite cause the visual editor to freez

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

ScrolledComposite cause the visual editor to freez

Postby allawy » Wed Dec 15, 2004 1:47 pm

Hi Eric;

long time since I posted anything here, I was so busy doing web applications :)...

Anyway, I installed the latest SWT builder (8th Dec. version) on Eclipse 3.1 M3, I had to do a form that scroll cause it has so many fields, when I just create an ApplicationWindow, and add a ScrolledComposite to it, the Visual editor freez, even if I close eclipse or add it by code, it just freez with ScrolledComposite, I tested that on my both Intel and AMD machines with windows XP.

I would appreciate if this is fixed, and I would appreciate if I can morph the main composite to scrolled composite just like I can morph it to a group.

Thanks allot!
allawy
 
Posts: 43
Joined: Wed Mar 10, 2004 7:28 pm

Re: ScrolledComposite cause the visual editor to freez

Postby Eric Clayberg » Wed Dec 15, 2004 2:40 pm

allawy wrote:Anyway, I installed the latest SWT builder (8th Dec. version) on Eclipse 3.1 M3, I had to do a form that scroll cause it has so many fields, when I just create an ApplicationWindow, and add a ScrolledComposite to it, the Visual editor freez, even if I close eclipse or add it by code, it just freez with ScrolledComposite, I tested that on my both Intel and AMD machines with windows XP.

Any exceptions in your Eclipse ".log" file?

Can you send us a test case?

Try this new build and let me know if it makes any difference.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Postby allawy » Thu Dec 16, 2004 1:48 am

Eric;

Thanks for the fast reply...

The bug is still there, the code that cause it

Code: Select all
protected Control createContents(Composite parent) {
        Composite container = new Composite(parent, SWT.NONE);
        container.setLayout(new GridLayout());
        //_
        scrolledComposite = new ScrolledComposite(container, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
        scrolledComposite.setLayout(new GridLayout());
       
        return container;
    }


there is a "Designer internal error: null" when I switch to the design view...

I'm using

XP
eclipse 3.1 M3
j2sdk1.4.2_06
Designer_v3.0.0_for_Eclipse3.1 (files show that there were build on 13th Dec)

I downloaded it from the same link you provided switching 3.0 to 3.1
allawy
 
Posts: 43
Joined: Wed Mar 10, 2004 7:28 pm

Postby Eric Clayberg » Thu Dec 16, 2004 5:38 am

allawy wrote:I'm using
XP
eclipse 3.1 M3

Yes. This appears to be a serious problem under Eclipse 3.1. Interestingly enough, it works fine under Eclipse 3.0. We are investigating.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest