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 19004 - zIn New from template wizard, "Add to supported extensions" is not updated properly
Summary: zIn New from template wizard, "Add to supported extensions" is not updated pr...
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 21581 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-03 14:45 UTC by Jan Lahoda
Modified: 2004-08-13 12:11 UTC (History)
2 users (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 Jan Lahoda 2002-01-03 14:45:19 UTC
On any folder do:
(right click)->New->Other->Text File->(some name)->Next
Now, try to change the extension in the input line. The state of checkbox "Add
to supported extensions" is not changed until you go away from the input line,
and that is (IMO) too late, as most people will change the extension and click
"Finish".
Seen on 200201030331.
Comment 1 Peter Zavadsky 2002-05-02 11:39:41 UTC
Eval: 
As I remember it was made that way, the check box is updated when you
set the extension and press enter or if the input line loses focus.
The way the normal textfield works (i.e. informs about a change).
 I guess if you type the extension in, press enter, the check box
should be updated. Chcek it out and considere closing of the issue.

If you want to update the checkbox after each type, it should be
implemented, it's not now for sure.
Comment 2 Miloslav Metelka 2002-06-17 16:25:52 UTC
*** Issue 21581 has been marked as a duplicate of this issue. ***
Comment 3 Miloslav Metelka 2002-06-17 16:27:02 UTC
IMHO we could listen by DocumentListener on the document of the text
field.
Comment 4 Marek Grummich 2002-07-22 11:38:34 UTC
Set target milestone to TBD
Comment 5 Jesse Glick 2002-11-30 18:02:59 UTC
I noticed this too - I understand Peter's argument, but from a user
perspective it is a bug.
Comment 6 Miloslav Metelka 2003-03-14 17:32:34 UTC
Assigning target milestone 4.0.

IMHO we need some more UI engineering for this issue. It's true that
the dialog will work if the user presses Enter (or Tab) after typing
in her new extension. However IMO this pressing of the Enter is not
intuitive for the user as she will assume (I did too) that pressing
Enter will proceed with the "Finish" and dialog will go away.

I personally do not understand why it's necessary to make the "Add to
supported extensions" checkbox grayed for the known file extensions.
If we would make it enabled and the user would check it then if he has
chosen the known file type we would simply ignore it. We could get rid
of the problem this way. Gabo is this acceptable for HIE?
Comment 7 Gabriel Tichy 2003-03-31 17:05:24 UTC
I agree, checkbox can be enabled all the time. Current 
state violates the default button (Finish) behavior.




By the way, default focus should be in the combo - it isn't 
now.


Comment 8 Miloslav Metelka 2004-05-07 14:55:48 UTC
Was not done as part of 3.6. Assigning to promoD.
Comment 9 psuk 2004-06-09 09:05:45 UTC
Closing as WONTFIX. The functionality of text module was replaced by new build
system and changes in the core and text module was removed from dev build.