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.
When I select 'Rename' via right-mouse-button menu on an item in favorites window and change the name, nothing happens.
This issue was reported in NetCAT 4.1 program.
You are right, it doesn't work when you add the file to the favorites and try to rename the same file as a link in Favorites...
Dupl. with issue 60528: comment: ------------------------------ When i perform Rename on some node in favorites, only its property Name is changed, but in favorites window i still see the old name. So in the name of node should be displayed its property Name (not Original name), otherwise action rename is useless.
*** Issue 60528 has been marked as a duplicate of this issue. ***
*** Issue 64887 has been marked as a duplicate of this issue. ***
Marek, do you plan to fix this for NB 5.0 ?
Too late for NB5.0, please reevaluate.
It is by design. I can change it. Change should not break anything else. Current impl takes node display name from original file not from DataShadow itself but Rename action renames DataShadow. I changed this to take name of DataShadow. The rest of label ie. path stays the same. Modified: /cvs/core/favorites/src/org/netbeans/modules/favorites/Favorites.java,v <-- Favorites.java new revision: 1.27; previous revision: 1.26
Lowering priority. Unfortunately it does not work correctly. I filed separate issue to handle problem. See #113859. It works correctly only on first rename. Second rename is not handled correctly.
As I understand right, it doesn't still work. ... so I reopen this issue!
This happens only when you rename Home link predefined in layer. If you create 'normal' favorites link renaming works fine even repeatedly.
Workaround is simple: Do not rename predefined link to Home in Favorites. Original problem is solved. New issue is filed so IMO this issue can be closed as fixed as Favorites link can be renamed now and only in one special case this has undesirable effect.
Works fine in NB 6.0 Beta 2.