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.
Summary: | custom JFileChooser shown for action Tools->Diff is unintuitive | ||
---|---|---|---|
Product: | utilities | Reporter: | David Konecny <dkonecny> |
Component: | Diff | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | blocker | CC: | jrojcek |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | diff NewClass1 to NewServlet or NewClass?? |
Description
David Konecny
2008-08-13 08:22:30 UTC
Created attachment 67211 [details]
diff NewClass1 to NewServlet or NewClass??
I have no idea how to make it more intuitive, HIE? In terms of feature matrix or coverage this could be an "enhancement"; in terms of UI quality or usability this is defect. You cannot customize JFileChooser by adding an unrelated file selection concept to it. Purpose of filechooser accessory is to provide an extra information on a selected file - eg. preview of a selected image; question whether selected project folder should be opened with subprojects; decision how the selected file should be referenced; etc. I also think this is a defect. I would suggest to call this action "Diff Two Files...", so that it's not confused with the versioning "Diff" action. I would suggest to use UI similar to David's: ---- Diff Two Files - title --- File A: |_MyJavaFile.java___________________v_| [ Browse... ] File B: |___________________________________v_| [ Browse... ] [[ Diff ]] [ Cancel ] --- Where both fields are editable combo boxes. The popup of each combo could offer our best guess which files the user wants to diff, e.g. files open in editor, some recent files, or something similar. *** Issue 145448 has been marked as a duplicate of this issue. *** *** Issue 153911 has been marked as a duplicate of this issue. *** |