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 121219 - Can drop a component on some expanded subdirectories
Summary: Can drop a component on some expanded subdirectories
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Joelle Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-05 19:46 UTC by _ krystyna
Modified: 2007-11-06 22:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2007-11-05 19:46:49 UTC
NetBeans IDE Dev (Build 200711050000)
XP
JDK1.6.0_03

Can create a VW project and drag a component over to project node and am correctly
prevented from dropping the component on the top level project directory and most
of the subdirectories except for: 

Web Pages
Source Packages
Test Packages

There is no context menu to remove these unneeded components. The only workaround
is to from top Edit menu -> Delete.

Should be prevented from dropping on those subdirectories.
Comment 1 Tomas Mysik 2007-11-06 09:43:46 UTC
Reproduced even in a Web project (without VW).
Comment 2 Tomas Mysik 2007-11-06 12:20:18 UTC
Lowering priority to P4, I don't think that this is a 'real' bug (incorrect functionality etc.)
Comment 3 Tomas Mysik 2007-11-06 13:53:55 UTC
After the discussion with Standa reassigning (I'm not sure about correct component and subcomponent). Thanks.
Comment 4 Stanislav Aubrecht 2007-11-06 14:40:36 UTC
the items in web designer palette are regular xml files so naturally folders in projects view will accept drag and drop
of such files.

if you insist on fixing this then please reassign to visual web. then can implement their own palette nodes that won't
have fileobjects/node transfer flavors in their transferables.
Comment 5 _ krystyna 2007-11-06 22:33:02 UTC
Can we do something to fix this in the future?
I think this is a bug because the drop can happen inadvertently.