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 99710 - user loses typed diagram name after message about incorrect symbols
Summary: user loses typed diagram name after message about incorrect symbols
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-02 17:23 UTC by Andrew Korostelev
Modified: 2009-05-25 21:06 UTC (History)
0 users

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 Andrew Korostelev 2007-04-02 17:23:43 UTC
If user renames diagram and has used incorrect symbols, information message
dialog will appear.
Already typed name will be loosed.
And user will have to type it again.

steps:
- try to rename existing diagram using 'rename' commant from context menu.
- type new name with '&' sign.
Information message will appear.
'OK' will close 'Information' dialog. But renaming dialog will not be opened again.

The only place where it works as expected is New diagram creation dialog.
User gets information message with 'Finish' button disabling.
But it is possible to edit typed name.
Comment 1 Andrew Korostelev 2007-04-02 17:28:27 UTC
The same for renaming in tree with 'F2' key.

And in properties (It is the only place where popup dialog may be expected. At
least if it is not possible to set property value back to edit mode with typed
new name). 
Comment 2 Andrew Korostelev 2007-04-02 17:34:06 UTC
see also issue 99713 - diagram name typed in save as is loosed after message
about incorrect symbols
Comment 3 Yang Su 2007-06-26 20:03:58 UTC
Sorry, I really don't see it as an issue at all. It's a common behavior on other applications, look at Windows folder
rename. This should be acceptable for simple action that does not require any other data input.
Comment 4 Trey Spiva 2007-07-10 16:28:13 UTC
This issue is an issue about with the rename dialog that appears when using the rename context menu.   The OK button should not be enabled if the name is 
not a valid name.
Comment 5 Yang Su 2007-07-12 20:19:36 UTC
same as issue 99713, minor usability issue, according to guideline
http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html, it should be
p4. 

The fix would be to implement custom dialog to take input name.