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 195719

Summary: Renaming folder shortcuts using Open Project dialog box drops lnk extension
Product: platform Reporter: ffrreeaakk <ffrreeaakk>
Component: Directory ChooserAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: jglick
Priority: P4 Keywords: SIMPLEFIX
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description ffrreeaakk 2011-02-20 11:08:56 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201011082200)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_23
Runtime = Java HotSpot(TM) Client VM 19.0-b09
 
Steps to reproduce:
0. Create anywhere a shortcut to any folder
1. launch Netbeans
2. press Open Project button (or CTRL+SHIFT+O)
3. navigate to place where you have this shortcut
4. select (click once) this shortcut
5. press F2
6. change name and confirm by pressing Enter or click anywhere
7. anme is changed but shortcut is broken due to dropped LNK extension, can be repaired by manually adding it
Comment 1 Jaroslav Tulach 2011-07-29 12:56:03 UTC
Probably directory chooser problem, but CCing Jesse to check if it is not something in general project ui.
Comment 2 Jesse Glick 2011-07-29 15:41:44 UTC
(In reply to comment #1)
> CCing Jesse to check if it is not something in general project ui.

I doubt it; projectui adds an accessory panel but uses the basic filechooser unmodified. May even be a bug in Swing (some FileChooserUI impl).