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 123490 - My Documents folder read incorrectly
Summary: My Documents folder read incorrectly
Status: RESOLVED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Web Opener (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 16:11 UTC by lfabbri
Modified: 2008-01-04 15:00 UTC (History)
0 users

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 lfabbri 2007-12-05 16:11:53 UTC
Windows can be set up so that the "My Documents" folder can be located anywhere in the file system (such as on a disk
other than the system boot disk). I believe that the setting is stored in the registry in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal.

Netbeans disregards that setting and always points to the C:\Documents and Settings\[user]\My Documents folder.
Comment 1 Milan Kubec 2007-12-11 10:20:03 UTC
NetBeans do not read registry, folder location is read via java call:

FileSystemView.getFileSystemView().getDefaultDirectory()

If you think it should be implemented differently, please file issue against JDK. Thanks