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 45993 - "Imports were fixed." dialog annoying
Summary: "Imports were fixed." dialog annoying
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 46110 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-09 21:50 UTC by Jesse Glick
Modified: 2007-11-05 13:42 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 Jesse Glick 2004-07-09 21:50:23 UTC
I really like the new Fix Imports action and use
it constantly. However having to close the dialog
"Imports were fixed." each time is a bit annoying.
I assume that they were fixed because I just asked
to fix them; I only want to have to do something
additional if something went wrong. I don't expect
after pressing Ctrl-V to have to close a dialog
that said "Text was pasted", do I?

Suggest that this dialog be removed and the
message be sent to the status bar instead. (Status
bar of the editor? Or the IDE? Note that the
editor's status bar can be hidden.)
Comment 1 Jesse Glick 2004-07-09 21:51:11 UTC
I know Trung was complaining w.r.t. this dialog that it could not be
closed from the keyboard. That is not true for me on 1.5.0 b57 + GTK;
either Space or Enter closes it.
Comment 2 Jan Becicka 2004-07-14 06:28:00 UTC
Dane, please take a look at it.
Comment 3 Jan Becicka 2004-07-14 12:31:27 UTC
*** Issue 46110 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Hurka 2004-07-16 14:41:24 UTC
Fixed in trunk. 
OK dialog was removed and the message is sent to the status bar.

Checking in JavaFixAllImports.java;
/cvs/editor/src/org/netbeans/modules/editor/java/JavaFixAllImports.java,v  <--  
JavaFixAllImports.java
new revision: 1.9; previous revision: 1.8
done
Comment 5 Roman Strobl 2005-01-07 16:23:25 UTC
Verified in 200501061900.