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 269524

Summary: New File Type dialog doesn't update cached icon size
Product: ide Reporter: djhallx <djhallx>
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description djhallx 2017-01-10 16:59:05 UTC
When using the "New File Type" dialog for NetBeans plugin development, on the final step, "Name, Icon and Location", if you specify an icon which is not 16x16 the dialog displays an error message. If you then fix the icon so that it is 16x16, the "New File Type" dialog fails to recognize the new size of the icon. 

The size of the user-specified icon file is being cached and the cache is not being refreshed when the user selects the same icon on a second attempt.