John Doe created NETBEANS-6161:
----------------------------------

             Summary: "Import project" function has confusing warnings and 
exerts dangerous behavior
                 Key: NETBEANS-6161
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6161
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 12.4
         Environment: OS: {{Linux 5.14.0-3-amd64 #1 SMP Debian 5.14.12-1 
(2021-10-14) x86_64 GNU/Linux}}

Distro: Debian unstable
            Reporter: John Doe


The function _Import Project_ has some problems that I would like to address:
h2. Confusing warnings

The import dialog isn't clear about target folder, that means, whether the 
project in the ZIP file will be extracted to the target folder or that folder 
will become folder of the project. The field is not editable and even when an 
empty folder is selected, it stills prompt the user to _replace_ the selected 
folder or not. This leads to the problem below…
h2. NetBeans nuking an entire folder *and* a then opened project

I faced a problem just yesterday: When I imported a project into an existing 
folder, NB not only nuked that folder *but also a currently opened project*. 
The project just vanished into thin air even on the hard disk and there was no 
way to get it back. I didn't even click on anything, it just vanished after 
closing the _Import project_ dialog.

I suggest that the warning should make it clear that the target folder will be 
_*deleted*_, not _replaced_ if it already exists. Even better, the function 
should unpack the ZIP file into a subfolder with name the same as project name.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to