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 161420 - Improve handling of overlapping components
Summary: Improve handling of overlapping components
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-29 22:14 UTC by _ gtzabari
Modified: 2009-03-29 22:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2009-03-29 22:14:57 UTC
The current form editor handling of z-order is very confusing. Clicking anywhere always selects the inner-most component
even if another component has already been selected. I am expecting Netbeans to respect the component which is already
selected, as follows:

1) Select a container
2) Press the left mouse button on a component inside the container and begin dragging
3) Currently Netbeans will deselect the container and begin dragging the component, instead I want it to drag the container

Alternatively,

1) Place a large component over [0, 0, 100, 100]
2) Place small components on top of it (for example, radio buttons over an image background)
3) Try to click and drag the parent component versus the small components. Netbeans makes it difficult or impossible to
select one versus the other and drag it.

When components are very close to one another or overlap we should be able to select them from the Inspector list, then
drag them in the graphical display. Netbeans should know that we're trying to drag the component which is already
selected if our mouse clicks land inside the bounds of the selected component.

I've set the priority to P2 because I don't think there is a reasonable workaround for this issue.