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 108958 - Moving Favorites in its order has no success
Summary: Moving Favorites in its order has no success
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Favorites (show other bugs)
Version: 6.x
Hardware: PC All
: P4 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on: 47232 57704
Blocks: 161966
  Show dependency tree
 
Reported: 2007-07-05 16:59 UTC by ulfzibis
Modified: 2009-10-20 13:45 UTC (History)
1 user (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 ulfzibis 2007-07-05 16:59:53 UTC
Move a Favorites item by mouse to another position, and see, that nothing happens.
Comment 1 Peter Pis 2007-07-10 15:33:48 UTC
Reassigning to "core" for evaluation...
Comment 2 David Simonek 2007-07-10 17:04:12 UTC
Is it about Favorites window? Passing to Favorites...
Comment 3 mslama 2007-07-11 15:55:00 UTC
Do you mean Favorites component/window? By default there is restriction that editor component cannot be moved to view
area (around editor area) and view component (like Projects, Files) cannot be moved to editor area. This can be switched
off by command line option.
Comment 4 mslama 2007-07-11 15:56:45 UTC
Or do you mean ordering items in Favorites? Yes it is known issue as Favorites items does not support ordering.
Comment 5 ulfzibis 2007-07-11 17:01:42 UTC
Yes, I mean ordering.

If you drag an item, and drop it at another position, nothing happens.

Dragging should work (better) or should be disabled!
Comment 6 rstaff 2007-08-27 15:30:57 UTC
Isn't this a duplicate of issue 47232?
Comment 7 ulfzibis 2007-08-27 18:36:28 UTC
Not really!

This issue is about the possible dragging and dropping of an item in the Favorites window, and the result, that nothing
happens. This is a real DEFECT, but issues 47232 and 57704 are only an ENHANCEMENT.
Comment 8 mslama 2007-09-11 10:47:50 UTC
Fixed. Index interface was implemented on Favorites root node. It is now possible to reorder Favorite nodes using
Drag&Drop. Orignal DataFolder index does not work due to encapsulating Favorite nodes in FilterNode subclass.
Node.equals fails in such case.

Modified:
/cvs/core/favorites/src/org/netbeans/modules/favorites/Favorites.java
new revision: 1.28; previous revision: 1.27

/cvs/core/favorites/test/unit/src/org/netbeans/modules/favorites/IndexTest.java
initial revision: 1.1
Comment 9 ulfzibis 2007-10-26 02:03:40 UTC
Works fine in NB 6.0 Beta 2.
Comment 10 ulfzibis 2009-10-20 13:31:50 UTC
Move an item directly to the before-first position is not possible in 6.8.
Comment 11 Jiri Skrivanek 2009-10-20 13:45:43 UTC
It is not possible in any tree. Just move an item to the second position and then first item to the second position.
Please, do not reopen this issue. Original problem stated in the summary field was fixed. If you feel your request is
not satisfied, file a new issue against platform/explorer.