This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 65532 - [50cat] Screen designer is not opened for the selected component
Summary: [50cat] Screen designer is not opened for the selected component
Status: RESOLVED WONTFIX
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Brehovsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 15:13 UTC by malakim
Modified: 2006-10-23 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Affected project (167.45 KB, application/x-compressed)
2005-10-08 20:22 UTC, malakim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description malakim 2005-09-30 15:13:44 UTC
[ BUILD # : 200509261930 ]
[ JDK VERSION : 1.5.0_04 ]

When opened, the Screen Designer does not show the component currently selected in the Flow Designer. Instead, it seems to show the first component added to the Flow Designer. To edit the desired component, it has to be selected from the "Edited Screen" drop-down. This is not intuitive, and might cause the user to edit the wrong component.
Comment 1 Martin Brehovsky 2005-10-07 16:42:09 UTC
I cannot reproduce this bug in 5.0 builds. Furthermore this bug was in 4.1 
version of designer, but it was fixed for 5.0 almost 3 months ago and I 
haven't notice regression since that.

Since I'm note able to reproduce it, I'm closing it as worksforme - in the 
case you disagree, please attach your project in which this problem is 
happening.
Comment 2 malakim 2005-10-08 20:21:59 UTC
This still happens for me in 5.0 Beta. I've attached the project where I
experience the problem. The procedure to reproduce:
* Select a component in the Flow Layout (so that it gets a blue background)
* Click the Screen Design button. The selected component is not opened.

If I double click a component the Screen Designer for that component is opened.
Comment 3 malakim 2005-10-08 20:22:44 UTC
Created attachment 25700 [details]
Affected project
Comment 4 Martin Brehovsky 2005-10-10 09:49:12 UTC
Selection in flow editor does not affect the component being displayed in screen
editor, thus the behavior you describe is not supported and is not a bug. We
only support double-clicking on a screen in flow - this should automatically
open the screen editor with the double-clicked component displayed in it.

In the case you would like to see the suggested behavior to be implemented,
please file an RFE, but please think twice about all cases how the system should
work when several components in flow is selected, non-screen component is
selected, none component is selected, etc ...
Comment 5 malakim 2005-10-10 16:14:19 UTC
I've filed RFE 66392. Please take a look at it, and let me know if there are more
special cases that I haven't considered.