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 218687 - Unexpected warning about renaming
Summary: Unexpected warning about renaming
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 11:38 UTC by mienamoo
Modified: 2012-10-08 07:43 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 mienamoo 2012-09-20 11:38:15 UTC
NetBeans build 201209190001
JDK 7u5 64-bit

Background: I am viewing my projects in reduced tree view.

I wanted to copy the name of a folder/package in my project. So I started a rename in projects view, selected the name and copied it. (That folder is a terminal package.) Then, without completing the rename operation, I right-clicked on a nonterminal package (where I intended to create a package with the same name), and I got this message:

Renaming nonterminal package components is not supported in reduced tree mode when subpackages are present.
Comment 1 Milos Kleint 2012-10-02 11:07:36 UTC
for some reason the described steps trigger a node rename (which should not happen IMHO).
via org.openide.explorer.view.ViewUtils.nodeRename
Comment 2 Stanislav Aubrecht 2012-10-03 09:48:08 UTC
core-main db9d78526814
Comment 3 Quality Engineering 2012-10-07 02:03:46 UTC
Integrated into 'main-golden', will be available in build *201210070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/db9d78526814
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #218687 - cancel tree editing before showing popup menu
Comment 4 mienamoo 2012-10-08 07:43:29 UTC
Verified with build 201210070002.