Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331584

Summary: Gridbaglayoud not works correctly
Product: z_Archived Reporter: Diego Celso <dcelso>
Component: VEAssignee: VE Bugzilla inbox <ve-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
a image with the described error none

Description Diego Celso CLA 2010-12-01 13:59:03 EST
Created attachment 184285 [details]
a image with the described error

I have installer eclipse-rcp-helios-SR1-linux-gtk in a debian distribution, I only installe viual editor plugin 1.5 from eclipse update manager.
I have installed in the system java-6-openjdk and java-6-sun and change between both using update-alternatives --config java.

When Im' using java-sun, if I try to use "edit with visual editor" the viewer crash saying "java null pointer exception".

When I'm using java-openjdk, i I try to use "edit with visual editor" it works well but If I try to dragandock a component to a container with gridbaglayout, the system does not put the gridx and gridy properties asumming that alwais are "-1" then all componentes of the gridbag are in the same row.
If I try to change gridx and gridy in the source code view, the design view does not show correclty the changes but I try to run as java applications, the result is good.

Visual editor does not show the gridbaglayour properties in the properties view of his component.