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: | Can not add disk root to Favorites on Windows | ||
---|---|---|---|
Product: | platform | Reporter: | Petr Jiricka <pjiricka> |
Component: | Favorites | Assignee: | mslama <mslama> |
Status: | CLOSED WORKSFORME | ||
Severity: | blocker | CC: | jrojcek, mslama, rmatous |
Priority: | P4 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://ui.netbeans.org/nonav/docs/ui/favorites/favorites-ui-spec.html | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 45810 | ||
Bug Blocks: |
Description
Petr Jiricka
2004-06-29 17:03:35 UTC
Standard JFileChooser is used. You can write "/" to "File Name" text box. But "C:\" does not work now because DataShadow does not support it. (It tries to create shadow file "C:.shadow" but it is invalid. Anyway Favorites is just to avoid creating of virtual disk like "Z:" to eg. "C:\data\data\data". You can directly add "C:\data\data\data". I do not think it is really important to support adding disks to Favorites. Discuss with Jano and update spec if this is really necessary. Anyway I file separate issue to handle invalid states when user writes invalid input to "File Name" field. Minority problem from my point of view. Frankly I welcome this lack of behaviour.(I pushed to get rid of disk roots). Workaround: If Z: is mapped into c:\myWork\projects then easily add c:\myWork\projects instead of Z:. Not defined in UI spec. and has problems in technical background. I suggest WONTFIX (or future milestone and priority P4). > Workaround:
> If Z: is mapped into c:\myWork\projects then easily add
> c:\myWork\projects instead of Z:.
This is not an option if Z: is a network drive.
I am ok with P4 (downgrading), but not with WONTFIX.
If you need access \\mycompany.com\shared\projects\myide then don't map Z:==\\mycompany.com\shared\projects\myide\ but Z:==\\mycompany.com\shared\projects\ and then add to favourities Z:\myide\. So, there is option even for net drives but maybe awkward a little. It might not work due to access rights. I agree there are various workarounds and and this use case may not be too frequent, but my point is still that this is a bug. From user point of view it should be possible. It probably is a rare case, though. Is there a special spec needed for this other than saying that the filechooser should allow the user to select also the disk roots? It works now as DataShadow supports it. But you must enter file name to "File Name" text box manually eg:"C:\" or "e:\". Just clicking on disk in list box does not work as it works for regular folders/files. closed |