Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359167 - Widgets created by new expression and setting blocks can neither be listed in outline nor be changed properties
Summary: Widgets created by new expression and setting blocks can neither be listed in...
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Huo Zhen Zhong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 22:48 EDT by fahua jin CLA
Modified: 2017-02-23 14:19 EST (History)
3 users (show)

See Also:


Attachments
The sample EGL file. (831 bytes, application/octet-stream)
2011-09-27 22:51 EDT, fahua jin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description fahua jin CLA 2011-09-27 22:48:55 EDT
Build Identifier: 0.7.0.v201109192102

1) Open the attached H8.egl with VE.
2) In the outline view, the Buttons cannot be selected and also cannot change the properties.

Reproducible: Always
Comment 1 fahua jin CLA 2011-09-27 22:51:39 EDT
Created attachment 204138 [details]
The sample EGL file.
Comment 2 fahua jin CLA 2011-09-27 22:52:33 EDT
Brian, could you please advise on the severity of this defect?
Comment 3 Brian Svihovec CLA 2011-09-30 22:07:07 EDT
I am marking this as major for .7.  

The outline view is used to move widgets, and not showing a complete outline view looks bad.
Comment 4 Huo Zhen Zhong CLA 2011-10-08 04:33:25 EDT
blocked by 359165
Comment 5 Brian Svihovec CLA 2011-10-10 13:58:00 EDT
After reviewing the source for H8.egl in more detail, I am changing the severity of this defect to 'normal' for .7.  As I mentioned in 359165, we should not have any utilities that generate the following code:

Button2 Button = new Button;

or 

Button3 Button = new Button{text = "New button with setting block"};

The code that should be used is:

Button2 Button;

and 

Button3 Button{text = "New button with setting block"};

which work correctly in the outline view.

I would still like to see this fixed in .7, but I don't think it should be prioritized over other failing scenarios that are more likely to be encountered.
Comment 6 Brian Svihovec CLA 2011-12-16 11:41:41 EST
Dynamically created widgets (with a New expression) should not be editable in the VE.

Please reopen this defect if you do not agree.