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 162114 - [67cat] Wrong project name in app title
Summary: [67cat] Wrong project name in app title
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 12:34 UTC by ulfzibis
Modified: 2010-05-13 14:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Wrong title (30.21 KB, image/jpeg)
2009-04-07 12:35 UTC, ulfzibis
Details
project.xml (3.57 KB, text/xml)
2009-04-07 13:06 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2009-04-07 12:34:09 UTC
[ BUILD # : 6.7 M3 ]
[ JDK VERSION : 1.6.* ]

See attachment...
- Main project is "Charset", but title is "JConsole".

I first played around with "JConsole", and later externally made a
copy and renamed it to "Charset".
Comment 1 ulfzibis 2009-04-07 12:35:13 UTC
Created attachment 79617 [details]
Wrong title
Comment 2 Milos Kleint 2009-04-07 12:44:03 UTC
I don't follow your steps exactly..
 You had a project named JConsole, and externally changed the pom.xml and set "Charset" as name. When going back to the
IDE, the Main window keeps the the old name. If you select a different project and go back, it shall be using the new
name. The title updates when selection changes in the IDE.

While it's technically wrong, it's a rather minor issue in a corner case. I don't think it's necessary to fix.
Attempting to listen on changes of the project name will just make the book keeping more complex.

Please reopen if I misunderstood the issue.
Comment 3 ulfzibis 2009-04-07 13:03:47 UTC
I don't have any pom.xml, but see my project.xml in attachment.

Click on any node in project "Charset" --> title is "Charset"
Click on editor tab "Charset.java"(contained in project "Charset") --> title is "JConsole"

Comment 4 ulfzibis 2009-04-07 13:06:36 UTC
Created attachment 79624 [details]
project.xml
Comment 5 Milos Kleint 2009-04-07 13:27:05 UTC
sorry for confusion, I wrongly assumed a maven based project. My comments still apply. 

Do you get the same behaviour after restart?

Also please describe how you performed the copy. Have you eg. wiped out the nbproject/private folder to get rid of any
absolute paths and settings private to the old location?

Comment 6 ulfzibis 2009-04-07 14:29:01 UTC
I have copied from OpenJDK7 b51 source bundle folder .\jdk\make\netbeans\jconsole\ and "adapted" all files to charset.

Restart didn't help. :-(
Yes, I also wiped out private folder some days ago, because I didn't any private setting and wondered where it came
from. But it always creates new, so now it's still existing.

See also:
http://www.netbeans.org/servlets/BrowseList?list=netcat&by=thread&from=943122

I agree: It's a minor bug. :-)
Comment 7 Marian Mirilovic 2009-07-17 10:33:30 UTC
requested information was added
Comment 8 Antonin Nebuzelsky 2010-03-29 14:11:02 UTC
Change of default owner.
Comment 9 Jesse Glick 2010-05-13 14:17:02 UTC
83c32e15b1b6 would have fixed any problems with freeform project rename while the IDE was still running. If a restart does not help, then it is likely your files are being loaded by the wrong project, perhaps because you have >1 project claiming the same files, which is a user error. Not clear exactly what you did.