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: | USER TEST: "Which Package" dialog that appears when using File > Open to view a simple text file causes confusion | ||
---|---|---|---|
Product: | utilities | Reporter: | jhoffman <jhoffman> |
Component: | Code | Assignee: | issues@www <issues> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | cledantec, druiz, mvenkatraman |
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jhoffman
2000-11-08 23:25:55 UTC
in order to do the first solution we need to create our own file chooser. this is work that is just now getting under way but keep in mind that the limitation within the dialog are not currently under our direct control. additionally it isn't always the case that viewing a txt file is so simple. if the package is selected incorrectly here then the user must create an additional mount for the files that need editing. since this is all tied to the internal classpath there is the potential that things will break. another option is that for txt files and other exceptions an entry in filesystems is not needed (or rather, directory that the file lives in is selected by default and it's properties make it hidden and not part of any classpath). the problem with this is that once a user bcms accustomed to using the explorer for file manipulation (which is where it should happen, not through open file) they won't know where to look... the above problem could be solved via projects by dumping txt files and what not into some kind of scratch area in the project. but now i'm quickly falling down the tree of hypothetical solutions so i'd better stop. Reassigned from txt to core. Good grief, if only I knew the problems I would cause when I made OpenFileAction! :-) Since it seems to be pretty universally confusing and misleading, why not just delete the thing (not terribly useful to begin with, only ever intended as a shortcut for advanced users) and let some future projects module handle it correctly? Fixed in [main-trunk]. Available in next build. If opening .txt file which is not mounted already. Is mounted as with default package silently (without showing package dialog) and opened (if text module is enabled). Note: From internal(code) point of view is needed more generic solution, e.g. to detection of supported extensions, detections of textual extesions and acting appropriatelly. Additional. [main-trunk]Next build available. I made only for java files asking the user for mount point. This should be the more appropriate "long-term" solution. Verified in dev 200304220100 and release33. Resolved for 3.4.x or earlier, no new info since then -> closing. |