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 257944

Summary: Second copy of image with same name will paste first one
Product: platform Reporter: monezz <monezz>
Component: ExplorerAssignee: Jan Peska <JPESKA>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description monezz 2016-02-11 12:50:10 UTC
When copying images from OS file manager to NetBeans file explorer, second copy of image with same file name will result in paste of first copied image.

Not sure if this occurs on files in general or only with images.

Steps to reproduce:

* in OS filemanager select an image with name x and size y1 copy
* in NetBeans in a resources folder paste the image
* in NetBeans rename the pasted image to another name
* in OS filemanager select an image with name x and size y2 and copy
* in NetBeans in the same resources folder, paste the image

EXPECTED:

* image in resources folder has name x and size y2

ACTUAL

* image in resources folder has name x and size y1


consecutive repeating will always result in image size with y1.